
/* =========================================
   PREMIUM BLACK & GOLD LOGIN PAGE
   Responsive | Modern | Luxury Design
========================================= */

:root {
    --gold: #F4BD45;
    --gold-light: #FFE8A3;
    --gold-dark: #B78319;
    --black: #050505;
    --panel: #0C0C0C;
    --input-bg: #141414;
    --text: #F5F5F5;
    --muted: #A7A7A7;
    --border: rgba(244, 189, 69, 0.30);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 18px;
    position: relative;
    overflow-x: hidden;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: var(--text);

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(244, 189, 69, 0.14) 0%,
            transparent 42%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(183, 131, 25, 0.09) 0%,
            transparent 32%
        ),
        radial-gradient(
            circle at 100% 80%,
            rgba(244, 189, 69, 0.07) 0%,
            transparent 30%
        ),
        linear-gradient(135deg, #030303 0%, #101010 48%, #030303 100%);
}

/* Background decorative glow */

body::before {
    content: "";
    position: fixed;
    width: 380px;
    height: 380px;
    top: -190px;
    left: calc(50% - 190px);
    border-radius: 50%;
    background: rgba(244, 189, 69, 0.08);
    filter: blur(90px);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

/* =========================================
   LOGIN CARD
========================================= */

.login-card {
    width: 100%;
    max-width: 440px;
    position: relative;
    isolation: isolate;
    padding: 42px 36px 35px;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(244, 189, 69, 0.075),
            transparent 48%
        ),
        linear-gradient(145deg, #111111 0%, #080808 55%, #0D0D0D 100%);

    border: 1px solid rgba(244, 189, 69, 0.55);
    border-radius: 20px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.75),
        0 0 35px rgba(244, 189, 69, 0.08),
        inset 0 1px 0 rgba(255, 232, 163, 0.12);

    animation: loginAppear 0.65s ease both;
}

/* Inner gold frame */

.login-card::before {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: -1;
    border: 1px solid rgba(244, 189, 69, 0.13);
    border-radius: 13px;
    pointer-events: none;
}

/* Top metallic accent */

.login-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-light),
        var(--gold),
        transparent
    );
    box-shadow: 0 0 18px rgba(244, 189, 69, 0.45);
    pointer-events: none;
}

/* Keep all content above decorative layers */

.login-card > * {
    position: relative;
    z-index: 1;
}

.login-card:hover {
    border-color: rgba(255, 228, 154, 0.78);
    box-shadow:
        0 32px 85px rgba(0, 0, 0, 0.8),
        0 0 42px rgba(244, 189, 69, 0.12),
        inset 0 1px 0 rgba(255, 232, 163, 0.15);
}

/* =========================================
   LOGO
========================================= */

.login-card img {
    display: block;
    max-width: 100%;
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 24px;
}

/* ==========================================
   ERROR MESSAGE
========================================== */

.errorBox {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 18px;
    padding: 12px 14px;

    color: #F4D98C;
    background: linear-gradient(
        110deg,
        #17130A,
        #0D0D0D
    );

    border: 1px solid rgba(212, 175, 55, 0.4);
    border-left: 4px solid var(--gold);
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: anywhere;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

/* =========================================
   HEADING & TEXT
========================================= */

.login-card h1,
.login-card h2,
.login-card h3 {
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.4;
}

.login-card h1,
.login-card h2 {
    font-size: 25px;
    margin-bottom: 20px;
}

.login-card h3 {
    font-size: 19px;
    margin-bottom: 16px;
}

.login-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.login-card hr {
    border: 0;
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(244, 189, 69, 0.45),
        transparent
    );
}

/* =========================================
   FORM GROUPS & LABELS
========================================= */

.login-card .form-group {
    margin-bottom: 20px;
}

.login-card label {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* =========================================
   INPUT FIELDS
========================================= */

.login-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.login-card select,
.login-card textarea {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 12px 15px;

    color: #FFFFFF;
    background: linear-gradient(145deg, #171717, #101010);

    border: 1px solid #303030;
    border-radius: 10px;
    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.login-card input::placeholder,
.login-card textarea::placeholder {
    color: #777777;
    opacity: 1;
}

.login-card input:focus,
.login-card select:focus,
.login-card textarea:focus {
    border-color: var(--gold);
    background: #15130E;
    box-shadow:
        0 0 0 3px rgba(244, 189, 69, 0.10),
        0 5px 18px rgba(0, 0, 0, 0.25);
}

.login-card select option {
    color: #FFFFFF;
    background: #111111;
}

.login-card textarea {
    min-height: 100px;
    resize: vertical;
}

/* =========================================
   CHECKBOX & RADIO
========================================= */

.login-card input[type="checkbox"],
.login-card input[type="radio"] {
    accent-color: var(--gold);
    cursor: pointer;
    margin-right: 7px;
}

.login-card input[type="checkbox"] + label,
.login-card input[type="radio"] + label {
    display: inline-block;
    color: #D5D5D5;
    cursor: pointer;
}

/* =========================================
   GOLD LOGIN BUTTON
========================================= */

.login-card button,
.login-card input[type="submit"],
.login-card .btn,
.login-card .login-btn {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 13px 18px;

    color: #171006;
    background: linear-gradient(
        110deg,
        #B78319 0%,
        #F4BD45 28%,
        #FFE8A3 50%,
        #F4BD45 72%,
        #B78319 100%
    );
    background-size: 200% 100%;

    border: 1px solid #FFE49A;
    border-radius: 10px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background-position 0.35s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.login-card button:hover,
.login-card input[type="submit"]:hover,
.login-card .btn:hover,
.login-card .login-btn:hover {
    background-position: 100% 0;
    box-shadow:
        0 8px 25px rgba(244, 189, 69, 0.22),
        0 0 18px rgba(244, 189, 69, 0.12);
    transform: translateY(-2px);
}

.login-card button:active,
.login-card input[type="submit"]:active,
.login-card .btn:active,
.login-card .login-btn:active {
    transform: translateY(0);
}

/* =========================================
   LINKS
========================================= */

.login-card a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-card a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.login-card .forgot-password {
    display: block;
    margin-top: 14px;
    text-align: right;
    font-size: 12px;
}

/* =========================================
   CAPTCHA
========================================= */

.login-card .captcha,
.login-card .captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.login-card .captcha img,
.login-card .captcha-box img {
    max-width: 150px;
    max-height: 48px;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 6px;
}

.login-card .captcha button,
.login-card .captcha-box button {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 13px;
    color: var(--gold-light);
    background: #19150B;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
}

.login-card .captcha button:hover,
.login-card .captcha-box button:hover {
    color: #000000;
    background: var(--gold);
}

/* =========================================
   ALERT MESSAGES
========================================= */

.login-card .alert {
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(244, 189, 69, 0.25);
    border-radius: 8px;
    background: #17130A;
    color: var(--gold-light);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================
   FOOTER
========================================= */

.login-card .login-footer {
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid rgba(244, 189, 69, 0.16);
    text-align: center;
    color: #898989;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes loginAppear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {
    body {
        padding: 24px 16px;
    }

    .login-card {
        max-width: 420px;
        padding: 36px 28px 30px;
        border-radius: 17px;
    }

    .login-card h1,
    .login-card h2 {
        font-size: 23px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {
    body {
        padding: 18px 12px;
        align-items: center;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 32px 22px 26px;
        border-radius: 15px;
    }

    .login-card::before {
        inset: 6px;
        border-radius: 10px;
    }
	
	 .errorBox {
        padding: 11px 12px;
        font-size: 12px;
    }

    .login-card img {
        max-height: 72px;
        margin-bottom: 20px;
    }

    .login-card h1,
    .login-card h2 {
        font-size: 21px;
        letter-spacing: 0.8px;
    }

    .login-card h3 {
        font-size: 17px;
    }

    .login-card .form-group {
        margin-bottom: 17px;
    }

    .login-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
    .login-card select,
    .login-card textarea {
        min-height: 46px;
        padding: 11px 12px;
        font-size: 14px;
    }

    .login-card button,
    .login-card input[type="submit"],
    .login-card .btn,
    .login-card .login-btn {
        min-height: 47px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 350px) {
    .login-card {
        padding: 28px 17px 23px;
    }

    .login-card h1,
    .login-card h2 {
        font-size: 19px;
    }

    .login-card label {
        font-size: 12px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}