/* ============================================================
   Vellure auth pages (login / register / password reset)
   Dark premium, theme-independent - scoped under .vellure-auth
   ============================================================ */

.vellure-auth {
    --vl-bg: #0a0a0b;
    --vl-surface: rgba(255, 255, 255, 0.03);
    --vl-border: rgba(216, 181, 108, 0.16);
    --vl-border-soft: rgba(255, 255, 255, 0.09);
    --vl-gold: #d8b56c;
    --vl-gold-bright: #f2dca6;
    --vl-gold-deep: #b08d4f;
    --vl-gold-rgb: 216, 181, 108;
    --vl-ink: #f5f2ea;
    --vl-muted: #9c968a;
    --vl-serif: 'Playfair Display', Didot, Georgia, serif;
    --vl-sans: 'Inter', 'Open Sans', -apple-system, sans-serif;

    min-height: 100vh;
    background: var(--vl-bg);
    font-family: var(--vl-sans);
}

.vellure-auth .row.no-gutter {
    min-height: 100vh;
}

/* ---- Form column ---- */

.vellure-auth .login {
    background: var(--vl-bg);
    color: var(--vl-muted);
}

.vellure-auth .brand-logo {
    max-height: 3rem;
    width: auto;
}

.vellure-auth .vl-auth-heading {
    margin: 0.5rem 0 1.75rem;
}

.vellure-auth .vl-auth-heading h1 {
    color: var(--vl-ink);
    font-family: var(--vl-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vellure-auth .vl-auth-heading p {
    margin: 0.35rem 0 0;
    color: var(--vl-muted);
    font-size: 0.96rem;
}

/* Labels + copy */

.vellure-auth label,
.vellure-auth .col-form-label {
    color: var(--vl-ink);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.vellure-auth p,
.vellure-auth .custom-control-label span {
    color: var(--vl-muted);
}

.vellure-auth a,
.vellure-auth .text-primary,
.vellure-auth .text-gradient {
    color: var(--vl-gold) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor;
}

.vellure-auth a:hover {
    color: var(--vl-gold-bright) !important;
}

/* Inputs */

.vellure-auth .form-control {
    height: auto;
    padding: 0.8rem 1rem;
    border: 1px solid var(--vl-border-soft);
    border-radius: 0.75rem;
    background: var(--vl-surface);
    color: var(--vl-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vellure-auth .form-control::placeholder {
    color: rgba(156, 150, 138, 0.7);
}

.vellure-auth .form-control:focus {
    border-color: rgba(var(--vl-gold-rgb), 0.55);
    background: rgba(var(--vl-gold-rgb), 0.04);
    box-shadow: 0 0 0 3px rgba(var(--vl-gold-rgb), 0.14);
    color: var(--vl-ink);
}

/* Password field wrapper + toggle */

.vellure-auth .password-field-wrapper,
.vellure-auth .input-group {
    position: relative;
}

.vellure-auth .password-field-wrapper .btn,
.vellure-auth .input-group-append .btn,
.vellure-auth .input-group-text {
    border-color: var(--vl-border-soft);
    background: var(--vl-surface);
    color: var(--vl-muted);
}

/* Buttons */

.vellure-auth .btn-primary,
.vellure-auth .bg-gradient-primary {
    border: 0;
    background: linear-gradient(120deg, var(--vl-gold-bright) 0%, var(--vl-gold) 55%, var(--vl-gold-deep) 100%);
    color: #171208 !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 30px rgba(216, 181, 108, 0.22);
}

.vellure-auth .btn-primary:hover,
.vellure-auth .bg-gradient-primary:hover {
    color: #171208 !important;
    box-shadow: 0 14px 36px rgba(216, 181, 108, 0.32);
    transform: translateY(-1px);
}

.vellure-auth .btn-lg {
    padding: 0.9rem 1.5rem;
    border-radius: 0.85rem;
}

/* Social login box */

.vellure-auth .social-login-box .btn,
.vellure-auth .btn-social,
.vellure-auth .btn-outline-primary {
    border: 1px solid var(--vl-border-soft);
    background: var(--vl-surface);
    color: var(--vl-ink) !important;
}

.vellure-auth .social-login-box .btn:hover,
.vellure-auth .btn-outline-primary:hover {
    border-color: rgba(var(--vl-gold-rgb), 0.4);
    background: rgba(var(--vl-gold-rgb), 0.07);
    color: var(--vl-gold-bright) !important;
}

.vellure-auth hr {
    border-color: var(--vl-border-soft);
}

/* Checkbox */

.vellure-auth .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--vl-gold);
    background: var(--vl-gold);
}

.vellure-auth .custom-control-label::before {
    background: var(--vl-surface);
    border-color: var(--vl-border-soft);
}

/* Validation */

.vellure-auth .invalid-feedback strong {
    color: #ff8f8f;
}

.vellure-auth .form-control.is-invalid {
    border-color: rgba(224, 122, 95, 0.6);
}

/* ---- Brand aside (right column) ---- */

.vl-auth-aside {
    position: relative;
    overflow: hidden;
    padding: 3.5rem;
    background:
        radial-gradient(38rem 26rem at 78% 12%, rgba(216, 181, 108, 0.16), transparent 60%),
        linear-gradient(155deg, #1a1712 0%, #121013 55%, #0d0c0e 100%);
}

.vl-auth-aside.vl-auth-aside-image {
    padding: 0;
}

.vl-auth-aside .vl-aside-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.vl-auth-aside .vl-aside-bg:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.82) 100%);
}

.vl-auth-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 30rem;
}

.vl-auth-aside-inner.on-image {
    padding: 3.5rem;
}

.vl-aside-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.4rem 0.95rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--vl-border);
    border-radius: 999px;
    background: rgba(216, 181, 108, 0.06);
    color: var(--vl-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.vl-aside-title {
    color: var(--vl-ink);
    font-family: var(--vl-serif);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.14;
}

.vl-aside-title em {
    font-style: italic;
    background: linear-gradient(100deg, var(--vl-gold-bright), var(--vl-gold), var(--vl-gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--vl-gold);
}

.vl-aside-copy {
    margin: 1.1rem 0 2rem;
    color: var(--vl-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.vl-aside-points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vl-aside-points li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.9rem;
    color: var(--vl-ink);
    font-size: 0.98rem;
}

.vl-aside-points li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vl-gold-bright), var(--vl-gold-deep));
    box-shadow: 0 0 0 4px rgba(216, 181, 108, 0.12);
}

@media (max-width: 767.98px) {
    .vellure-auth .row.no-gutter {
        min-height: auto;
    }

    .vl-auth-aside {
        display: none !important;
    }
}
