:root {
    --auth-wine: #9f0024;
    --auth-wine-dark: #78001b;
    --auth-ink: #211a1d;
    --auth-muted: #6d6468;
    --auth-paper: #fbf8f5;
    --auth-line: rgba(76, 45, 56, 0.15);
}

.auth-page.login-supercontainer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1160px, calc(100% - 40px));
    height: 640px !important;
    min-height: 640px;
    margin: 36px auto 64px;
    padding: 0;
    align-items: stretch;
    gap: 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.auth-page .login-fondo,
.auth-page .login-reg {
    max-width: none;
    margin: 0;
}

.auth-page .login-fondo {
    position: relative;
    height: 100% !important;
    min-height: 0;
    padding: clamp(40px, 4vw, 52px);
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(145deg, #f3e8e3 0%, #fffaf7 72%);
    border: 1px solid var(--auth-line);
}

.auth-page .login-fondo::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(185, 5, 43, 0.08);
}

.auth-page .login-fondo h2 {
    position: relative;
    z-index: 1;
    max-width: 420px;
    color: var(--auth-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 3.7vw, 3.7rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.auth-page .login-fondo p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    color: var(--auth-muted);
    line-height: 1.45;
}

.auth-page .login-fondo img {
    position: absolute;
    width: min(64%, 340px);
    max-height: 220px;
    right: 7%;
    bottom: 38px;
    object-fit: contain;
}

.auth-page .login-reg {
    min-width: 0;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 0;
    padding: clamp(42px, 4vw, 54px);
    border: 1px solid var(--auth-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(48, 31, 38, 0.07);
}

.auth-page .login-reg > div,
.auth-page .login-formulario--is {
    width: 100%;
}

.auth-page .login-reg > div { max-width: 430px; margin: 0 auto; }

.auth-page .public-back-link { display: none; }

.auth-page .auth-kicker {
    margin-bottom: 10px;
    color: var(--auth-wine);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-page .auth-title {
    margin-bottom: 10px;
    color: var(--auth-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.35rem;
    font-weight: 500;
    line-height: 1.08;
}

.auth-page .auth-copy {
    margin-bottom: 28px;
    color: var(--auth-muted);
}

.auth-page label {
    margin-bottom: 7px;
    color: var(--auth-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-page .form-control {
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background: #fff;
}

.auth-page .form-control:focus {
    border-color: var(--auth-wine);
    box-shadow: 0 0 0 3px rgba(159, 0, 36, 0.1);
}

.auth-page .btn-primary {
    min-height: 50px !important;
    border: 0;
    border-radius: 999px;
    background: var(--auth-wine);
    box-shadow: 0 12px 28px rgba(159, 0, 36, 0.2);
}

.auth-page .btn-primary:hover,
.auth-page .btn-primary:focus {
    background: var(--auth-wine-dark);
}

.auth-page .toggle-password {
    top: 17px;
    right: 14px;
}

.auth-password-toggle {
    position: absolute;
    right: 8px;
    bottom: 7px;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--auth-muted);
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.auth-password-toggle:focus-visible {
    outline: 3px solid #2d6cdf;
    outline-offset: 1px;
}

.auth-page .login-otros a {
    color: var(--auth-wine);
    font-weight: 700;
}

.auth-page .line-effects {
    color: var(--auth-muted);
}

.auth-register .login-reg {
    flex-basis: auto;
    align-items: center;
}

.auth-register.login-supercontainer { height: 700px !important; min-height: 700px; }
.auth-register .login-fondo { min-height: 0; }

body.auth-shell { min-height: 100vh; display: flex; flex-direction: column; }
body.auth-shell .auth-page { flex: 0 0 auto; }
body.auth-shell .footer-simple { margin-top: auto; }

.auth-register .login-opts {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.auth-register .login-opts .login-opt,
.auth-register .login-opts .login-opt:nth-child(even),
.auth-register .login-opts .login-opt:nth-child(odd) {
    width: auto;
    margin: 0;
}

.auth-register .login-opt .login-box {
    box-sizing: border-box;
    width: 100%;
    height: 108px;
    margin: 0;
    padding: 28px 14px 18px;
    border-radius: 16px;
}

.auth-register #btnRegForeign {
    display: block;
    width: 100%;
    margin: 10px 0 0 !important;
}

.auth-register .login-espectador {
    box-sizing: border-box;
    width: 100%;
    min-height: 62px;
    height: auto;
    margin: 0 !important;
    padding: 14px 16px;
    color: var(--auth-wine);
    border-color: rgba(159, 0, 36, 0.55);
    border-radius: 14px;
    background: #fff;
}

.auth-register .login-espectador svg path { fill: var(--auth-wine) !important; }

.auth-register .login-espectador:hover,
.auth-register .login-box:hover {
    transform: translateY(-2px);
    scale: 1 !important;
    border-color: var(--auth-wine);
    box-shadow: 0 10px 24px rgba(78, 34, 47, 0.09);
}

.registration-onboarding.home-container {
    max-width: 1120px;
    margin-inline: auto;
    background: transparent;
}

.registration-onboarding .musicos-cerca {
    border: 1px solid var(--auth-line);
    box-shadow: 0 16px 42px rgba(53, 31, 39, 0.07);
}

.registration-onboarding .regCircle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.registration-onboarding .form-control,
.registration-onboarding .select2-container .select2-selection {
    min-height: 44px;
    border-radius: 10px;
}

.nav-containerLogged .nav-legacy-primary,
.nav-containerLogged .nav-public-home {
    display: none;
}

.nav-containerLogged .nav-compact-menu > .nav-link {
    min-width: 92px;
}

.nav-containerLogged .nav-compact-menu .dropdown-menu {
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--auth-line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(42, 24, 31, 0.12);
}

.nav-containerLogged .nav-compact-menu .dropdown-item {
    padding: 9px 12px;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .auth-page.login-supercontainer {
        display: flex;
        width: min(100% - 28px, 680px);
        height: auto !important;
        min-height: auto;
        margin: 24px auto 48px;
        padding: 0;
        flex-direction: column;
    }

    .auth-page .login-fondo {
        height: 300px !important;
        min-height: 280px;
        padding: 36px;
        border: 1px solid var(--auth-line);
    }

    .auth-page .login-fondo img {
        width: 42%;
        opacity: 0.7;
    }

    .auth-page .login-reg {
        flex-basis: auto;
        width: 100%;
        height: auto;
        padding: 38px;
    }

    .nav-containerLogged .nav-legacy-primary,
    .nav-containerLogged .nav-public-home {
        display: list-item;
    }

    .nav-containerLogged .nav-compact-menu {
        display: none;
    }
}

@media (max-width: 575px) {
    .auth-page.login-supercontainer {
        width: min(100% - 20px, 520px);
        margin-top: 14px;
        border-radius: 20px;
    }

    .auth-page .login-fondo {
        height: 170px !important;
        min-height: 170px;
        padding: 24px;
    }

    .auth-page .login-fondo h2 {
        display: block !important;
        max-width: 300px;
        font-size: 2.15rem;
    }

    .auth-page .login-fondo p,
    .auth-page .login-fondo img {
        display: none !important;
    }

    .auth-page .login-reg { padding: 30px 22px 34px; }
    .auth-page .auth-title { font-size: 2rem; }
    .auth-page .auth-copy { margin-bottom: 22px; }

    .auth-register .login-opts {
        grid-template-columns: 1fr;
    }
}
