﻿.auth-shell {
    position: relative;
    overflow: hidden;
}

.auth-hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(10, 14, 21, 0.86), rgba(22, 32, 50, 0.78)),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.22), transparent 24%),
        url('../images/landing/gimnasio-inicio.jpg') center center / cover no-repeat;
}

.auth-hero--register {
    background:
        linear-gradient(135deg, rgba(8, 13, 20, 0.9), rgba(16, 24, 38, 0.82)),
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.2), transparent 24%),
        url('../images/landing/gimnasio-inicio.jpg') center center / cover no-repeat;
}

.auth-hero::before,
.auth-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.85;
    pointer-events: none;
}

.auth-hero::before {
    width: 320px;
    height: 320px;
    top: 6%;
    left: -90px;
    background: rgba(15, 118, 110, 0.16);
}

.auth-hero::after {
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: 4%;
    background: rgba(37, 99, 235, 0.18);
}

.auth-stage {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.auth-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.05), transparent 34%, rgba(241, 58, 17, 0.06));
    pointer-events: none;
}

.auth-showcase {
    min-height: 100%;
    padding: 2.4rem 2.2rem;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(11, 18, 32, 0.8), rgba(18, 30, 48, 0.72)),
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.18), transparent 24%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-showcase--register {
    background:
        linear-gradient(180deg, rgba(9, 16, 30, 0.88), rgba(16, 29, 46, 0.78)),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 28%);
}

.auth-showcase__logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.2));
}

.auth-showcase__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.auth-showcase h1 {
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: 0.96;
    font-weight: 800;
    margin: 0 0 1rem;
    max-width: 11ch;
}

.auth-showcase p {
    max-width: 42ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

.auth-showcase__stats {
    display: grid;
    gap: 0.9rem;
    margin-top: 2rem;
}

.auth-showcase__stats article {
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-showcase__stats strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.auth-showcase__stats span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
}

.auth-showcase__panel {
    margin-top: 2rem;
    border-radius: 1.4rem;
    overflow: hidden;
    background: rgba(7, 12, 20, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.auth-showcase__panel-top {
    display: flex;
    gap: 0.45rem;
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
}

.auth-showcase__panel-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.auth-showcase__panel-body {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.auth-showcase__metric {
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-showcase__metric.is-dark {
    background: rgba(9, 14, 24, 0.7);
}

.auth-showcase__metric small,
.auth-showcase__metric span {
    display: block;
}

.auth-showcase__metric small {
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.auth-showcase__metric strong {
    display: block;
    font-size: 1.85rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.auth-showcase__metric span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    line-height: 1.55;
}

.auth-showcase__timeline {
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-showcase__timeline div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
}

.auth-showcase__timeline div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-showcase__timeline span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.auth-showcase__timeline b {
    display: inline-flex;
    gap: 0.38rem;
}

.auth-showcase__timeline i {
    width: 0.88rem;
    height: 0.88rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f13a11, #ff7b51);
    display: inline-block;
}

.auth-card {
    position: relative;
    z-index: 1;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 247, 0.9));
    padding: 2.3rem 2.1rem;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.03), transparent 22%, rgba(241, 58, 17, 0.04));
    pointer-events: none;
}

.auth-card--register {
    padding: 2.1rem 2rem;
}

.auth-card__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.auth-card-header {
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}

.auth-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f766e;
}

.auth-card-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    color: #162032;
}

.auth-card-header p {
    margin: 0;
    color: #5d6b7c;
}

.auth-card__quickline {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.auth-card__quick-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-input-group {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    position: relative;
    z-index: 1;
}

.auth-input-group .form-control,
.auth-input-group .input-group-text,
.auth-input-group .btn {
    border: 0;
    min-height: 3.6rem;
}

.auth-input-group .input-group-text {
    background: #eef7f5;
    color: #0f766e;
    font-weight: 800;
}

.auth-input-group .form-control {
    background: #fbfdfc;
}

.auth-input-group .form-control:focus {
    box-shadow: none;
    background: #ffffff;
}

.auth-input-group:focus-within {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

.auth-toggle-password {
    min-width: 108px;
    background: #f3f6fb;
    color: #334155;
}

.auth-helper {
    margin-top: 0.55rem;
    color: #6b7280;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
}

.auth-submit-btn {
    min-height: 3.6rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #162032, #0f766e);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, #111827, #115e59);
    transform: translateY(-1px);
    box-shadow: 0 22px 38px rgba(15, 118, 110, 0.24);
}

.auth-footer-links {
    margin-top: 1.25rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.auth-secondary-link {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.auth-secondary-link:hover,
.auth-secondary-link:focus {
    color: #115e59;
    text-decoration: underline;
}

.auth-secondary-link--muted {
    color: #516274;
}

.auth-note {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: #f1f8f7;
    color: #486171;
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .auth-stage {
        border-radius: 1.5rem;
    }

    .auth-card {
        padding: 1.6rem;
    }

    .auth-card--register {
        padding: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .auth-hero {
        background-position: 58% center;
    }

    .auth-stage,
    .auth-card {
        border-radius: 1.2rem;
    }

    .auth-card-header h2 {
        font-size: 1.65rem;
    }

    .auth-card__quickline {
        gap: 0.5rem;
    }

    .auth-card__quick-pill {
        font-size: 0.72rem;
    }
}
