/* ===================================================
   login.css - TAMPILAN KHUSUS HALAMAN MASUK
   =================================================== */

.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #2c3e50; /* Warna dasar solid agar tidak tembus pandang */
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Pastikan di atas segalanya */
    padding: 20px;
    box-sizing: border-box;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.login-card h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
}

.login-sub {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 25px;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
}

.login-input:focus {
    border-color: #3498db;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #2980b9;
}

.login-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 15px;
    display: none; /* Muncul lewat JS */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}