/* ===== ULTRA PREMIUM BACKGROUND ===== */

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-image: url('../../../assets/admin/images/background_banner.png');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* Animated gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* ===== CENTER LOGIN ===== */

.account-pages {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ===== GLASS CARD ===== */
.login-header-new-class{
    height: 100px;
}

.login-page .card {
    position: relative;
    border-radius: 20px !important;
    border: 1px solid #ebd39b !important;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: floatIn 0.8s ease;
    overflow: hidden !important;
    box-sizing: border-box;
}

/* fix Bootstrap row negative margin cutting border */
.login-page .card > .bg-primary > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.login-page .card > .bg-primary > .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.login-page .card::before {
    content: none !important;
    display: none !important;
}

.login-page .top-most-header {
    background: rgba(29, 52, 39, 1) !important;
    border: none !important;
    border-bottom: 1px solid #ebd39b !important;
}

/* Entrance animation */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

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

/* ===== HEADER ===== */

.text-color-change {
    color: #ffffff !important;
}

/* ===== FLOATING INPUTS ===== */

.form-floating>.form-control {
    height: 55px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-floating>label {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    /* border-color: #4facfe; */
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.auth-field small.text-danger {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.2;
}

/* ===== BUTTON ===== */

#login-btn {
    height: 55px;
    border-radius: 12px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(206.1deg, #EBD39B 15.25%, #8B6F3D 79.27%);
    border: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#login-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* ===== TEXT ===== */

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== PREMIUM INPUT BASE ===== */

/* .form-floating>.form-control {
    height: 55px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transition: all 0.3s ease;
} */

/* Placeholder */
.form-floating>.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Label */
.form-floating>label {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FOCUS EFFECT (THE IMPORTANT PART) ===== */

/* .form-floating>.form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid #52685b !important;
    color: #ffffff !important;
    box-shadow:
        0 0 0 2px rgba(79, 172, 254, 0.25),
        0 0 20px rgba(79, 172, 254, 0.35);
} */

/* Remove Bootstrap white focus */
.form-control:focus {
    background-color: transparent !important;
}

/* Autofill fix (Chrome) */
/* Chrome Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #52685b  inset !important;
    border: 1px solid #52685b  !important;
    caret-color: #fff;
    transition: background-color 999999s ease-in-out 0s;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 27px;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
}

/* ===== UNIFIED PREMIUM INPUT ===== */

/* .premium-input {
    height: 55px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transition: all 0.3s ease;
} */

/* Placeholder */
/* .premium-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
} */

/* Focus Effect */
/* .premium-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid #4facfe !important;
    box-shadow:
        0 0 0 2px rgba(79, 172, 254, 0.25),
        0 0 20px rgba(79, 172, 254, 0.35);
} */

/* Floating label color */
.form-floating>label {
    color: rgba(255, 255, 255, 0.7);
}

.rounded-circle{
    border-radius: 0% !important;
}
