* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
	font-size:21px;
	/* Tambahan agar font lebih halus */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f0f4f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Sticky */
.sticky-header {
    padding: 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
	font-weight: 600;
}

/* Tambahkan ke style-login.css */
.main-header .header-left {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.main-header .header-right {
    font-family: 'Segoe UI', Roboto, sans-serif;
    display: flex; 
    align-items: center; 
    gap: 20px; 
    color: #64748b; 
    font-size: 0.9rem;
}

.logo-header-img {
    height: 50px; /* Atur ukuran di sini */
    width: auto;  /* Menjaga proporsi agar tidak gepeng */
    display: block;
}

/* Main Content */
.login-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 380px;
}

form h2 { color: #1e293b; margin-bottom: 0.5rem; }
.subtitle { color: #64748b; margin-bottom: 1.5rem; font-size: 0.9rem; }

.input-group { margin-bottom: 1.2rem; text-align: left; }
.input-group label { font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 8px; display: block;}

input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus { border-color: #3b82f6; outline: none; background: #f8fafc; }

button {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover { background: #2563eb; transform: translateY(-2px); }

/* Footer Sticky */
.sticky-footer {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    background: white;
    border-top: 1px solid #f1f5f9;
}

/* Ikon mata untuk password */
.password-wrapper i {
    transition: color 0.3s;
}

.password-wrapper i:hover {
    color: #3b82f6 !important; /* Berubah jadi biru saat diarahkan kursor */
}

/* Pastikan input memberikan ruang agar teks tidak tertutup ikon mata */
#password {
    padding-right: 45px; 
}

/* Efek interaksi ikon mata */
#togglePassword:hover {
    color: #3b82f6 !important;
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

#loading-overlay {
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}

#loading-overlay img {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}