/* ==========================================
   DATABASE FAJI - Modern Clean Login UI
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #1a5f3c, #0f9b0f);
}

/* Container */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Card */
.login-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 200, 83, 0.15);
    animation: fadeIn 0.7s ease;
    position: relative;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #00c853, #0f9b0f);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Logo */
.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 95px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

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

/* Input */
.form-group input {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    transition: 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus {
    outline: none;
    border-color: #00c853;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.15);
}

/* Toggle Eye Icon */
.toggle-password {
    position: absolute;
    right: 14px;
    top: 40px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
    transition: 0.2s;
}

.toggle-password:hover {
    color: #00c853;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00c853, #0f9b0f);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 200, 83, 0.35);
}

/* Alert */
.alert {
    background: #ffe5e5;
    color: #c62828;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    border-left: 4px solid #c62828;
}

/* Footer */
.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #777;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}