*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.vx-login-body {
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #f3f3f3;
    background: #060606;
    position: relative;
    overflow: hidden;
}

.vx-login-background {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(229, 193, 95, 0.2), transparent 40%),
        radial-gradient(circle at 90% 18%, rgba(229, 193, 95, 0.15), transparent 35%),
        radial-gradient(circle at 78% 80%, rgba(229, 193, 95, 0.09), transparent 35%),
        linear-gradient(135deg, #050505 0%, #0b0b0b 45%, #151109 100%);
    z-index: 0;
}

.vx-login-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.vx-login-card {
    width: min(100%, 460px);
    padding: 34px 32px 28px;
    border-radius: 24px;
    border: 1px solid rgba(229, 193, 95, 0.24);
    background: linear-gradient(130deg, rgba(14,14,14,.88), rgba(18,18,18,.84));
    box-shadow:
        0 35px 85px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.vx-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.vx-login-brand h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f7f7f7, #e5c15f, #f2de9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.2px;
}

.vx-login-brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    background: linear-gradient(145deg, #e5c15f, #b9923d);
    box-shadow: 0 10px 24px rgba(161, 120, 24, 0.34);
}

.vx-login-eyebrow {
    margin: 0 0 9px;
    color: #d5bc76;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.vx-login-title {
    margin: 0 0 8px;
    color: #f3f3f3;
    font-size: 1.65rem;
    line-height: 1.25;
}

.vx-login-subtitle {
    margin: 0 0 20px;
    color: #a4a4a4;
    line-height: 1.55;
    font-size: 0.95rem;
}

.vx-login-alert {
    margin-bottom: 16px;
    border: 1px solid rgba(208, 101, 101, 0.35);
    border-radius: 12px;
    background: rgba(161, 63, 63, 0.16);
    color: #ffd1d1;
    padding: 11px 13px;
    font-size: 0.9rem;
}

.vx-login-alert-success {
    border-color: rgba(229, 193, 95, 0.35);
    background: rgba(181, 145, 58, 0.15);
    color: #ffe8aa;
}

.vx-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vx-login-label {
    color: #a4a4a4;
    font-size: 0.82rem;
    font-weight: 600;
}

.vx-login-input {
    border: 1px solid rgba(229, 193, 95, 0.24);
    border-radius: 12px;
    background: rgba(8, 8, 8, 0.66);
    color: #fff;
    font-size: 0.95rem;
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vx-login-input::placeholder {
    color: #8f8f8f;
}

.vx-login-input:focus {
    border-color: rgba(229, 193, 95, 0.55);
    box-shadow: 0 0 0 4px rgba(229, 193, 95, 0.08);
    transform: translateY(-1px);
}

.vx-login-button {
    margin-top: 6px;
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    color: #111;
    background: linear-gradient(145deg, #e5c15f, #b5913f);
    box-shadow: 0 12px 26px rgba(161, 120, 24, 0.34);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.vx-login-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.vx-login-button:active {
    transform: translateY(0);
}

.vx-login-button-link {
    margin-top: 8px;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.vx-login-forgot {
    margin-top: 6px;
    text-align: center;
    text-decoration: none;
    color: #d7c083;
    font-size: 0.88rem;
}

.vx-login-forgot:hover {
    text-decoration: underline;
}

.vx-login-footer {
    margin: 18px 0 0;
    text-align: center;
    color: #a4a4a4;
    font-size: 0.82rem;
}

@media (max-width: 560px) {
    .vx-login-main {
        padding: 16px;
    }

    .vx-login-card {
        border-radius: 18px;
        padding: 26px 20px 22px;
    }

    .vx-login-title {
        font-size: 1.4rem;
    }
}
