/* --- Konfigurasi Warna Setema --- */
:root { 
    --primary: #1976d2; 
    --primary-dark: #1565c0;
    --bg: #f4f7fa; 
    --text-dark: #333;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%; /* Supaya responsif di HP */
    max-width: 400px;
    text-align: center;
}

.login-header { margin-bottom: 30px; }

.login-header h2 {
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 10px 0;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.input-wrapper { position: relative; }

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Style Input yang bersih */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Padding kiri besar untuk icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
    background: #fcfcfc;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
    background: #fff;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.btn-login:active { transform: translateY(0); }
.btn-login:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

#message {
    margin-top: 20px;
    font-size: 0.9rem;
    min-height: 1.2em;
}
.error-msg { color: #d32f2f; font-weight: 500; }
.success-msg { color: #2e7d32; font-weight: 600; }