.btn-photo {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    transition: all 0.2s ease;
}

.btn-photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-photo i {
    font-size: 0.9rem;
}

.photo-cell {
    width: 120px;
    text-align: center;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Background dengan layer transparan + gambar */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../presensi/assets/img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.login-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.logo-header {
    text-align: center;
    padding: 30px 20px;
    background: #4e73df;
    color: white;
}

.logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.logo-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.logo-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.login-form {
    padding: 30px;
}

.login-form h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #4e73df;
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.25);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #4e73df;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #3a5bc7;
}

.login-footer {
    padding: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #eee;
}

/* Responsive design */
@media (max-width: 576px) {
    .login-container {
        padding: 15px;
    }
    
    .login-form {
        padding: 20px;
    }
    
    .logo-header {
        padding: 20px 15px;
    }
    
    .logo-header h1 {
        font-size: 1.5rem;
    }
}