/* =====================
   GLOBAL
===================== */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #F9FAFB, #E5E7EB);
    font-family: 'Segoe UI', sans-serif;
}

/* =====================
   CARD
===================== */
.login-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 32px;
    animation: fadeSlide .4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    width: 100%;
}

/* =====================
   ANIMATION
===================== */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   LOGO & TEXT
===================== */
.login-logo {
    width: 140px;
    margin-bottom: 16px;
}

.text-muted {
    color: #6B7280 !important;
    letter-spacing: 1px;
}

/* =====================
   INPUT GROUP
===================== */
.login-input .input-group-text,
.login-input .form-control {
    height: 48px;
}

.login-input .input-group-text {
    width: 48px;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-input i {
    font-size: 1.1rem;
    color: #6B7280;
}

/* Fokus rapi */
.login-input .form-control:focus {
    border-color: #111827;
    box-shadow: none;
}

/* =====================
   BUTTON
===================== */
.btn-login {
    background: #111827;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px;
    position: relative;
}

.btn-login:hover {
    background: #000;
}

.btn-login:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, .4);
}

.btn-login.loading {
    pointer-events: none;
    opacity: .85;
}

/* Spinner */
.btn-login .spinner-border {
    width: 1.1rem;
    height: 1.1rem;
}

/* Toggle password icon */
#togglePassword {
    cursor: pointer;
}

#togglePassword i {
    font-size: 1.1rem;
    color: #6B7280;
}

#togglePassword:hover i {
    color: #111827;
}

/* =====================
   LOCK SCREEN
===================== */
.lock-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, #020617, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-card {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}

.lock-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lock-avatar i {
    font-size: 36px;
    color: #ffffff;
}

.lock-card h5 {
    font-weight: 600;
}

.lock-card .input-group-text {
    background: #f9fafb;
}

.lock-card .btn-dark {
    height: 44px;
}

/* =====================
   RESPONSIVE (MOBILE)
===================== */
@media (max-width: 768px) {
    .login-card {
        max-width: 100%;
        padding: 28px;
    }

    .login-logo {
        width: 160px;
    }

    .login-input .form-control,
    .login-input .input-group-text {
        height: 52px;
        font-size: 16px;
    }

    .btn-login {
        padding: 14px;
        font-size: 16px;
    }

    .text-muted {
        font-size: 13px;
    }
}