:root {
    /* Paleta deportiva modo claro vibrante */
    --auth-bg-start: #e7e7e7;
    --auth-bg-end: #f4f5f4;
    --auth-pattern-line: rgba(76, 175, 80, 0.08);
    --auth-pattern-dot: rgba(232, 245, 232, 0.06);
    --auth-card-bg: #000000;
    --auth-card-border: #b0b1b0;
    --auth-card-shadow-a: rgba(76,175,80,0.13);
    --auth-card-shadow-b: rgba(232,245,232,0.10);
    --auth-text: #303030;
    --auth-muted: #e6e6e6;
    --auth-link: #4CAF50;
    --auth-link-hover: #388E3C;
    --auth-focus: #FDA91E;
    --auth-input-border: #b2b4b2;
    --auth-input-bg: #acacac;
    --auth-input-bg-focus: #21C9A1;
}
body[data-theme="warm-vibrant"] {
    /* Paleta deportiva vibrante */
    --auth-bg-start: #e7e7e7;
    --auth-bg-end: #f4f5f4;
    --auth-pattern-line: rgba(76, 175, 80, 0.10);
    --auth-pattern-dot: rgba(232, 245, 232, 0.08);
    --auth-card-bg: #000000;
    --auth-card-border: #b0b1b0;
    --auth-card-shadow-a: rgba(76,175,80,0.18);
    --auth-card-shadow-b: rgba(76,175,80,0.12);
    --auth-text: #303030;
    --auth-muted: #e6e6e6;
    --auth-link: #4CAF50;
    --auth-link-hover: #388E3C;
    --auth-focus: #FDA91E;
    --auth-input-border: #b2b4b2;
    --auth-input-bg: #acacac;
    --auth-input-bg-focus: #21C9A1;
}
body[data-theme="warm-soft"] {
    /* Paleta deportiva suave */
    --auth-bg-start: #E8F5E8;
    --auth-bg-end: #F8FFF8;
    --auth-pattern-line: rgba(76, 175, 80, 0.05);
    --auth-pattern-dot: rgba(232, 245, 232, 0.03);
    --auth-card-bg: #000000;
    --auth-card-border: #b0b0b0;
    --auth-card-shadow-a: rgba(76,175,80,0.08);
    --auth-card-shadow-b: rgba(76,175,80,0.05);
    --auth-text: #303030;
    --auth-muted: #e6e6e6;
    --auth-link: #388E3C;
    --auth-link-hover: #2E7D32;
    --auth-focus: #FDA91E;
    --auth-input-border: #b2b4b2;
    --auth-input-bg: #acacac;
    --auth-input-bg-focus: #21C9A1;
}
body[data-theme="dark"] {
    /* Paleta deportiva modo oscuro */
    --auth-bg-start: #2E7D32;
    --auth-bg-end: #1E1E1E;
    --auth-pattern-line: rgba(76, 175, 80, 0.10);
    --auth-pattern-dot: rgba(232, 245, 232, 0.08);
    --auth-card-bg: #000000;
    --auth-card-border: #b0b1b0;
    --auth-card-shadow-a: rgba(76,175,80,0.13);
    --auth-card-shadow-b: rgba(232,245,232,0.10);
    --auth-text: #303030;
    --auth-muted: #e6e6e6;
    --auth-link: #4CAF50;
    --auth-link-hover: #E8F5E8;
    --auth-focus: #FDA91E;
    --auth-input-border: #b2b4b2;
    --auth-input-bg: #acacac;
    --auth-input-bg-focus: #1E1E1E;
}
body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, var(--auth-bg-start), var(--auth-bg-end));
}
.auth-card{
    width:420px;
    border-radius:15px;
    box-shadow:0 16px 40px var(--auth-card-shadow-a), 0 4px 14px var(--auth-card-shadow-b);
    border:1px solid var(--auth-card-border);
    background:var(--auth-card-bg);
    color:var(--auth-text);
}
.logo{
    font-size:28px;
    font-weight:bold;
    color:var(--auth-focus);
}
.auth-theme-floating {
    position:fixed;
    top:14px;
    right:16px;
    z-index:10;
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    border-radius:10px;
    border:1px solid color-mix(in srgb, var(--auth-card-border) 90%, #ffffff 10%);
    background:color-mix(in srgb, var(--auth-card-bg) 92%, #ffffff 8%);
    box-shadow:0 8px 22px color-mix(in srgb, var(--auth-card-shadow-a) 75%, transparent);
}
.auth-theme-icon {
    font-size:14px;
    line-height:1;
    color:var(--auth-muted);
    opacity:.45;
    user-select:none;
    transform:scale(.95);
    transition:opacity .2s ease, transform .2s ease, filter .2s ease;
}
.auth-theme-floating.theme-is-soft .auth-theme-icon--sun,
.auth-theme-floating.theme-is-vibrant .auth-theme-icon--moon {
    opacity:1;
    transform:scale(1.08);
    filter:drop-shadow(0 1px 2px color-mix(in srgb, var(--auth-focus) 30%, transparent));
}
.auth-theme-floating.theme-is-soft .auth-theme-slider {
    background: #E8EFFD;
    border-color: #8CB4FF;
}
.auth-theme-floating.theme-is-vibrant .auth-theme-slider {
    background: var(--auth-focus);
    border-color: var(--auth-focus);
}
.auth-theme-floating.theme-is-soft .auth-theme-icon--sun {
    color: #FFD43B;
}
.auth-theme-floating.theme-is-vibrant .auth-theme-icon--moon {
    color: #0056B3;
}
.auth-theme-switch {
    position:relative;
    display:inline-flex;
    align-items:center;
    width:42px;
    height:24px;
    margin:0;
    cursor:pointer;
}
.auth-theme-switch input {
    position:absolute;
    opacity:0;
    width:0;
    height:0;
}
.auth-theme-slider {
    position:relative;
    display:block;
    width:100%;
    height:100%;
    border-radius:999px;
    background:color-mix(in srgb, var(--auth-input-border) 65%, #fff 35%);
    border:1px solid var(--auth-input-border);
    transition:all .2s ease;
}
.auth-theme-slider::before {
    content:"";
    position:absolute;
    top:2px;
    left:2px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 1px 3px rgba(0,0,0,.2);
    transition:transform .2s ease;
}
.auth-theme-switch input:checked + .auth-theme-slider {
    background:var(--auth-focus);
    border-color:var(--auth-focus);
}
.auth-theme-switch input:checked + .auth-theme-slider::before {
    transform:translateX(18px);
}
.auth-theme-switch input:focus-visible + .auth-theme-slider {
    box-shadow:0 0 0 .2rem color-mix(in srgb, var(--auth-focus) 24%, transparent);
}
.auth-card h4,
.auth-card .form-label,
.auth-card small,
.auth-card .text-muted {
    color:var(--auth-muted) !important;
}
.auth-card a {
    color:var(--auth-link);
    font-weight:600;
    text-decoration:none;
}
.auth-support-wrap {
    display: flex;
    justify-content: center;
}
.auth-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--auth-focus) 45%, #ffffff 55%);
    background: color-mix(in srgb, var(--auth-card-bg) 94%, #ffffff 6%);
    color: var(--auth-muted) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.auth-support-link:hover {
    background: color-mix(in srgb, var(--auth-focus) 20%, var(--auth-card-bg) 80%);
    border-color: var(--auth-focus);
    color: #ffffff !important;
    text-decoration: none;
}
.auth-support-link:focus,
.auth-support-link:focus-visible {
    outline: 2px solid var(--auth-focus);
    outline-offset: 2px;
}
.auth-card a:hover {
    color:var(--auth-link-hover);
    text-decoration:underline;
}
.auth-card .auth-support-link:hover {
    text-decoration: none;
}
.auth-card .form-control {
    border-color:var(--auth-input-border);
    background:var(--auth-input-bg);
    color:var(--auth-text);
}
.auth-card .form-control:focus {
    border-color:var(--auth-focus);
    background:var(--auth-input-bg-focus);
    color:var(--auth-text);
    box-shadow:0 0 0 .2rem color-mix(in srgb, var(--auth-focus) 20%, transparent);
}
.auth-card input:-webkit-autofill,
.auth-card input:-webkit-autofill:hover,
.auth-card input:-webkit-autofill:focus,
.auth-card textarea:-webkit-autofill,
.auth-card select:-webkit-autofill {
    -webkit-text-fill-color:var(--auth-text);
    box-shadow:0 0 0 1000px var(--auth-input-bg-focus) inset;
    -webkit-box-shadow:0 0 0 1000px var(--auth-input-bg-focus) inset;
    transition:background-color 9999s ease-in-out 0s;
    caret-color:var(--auth-text);
}
.auth-card .btn-primary,
.auth-card .btn-success {
    background:var(--auth-focus);
    border-color:var(--auth-focus);
    color:#fff;
    font-weight:600;
}
.auth-card .btn-primary:hover,
.auth-card .btn-success:hover {
    background:var(--auth-link);
    border-color:var(--auth-link);
}
.auth-card .btn-primary:focus,
.auth-card .btn-success:focus {
    box-shadow:0 0 0 .2rem color-mix(in srgb, var(--auth-focus) 28%, transparent);
}

.form-check-label {
    color: #FDA91E !important;
}