* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background:
        radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.08), transparent 35%),
        #050505;
    color: #fff;
    overflow-x: hidden;
}

/* Background decorative elements */
body::before {
    content: "";
    position: fixed;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg,
            transparent 45%,
            rgba(212, 175, 55, 0.15) 46%,
            rgba(212, 175, 55, 0.02) 47%,
            transparent 48%);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    right: -150px;
    bottom: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(315deg,
            transparent 45%,
            rgba(212, 175, 55, 0.15) 46%,
            rgba(212, 175, 55, 0.02) 47%,
            transparent 48%);
    pointer-events: none;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.login-container {
    width: 100%;
    max-width: 500px;
}

/* Logo */
.brand {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    width: 110px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-name {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;

    background: linear-gradient(
        90deg,
        #c9952e,
        #f5d477,
        #ffffff,
        #f5d477,
        #c9952e
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    margin-top: 8px;
    color: #aaa;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Login Card */
.login-card {
    position: relative;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 24px;
    padding: 45px;
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.07),
        inset 0 0 30px rgba(255, 255, 255, 0.015);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.12);
}

.login-heading {
    text-align: center;
    margin-bottom: 35px;
}

.login-heading h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;

    background: linear-gradient(
        90deg,
        #d4af37,
        #f8e08e
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-heading p {
    color: #aaa;
    margin: 0;
    font-size: 14px;
}

.gold-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #b8860b,
        #f5d477
    );
    margin: 18px auto 0;
    border-radius: 10px;
}

/* Form */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 17px;
    z-index: 2;
}

.form-control {
    height: 58px;
    background: #0b0b0b !important;
    border: 1px solid #3b3b3b;
    border-radius: 12px;
    color: #fff !important;
    padding-left: 52px;
    padding-right: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #666;
}

.form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

/* Password toggle */
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.password-toggle:hover {
    color: #d4af37;
}

/* Remember */
.remember-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.remember-wrapper input {
    appearance: none;
    width: 19px;
    height: 19px;
    border: 1px solid #555;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    background: #0b0b0b;
}

.remember-wrapper input:checked {
    background: linear-gradient(
        135deg,
        #b8860b,
        #f5d477
    );
    border-color: #d4af37;
}

.remember-wrapper input:checked::after {
    content: "✓";
    position: absolute;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    left: 3px;
    top: -1px;
}

.remember-wrapper label {
    color: #bbb;
    font-size: 13px;
    cursor: pointer;
}

/* Login Button */
.login-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #b8860b,
        #f5d477,
        #c9972e
    );

    color: #080808;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition: all 0.3s ease;

    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.15);
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(212, 175, 55, 0.3);

    background: linear-gradient(
        135deg,
        #d4af37,
        #ffe99b,
        #d4af37
    );
}

.login-btn:active {
    transform: translateY(0);
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #555;
    font-size: 11px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 576px) {

    .login-wrapper {
        padding: 30px 15px;
    }

    .brand {
        margin-bottom: 25px;
    }

    .brand-logo {
        width: 90px;
    }

    .brand-name {
        font-size: 23px;
        letter-spacing: 3px;
    }

    .brand-tagline {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .login-heading h1 {
        font-size: 27px;
    }

    .form-control,
    .login-btn {
        height: 54px;
    }
}

@media (max-height: 700px) {

    .login-wrapper {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .brand-logo {
        width: 75px;
        margin-bottom: 8px;
    }

    .brand {
        margin-bottom: 18px;
    }

    .brand-tagline {
        display: none;
    }

    .login-card {
        padding: 28px 35px;
    }

    .login-heading {
        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }
}