* {
    box-sizing: border-box;
}

html,
body {

    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    font-family: 'Inter', sans-serif;
}

body {

    position: relative;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(circle at top left,
            rgba(212, 175, 55, 0.10),
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(255, 255, 255, 0.03),
            transparent 25%),

        linear-gradient(135deg,
            #071127 0%,
            #0b1731 40%,
            #111827 100%);
}

/* Glow Background */

body::before {

    content: '';

    position: absolute;

    width: 700px;
    height: 700px;

    background:
        radial-gradient(circle,
            rgba(212, 175, 55, 0.10),
            transparent 70%);

    top: -250px;
    left: -250px;

    animation: pulseGlow 8s infinite alternate;

    z-index: 0;
}

@keyframes pulseGlow {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

body::after {

    content: '';

    position: absolute;

    width: 650px;
    height: 650px;

    background:
        radial-gradient(circle,
            rgba(212, 175, 55, .06),
            transparent 70%);

    bottom: -250px;
    right: -250px;

    z-index: 0;
}


.login-wrapper {

    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 580px;

    padding: 20px;
}

.login-card {

    position: relative;

    padding: 60px;

    border-radius: 30px;

    background:
        rgba(15, 23, 42, 0.72);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .45),
        0 0 50px rgba(212, 175, 55, .05);
}

.login-card::before {

    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(90deg,
            #c8a44d,
            #f4d03f,
            #d4af37);
}

.brand-logo {

    width: 220px;

    max-width: 100%;

    object-fit: contain;

    margin-bottom: 25px;

    filter:
        drop-shadow(0 0 30px rgba(212, 175, 55, 0.15));
}

.brand-title {

    color: #fff;

    font-size: 28px;
    font-weight: 700;

    margin-bottom: 8px;
}

.brand-subtitle {

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 14px;

    margin-bottom: 35px;
}

.form-label {

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 10px;

    display: block;
}

.input-group {

    border-radius: 16px;
    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    transition: all .3s ease;
}

.input-group:focus-within {

    border-color:
        rgba(212, 175, 55, 0.60);

    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.12);
}

.input-group-text {

    background: transparent !important;

    border: 0 !important;

    color:
        rgba(255, 255, 255, 0.60);
}

.form-control {

    height: 58px;

    font-size: 15px;

    border: 0 !important;

    background: transparent !important;

    color: #fff !important;

    box-shadow: none !important;
}

.form-control:focus {

    box-shadow: none !important;
}

.form-control::placeholder {

    color:
        rgba(255, 255, 255, 0.45);
}

.btn-login {

    height: 56px;

    border: 0;

    border-radius: 16px;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .5px;

    background:
        linear-gradient(135deg,
            #c8a44d,
            #f4d03f);

    color: #111827;

    transition: all .35s ease;

    position: relative;
    overflow: hidden;
}

.btn-login:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(212, 175, 55, 0.30);
}

.btn-login::before {

    content: '';

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .15),
            transparent);

    transition: .8s;
}

.btn-login:hover::before {

    left: 100%;
}

.footer-text {

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 13px;

    margin-top: 25px;
}

/* ========================================
   REMEMBER ME
======================================== */

.remember-container {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: -5px;

    margin-bottom: 20px;
}

.remember-checkbox {

    width: 16px;

    height: 16px;

    accent-color: #D4AF37;

    cursor: pointer;

    flex-shrink: 0;
}

.remember-label {

    margin: 0;

    padding: 0;

    color: rgba(255, 255, 255, .70);

    font-size: 14px;

    font-weight: 500;

    line-height: 1;

    cursor: pointer;
}

.remember-label:hover {

    color: #ffffff;
}

.login-timeout {

    margin-top: 15px;

    text-align: center;

    font-size: 12px;

    color: rgba(255, 255, 255, .45);
}

@media(max-width: 576px) {

    body {
        overflow-y: auto;
    }

    .login-card {

        padding: 35px 25px;
    }

    .brand-title {

        font-size: 24px;
    }
}