/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend Deca', sans-serif;
    background-color: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    padding: 0 16px;
    display: flex;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px; /* Ukuran disesuaikan agar lebih proporsional */
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.login-header h2 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
}

.login-header p {
    color: #6b7280;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #527BFF;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #527BFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.login-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.login-footer a {
    color: #527BFF;
    text-decoration: none;
}

.divider {
    margin: 0 10px;
    color: #e5e7eb;
}

/* Notifikasi Styling */
#notification {
    visibility: hidden;
    display: flex;
    align-items: center;
    min-width: 350px;
    background-color: #ff5252;
    color: #fff;
    border-radius: 12px;
    padding: 15px 25px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.notif-icon {
    width: 32px;
    height: 32px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.notif-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#notification.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}.alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 15px;
  border-left: 5px solid;
  animation: fadeIn 0.4s ease;
}
.alert i { font-size: 1.2rem; }
.alert.success { background: #e7f9ee; color: #207a43; border-color: #2ecc71; }
.alert.error { background: #ffe8e8; color: #d63031; border-color: #ff7675; }
.alert.warning { background: #fff6e5; color: #d9822b; border-color: #f1c40f; }
@keyframes fadeIn { from {opacity: 0; transform: translateY(-5px);} to {opacity: 1; transform: translateY(0);} }
