@charset "UTF-8";

/* ==========================================================================
   STYLES UNIFICADO (PROPIEDADES UNIFICADAS Y SIN DUPLICADOS)
   Fecha de generación: 2026-09-12 12:45:20
   ========================================================================== */

/* --- IMPORTS ÚNICOS --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


/* --- VARIABLES GLOBALES (:root) --- */
:root {
    --racing-red: #ff3e3e;
    --premium-gold: #fbbf24;
    --dark-bg: #0f1013;
    --card-bg: #1a1c20;
    --text-light: #ffffff;
}

body {
    /* La primera capa es el velo negro (10% de opacidad), la segunda es tu imagen */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/fondo_general.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
    color: rgb(255, 255, 255);
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.menu_cabecera {
    width: 100%;
    height: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0;
}
.container_cabecera {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: url('../img/header_racing.jpg') center/cover no-repeat;
    border-bottom: 3px solid #e10600;
    top: 0;
    left: 0;
    z-index: 99999;
}

h1 {
        font-size: 25px;
    }

h2 {
        font-size: 18px;
        color: red;
    }

h3 {
    font-size: 17px;

}

h4 {
    font-size: 16px;
}

h1, h2, h3, h4 {
    margin-top: 10px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Dashboard
   ========================================================================== */
    #wrapper-mensajes-dashboard { 
        position: relative; 
        overflow: hidden; 
        touch-action: pan-y; 
        user-select: none; 
         background-color: #1d1d1d;
        padding: 20px;
        border: 1px solid rgba(255,255,255,2);
        border-radius: 8px;
        color: #27ae60;
        font-weight: 800; 
        font-size: 26px;
        text-align: center;
    }

/* ==========================================================================
   REGLAS GLOBALES UNIFICADAS
   ========================================================================== */

#botonRepetirPrueba {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: none;
}

#botonRepetirPrueba:hover {
    background-color: #0056b3;
}

#classificationTable tr.top1 td {
    color: rgb(21, 255, 40);
}

#classificationTable tr.top2 td {
    color: rgb(255, 213, 46);
}

#classificationTable tr.top3 td {
    color: rgb(255, 132, 17);
}

#classificationTable¨ {
    width: 100%;
    border-collapse: collapse;
}

#comTexto {
    min-height: 140px;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 12px;
}


#listaMiembrosCheckboxes {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 6px;
}

#resultado {
    margin-top: 20px;
    font-size: 1.5em;
}

#searchInput {
    width: 200px;
    padding: 5px;
}

#sr-hero {
    background-color: rgba(255, 3, 3, 0.7);
    color: white;
    text-align: center;
    padding: 20px 1rem;
    position: relative;
}

#sr-hero-curso {
    background-color: rgba(255, 238, 0, 0.7);
    color: #181818;
    text-align: center;
    padding: 20px 1rem;
    position: relative;
}

#sr-hero-soporte {
    background-color: rgba(74, 159, 255, 0.7);
    color: #ffffff;
    text-align: center;
    padding: 20px 1rem;
    position: relative;
}

#wrapper-mensajes-dashboard .countdown-timer {
    color: #27ae60;
    font-weight: 800;
    font-size: 24px;
    font-family: monospace;
}

#wrapper-mensajes-footer {
    width: 100%;
    min-height: 220px;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border-radius: 12px;
    border: 1px solid #333;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    border-left: 4px solid #e74c3c;
}

#wrapper-mensajes-footer .footer-slide h4 {
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}

#wrapper-mensajes-footer .mensaje-texto {
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
}

#wrapper-mensajes-footer .mensaje-texto strong {
    font-size: 18px;
    color: #ff8c00;
}

#wrapper-mensajes-footer:hover {
    border-color: #e74c3c;
}

.accordion {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    background-color: #242424;
    margin-bottom: 5px;
    font-size: 16px;
}

.accordion.active {
    background-color: #242424;
}

.accordion.active:after {
    content: "\2212";
}

.accordion:after {
    content: '\002B';
    float: right;
    font-size: 13px;
}

.admin-edit-container {
    margin: 10px 0 20px 0;
    padding: 10px;
    background-color: #2a220a;
    border: 1px solid #ff8c00;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amarillo {
    background-color: yellow;
}

.announcement-body h4 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: #fff;
}

.announcement-body p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
}

.announcement-box {
    background: #1d1b12;
    border: 1px solid #ffca28;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 20px 0 20px;
    box-shadow: 0 4px 12px rgba(255, 202, 40, 0.1);
}

.announcement-date {
    font-size: 0.75rem;
    color: #aaa;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 202, 40, 0.2);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.announcement-header h3 {
    margin: 0;
    color: #ffca28;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.atencion-body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 50px;
}

.atencion-difficulty-container {
    margin: 20px;
    text-align: center;
}

.atencion-hidden {
    display: none;
}

.atencion-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 2px solid #007BFF;
    border-radius: 10px;
    cursor: pointer;
}

.atencion-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}

.atencion-message {
    font-size: 1.5em;
    margin-top: 20px;
    text-align: center;
}

.atencion-progress-bar {
    height: 100%;
    background-color: #007BFF;
    width: 100%;
    transition: width 1s linear;
}

.atencion-progress-bar-container {
    width: 80%;
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
}

.atencion-slider {
    width: 80%;
}

.atencion-start-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.atencion-start-button:hover {
    background-color: #0056b3;
}

.avatar-container {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ff2a2a;
    background-color: #111;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotateY(180deg);
}

.badge-comisario {
    background: linear-gradient(135deg, #f77f00 0%, #d65a00 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(247, 127, 0, 0.4);
}

.badge-entreno {
    background: #ff8c00;
    color: #000;
}

.badge-free {
    display: inline-block;
    background: #2a2a2a;
    color: #888;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: default;
}

.badge-free-propio {
    display: inline-block;
    background: #333;
    color: #ffb703;
    border: 1px dashed #ffb703;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
}

.badge-info-base {
    background: #ff8c00;
    color: #000;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.7rem;
}

.badge-link {
    display: inline-block;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.badge-link:hover {
    transform: scale(1.05);
}

.badge-novedad {
    background: #e74c3c;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 5px;
    text-transform: uppercase;
    animation: blink 2s infinite;
}

.badge-oro {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.badge-piloto-oficial {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 180, 216, 0.3);
}

.badge-plata {
    background: linear-gradient(135deg, #e0e0e0 0%, #a0a0a0 100%);
    color: #111;
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.3);
}

.badge-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.badge-proximo {
    background: #27ae60;
}

.badge-socio {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0055ff;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.4);
}

.badge-socio-promo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-socio-promo:hover {
    background: #ffd700;
    color: #111;
    border-color: transparent;
    transform: scale(1.05);
}

.badge-staff {
    background: linear-gradient(135deg, #c7c7c7 0%, #e7e7e7 100%);
    color: #000000;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

.badge-twitch {
    background: #6441a5;
}

.barra-acceso-base {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.98);
    border-top: 2px solid #ff8c00;
    padding: 12px 20px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
}

.benefits-list {
    list-style: none;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.75);
    padding-left: 20px;
}

.benefits-list .check::before {
    content: "✔";
    color: #28a745;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.benefits-list .cross::before {
    content: "✖";
    color: #dc3545;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.benefits-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.body-perfil {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.body-react, .html-react {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

.botones_perfil {
    margin-top: 25px;
}

.botones_textos {
    margin-top: 25px;
    margin-bottom: 20px;
}

.botones_textos a {
    text-decoration: none;
    color: white;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-ac {
    border-bottom: 5px solid #ffffff;
}

.btn-acc {
    border-bottom: 5px solid #ef4444;
}

.btn-arrow {
    background: #222;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.btn-cancel {
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cancelar {
    background: #333;
    color: #aaa;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cap {
    padding: 8px 12px;
    background: #222;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-cap.active {
    background: #fc3232;
}

.btn-enviar-oferta {
    background: #0055ff;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-enviar-oferta:hover {
    background: #0044cc;
}

.btn-fichar {
    width: 100%;
    background: #ff2a2a;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-fichar.is-disabled {
    background: #333;
    color: #888;
    cursor: pointer;
    border: 1px solid #444;
}

.btn-fichar.is-disabled:hover {
    background: #3a2020;
    color: #ff8888;
    border-color: #ff4444;
}

.btn-fichar:hover {
    background: #e02222;
}

.btn-jefe-action {
    background: transparent;
    border: 1px solid #ffca28;
    color: #ffca28;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-jefe-action:hover {
    background: #ffca28;
    color: #000;
}

.btn-mensaje {
    display: inline-block;
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-mensaje:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.btn-miembro-base {
    background: #ff8c00;
    color: #000;
    padding: 5px 14px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.btn-nav {
    padding: 12px 25px;
    background: #fc3232;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    min-width: 120px;
    transition: 0.2s;
}

.btn-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #28a745;
}

.btn-rrr {
    border-bottom: 5px solid #79b928;
}

.btn-secondary {
    background-color: #007bff;
}

.btn-wrc {
    border-bottom: 5px solid #005ca7ff;
}


.button, button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #1d1d1d;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: 10px;
    margin: auto;
    margin-bottom: 10px;
}

.button:hover {
    background-color: #fa0707;
}

.button:hover, button:hover {
    background-color: #fa0707;
    color: #ffffff;
}

.button_perfil {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #1d1d1d;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
}

.button_perfil:hover {
    background-color: #fa0707;
    color: #ffffff;
}

.card {
    width: 400px;
    height: 250px;
    perspective: 1000px;
    background-image: url('../img/fondo_carnet.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.card h1 {
    color: rgb(255, 255, 255);
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card-piloto {
    position: relative;
    background: rgba(18, 18, 18, 0.88);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 22px 20px;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-piloto.card-comisario {
    border: 2px solid #f77f00;
    background: linear-gradient(145deg, #1f140a 0%, #0d0d0d 100%);
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.2);
}

.card-piloto.card-free {
    border: 1px solid #2a2a2a;
    opacity: 0.88;
}

.card-piloto.card-oro {
    border: 2px solid #ffd700;
    background: linear-gradient(145deg, #18160c 0%, #0d0d0d 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.card-piloto.card-piloto-oficial {
    border: 1px solid #00b4d8;
    background: linear-gradient(145deg, #0a171f 0%, #0d0d0d 100%);
}

.card-piloto.card-plata {
    border: 1px solid #c0c0c0;
    background: linear-gradient(145deg, #141619 0%, #0d0d0d 100%);
}

.card-piloto.card-staff {
    border: 2px solid #e63946;
    background: linear-gradient(145deg, #1c0d0e 0%, #0d0d0d 100%);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.25);
}

.card-piloto.is-premium {
    border: 1px solid #ffd700;
    background: linear-gradient(145deg, rgba(28, 25, 15, 0.92), rgba(18, 18, 18, 0.95));
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.card-piloto.is-premium .avatar-container {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.card-piloto.is-premium:hover {
    border-color: #ffe55c;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.35);
}

.card-piloto:hover {
    transform: translateY(-4px);
    border-color: #ff2a2a;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.chapter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.chapter-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.chat-btn-submit {
    background: #e10600;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
}

.chat-btn-submit:active {
    transform: scale(0.98);
}

.chat-btn-submit:disabled {
    background: #555566;
    cursor: not-allowed;
}

.chat-btn-submit:hover {
    background: #b30500;
}

.chat-empty p {
    margin: 4px 0;
}

.chat-header-box {
    padding: 18px 24px;
    background: #111116;
    border-bottom: 1px solid #2a2a35;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-input-form {
    padding: 16px 20px;
    border-top: 1px solid #2a2a35;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input-simple {
    width: 100%;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    box-sizing: border-box;
}

.chat-loading, .chat-empty, .chat-no-team {
    margin: auto;
    text-align: center;
    color: #8a8a9e;
    font-size: 0.95rem;
}

.chat-main-wrapper {
    max-width: 950px;
    margin: 25px auto;
    background: #18181f;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 78vh;
    border: 1px solid #2d2d38;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #f1f1f1;
    overflow: hidden;
}

.chat-messages-container {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #14141a;
}

.chat-messages-container::-webkit-scrollbar {
    width: 6px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
    background: #2d2d38;
    border-radius: 4px;
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
    background: #3f3f50;
}

.chat-messages-container::-webkit-scrollbar-track {
    background: #14141a;
}

.chat-status-badge {
    background: #1e2922;
    color: #4cd964;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #275432;
}

.chat-textarea {
    flex: 1;
    background: #23232d;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 12px 16px;
    color: #000000;
    font-size: 0.95rem;
    resize: none;
    outline: none;
    max-height: 120px;
    font-family: inherit;
    transition: border-color 0.2s;
}



.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.8rem;
    color: #ccc;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
}

.chk-member-label {
    font-size: 13px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 10px;
    background: #1c1c24;
    border-radius: 6px;
    border: 1px solid #2a2a35;
    transition: background 0.15s ease;
}

.chk-member-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #ffca28;
    cursor: pointer;
}

.chk-member-label:hover {
    background: #252532;
}

.circulo-react {
    border-radius: 50%;
    background-color: red;
    position: absolute;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: rgb(255, 255, 255);
    text-decoration: none;
    cursor: pointer;
}

.color-box {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border-radius: 3px;
    border: 1px solid #666;
    background-color: #ccc;
    flex-shrink: 0;
}

.color-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.color-wrapper input[type="number"] {
    flex: 1;
    min-width: 0;
}

.compact-info {
    margin-top: 10px;
    color: #eee;
}

.compact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comparison-section {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    height: 550px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.container-react {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0px;
}



.container_footer {
    max-width: 1200px;
}

.container_form_select {
    display: block;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
    text-align: center;
}

.container_form_select form {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 25px;
    border-radius: 8px;
}

.content {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.content_textos {
    max-width: 1200px;
    margin: 10px auto;
    margin-top: 30px;
    background-color: white;
    padding: 20px;
}

.curso-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
}

.curva-input-group {
    background: #fff;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.curva-input-group label {
    font-size: 0.8rem;
    color: #fc3232;
    display: block;
    margin-bottom: 4px;
}

.curvas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.custom-button-discord {
    color: #7289DA;
}

.custom-button-discord:hover {
    background-color: #7289DA;
    color: white;
}

.custom-button-whatsapp {
    color: #17d244;
}

.custom-button-whatsapp, .custom-button-discord {
    padding: 5px;
    text-align: center;
    text-decoration: none;
    background-color: rgb(61, 61, 61);
    transition: background-color 0.3s ease;
    margin-top: 5px;
    display: block;
    width: 100%;
}

.custom-button-whatsapp:hover {
    background-color: #17d244;
    color: white;
}

.decoracion-vrg {
    position: absolute;
    bottom: -15px;
    right: -5px;
    font-size: 70px;
    color: rgba(255,255,255,0.03);
    font-style: italic;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
}

.descripcion-juego {
    margin: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #333;
    padding: 10px;
    background-color: #242424;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.destinatarios-box {
    margin-top: 14px;
    background: #141419;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #333;
}

.difficulty-label-react {
    font-size: 1rem;
    margin: 5px 0;
}

.dot {
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: #e74c3c;
    box-shadow: 0 0 5px #e74c3c;
}

.edit-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
 .seccion-publica-box {
      background: #1e1e1e;
      border: 1px solid #333;
      border-radius: 8px;
      padding: 15px;
      margin-top: 20px;
      margin-bottom: 20px;
    }
    .seccion-titulo {
      color: #00d4ff;
      font-size: 16px;
      margin-top: 0;
      margin-bottom: 15px;
      border-bottom: 1px solid #333;
      padding-bottom: 8px;
    }
    .aviso-normas-box {
      background: rgba(220, 53, 69, 0.1);
      border: 1px solid #dc3545;
      border-left: 4px solid #dc3545;
      border-radius: 6px;
      padding: 12px 15px;
      margin-bottom: 20px;
      color: #e0e0e0;
      font-size: 12.5px;
      line-height: 1.5;
    }
    .aviso-normas-box strong {
      color: #ff6b6b;
      display: block;
      margin-bottom: 4px;
      font-size: 13px;
    }
    .campo-ayuda {
      font-size: 11px;
      color: #888;
      margin-top: 3px;
      margin-bottom: 8px;
      display: block;
      line-height: 1.3;
    }
    .avatar-preview-container {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 15px;
    }
    .avatar-frame-estandar {
      width: 75px;
      height: 75px;
      border-radius: 50%;
      border: 2px solid #555;
      object-fit: cover;
    }
    .avatar-frame-premium {
      width: 75px;
      height: 75px;
      border-radius: 50%;
      object-fit: cover;
      padding: 3px;
      background: linear-gradient(45deg, #FFD700, #ff8c00, #ffee55, #FFD700);
      background-size: 300% 300%;
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    }
    .checkbox-simple-label {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      margin-top: 6px;
      margin-bottom: 15px;
      color: #ffffff;
      font-size: 13px;
    }


.empty-muro {
    text-align: center;
    grid-column: 1 / -1;
    color: #aaa;
    background: rgba(18, 18, 18, 0.85);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.enlaces_footer {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: -10px;
}

.error-msg {
    color: #d32f2f;
    font-size: 15px;
    margin: 4px 0 10px 0;
}

.event-block {
    border-top: 1px solid #333;
    margin-top: 10px;
    padding-top: 10px;
}

.event-block h4 {
    font-size: 0.85rem;
    color: #ff8c00;
    margin: 0 10px 0 0;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
}

.event-block p {
    font-size: 1rem;
    margin: 0;
    color: #ccc;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}

.event-container {
    background-color: #1d1d1d;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.event-container h3 {
    font-size: 1.3rem;
    margin: 5px 0;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.event-container:hover {
    transform: translateY(-3px);
    border-color: #ff8c00;
}

.event-date {
    font-size: 0.8rem;
    margin-top: 6px;
}

.event-past {
    opacity: 0.6;
    filter: grayscale(0.5);
}

.evento {
    margin-bottom: 20px;
}

.evento h2 {
    font-size: 1em;
    color: #ff0b0bff;
    margin-bottom: 10px;
    font-weight: 600;
}

.evento hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.evento p {
    margin: 5px 0;
    color: #555;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fallback-footer {
    text-align: center;
    opacity: 0.4;
}

.fallback-footer img {
    width: 70px;
    margin-bottom: 10px;
}

.fastest-driver td {
    color: rgb(82, 255, 82);
}

.fastest-sector {
    color: rgb(194, 0, 194);
}

.filter-container {
    margin: 10px;
    text-align: center;
}

.filter-container select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-width: 50%;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.footer {
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    margin-top: 100px;
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    padding-top: 15px;
    margin: 10px auto;
}
.derechos_footer{
    text-align: center;
}




.footer-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.footer-slide.active {
    display: block;
}

.form-container {
    max-width: 800px;
    margin: 10px auto;
    padding: 28px;
    border-radius: 10px;
    background: rgba(36, 36, 36, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 2px solid #ccc;
    background-color: transparent;
    color: #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: #0d0e12;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.front {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotateY(0deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffffff;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.game-info-react {
    margin-top: 10px;
    font-size: 1rem;
}

.gt-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.gt-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.gt-badge-abierto {
    background: #fde8e8;
    color: #dc3545;
}

.gt-badge-cerrado {
    background: #e8f8f0;
    color: #28a745;
}

.gt-btn-delete {
    color: #dc3545;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: bold;
}

.gt-btn-export {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

.gt-btn-export:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.gt-btn-submit {
    margin-top: 0;
    padding: 6px 12px;
    font-size: 0.85rem;
    width: auto;
    background-color: #28a745;
}

.gt-btn-submit:hover {
    background-color: #218838;
}

.gt-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #007bff;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gt-card.cerrado {
    border-left-color: #28a745;
    background: #fdfdfd;
}

.gt-description-box {
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    max-height: 120px;
    overflow-y: auto;
}

.gt-form label {
    margin-top: 6px;
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.gt-form select, .gt-form textarea {
    padding: 6px;
    font-size: 0.85rem;
    height: auto;
    margin-bottom: 6px;
}

.gt-form textarea {
    height: 60px;
}

.gt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.gt-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.gt-info-compact {
    font-size: 0.85rem;
    color: #555;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.gt-info-compact p {
    margin: 2px 0;
    line-height: 1.3;
}

.gt-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.home-info-wrapper {
    z-index: 2;
    padding: 10px;
}

.home-panel-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    aspect-ratio: 17 / 9;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,2);
    background: #1d1d1d;
}

.home-panel-card::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: all 0.3s ease;
}

.home-panel-card:hover {
    transform: translateY(-5px);
}

.home-subtitle-index {
    color: rgba(255, 0, 0, 0.89);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
}

.home-title-index {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.icon-menu {
    display: none;
}

.idx-premium {
    border-left: 12px solid #ff0b0bff;
}

.idx-premium:hover {
    border-left: 12px solid #fff;
}

.idx-standard {
    border-left: 5px solid #333;
}

.idx-standard:hover {
    border-left: 5px solid #ff0b0bff;
}

.imagenes_menu {
    margin-bottom: 10px;
}

.img-fluid {
    width: 100%;
    height: auto;
    max-width: 100%;
    cursor: pointer;
}

.info-icon {
    cursor: pointer;
    font-size: 0.8em;
    vertical-align: super;
}

.juego-description {
    font-size: 0.9rem;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.juego-link {
    text-decoration: none;
    color: inherit;
}

.juego-panel {
    width: 250px;
    height: 220px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #242424;
    border: 2px solid #ff0000;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.juego-panel:hover {
    background-color: #0e0e0e;
    transform: scale(1.05);
}

.juego-react {
    width: 80vw;
    max-width: 600px;
    height: 55vh;
    margin: 20px auto;
    position: relative;
    background-color: #ececec;
    border: 2px solid #ccc;
}

.juego-title {
    font-size: 1.4rem;
    margin: 10px 0;
    color: #ffffff;
    font-weight: bold;
}

.juegos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.juegos-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.legal-links {
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    color: #ffffff;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.legal-links a:hover {
    text-decoration: underline;
}

.log-form-group input, .log-form-group select, .log-form-group textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.log-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.logbook-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 25px;
    background: #1d1d1d;
    border-radius: 12px;
    border-top: 5px solid #fc3232;
}

.logbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.logbook-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.logo_menu {
    width: 55px;
    height: 100%;
    margin-top: 0px;
}

.logo_vrg {
    width: 160px;
    height: 100%;
    margin-top: 0px;
    justify-content: left;
}

.luz {
    width: 80px;
    height: 80px;
    margin: 10px auto;
    border-radius: 50%;
    background-color: gray;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mensaje-texto {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 400;
}

.menu-juegos-container {
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.menu-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.message {
    font-size: 1.2em;
    color: #555;
    margin: 20px;
    text-align: center;
}

.meta-react {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    width: 100px;
    animation: metaAnim-react 2s forwards;
}

.mobile-cap-selector {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.modal-oferta-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-oferta-container {
    background: #1a1c23;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.modal-oferta-footer {
    background: #111217;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #2a2d3a;
}

.modal-oferta-header {
    background: #111217;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2d3a;
}

.modal-oferta-header h2 {
    font-size: 1.05rem;
    color: #ffd700;
    margin: 0;
}

.modal-oferta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.msg-author {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #e10600;
}

.msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2d2d38;
    flex-shrink: 0;
}

.msg-bubble {
    background: #23232d;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
    color: #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.msg-content {
    display: flex;
    flex-direction: column;
}

.msg-time {
    font-size: 0.68rem;
    color: #717182;
    margin-top: 4px;
}

.msg-wrapper {
    display: flex;
    gap: 12px;
    max-width: 75%;
}

.msg-wrapper.other {
    align-self: flex-start;
}

.msg-wrapper.other .msg-bubble {
    border-top-left-radius: 2px;
}

.msg-wrapper.self {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-wrapper.self .msg-author {
    text-align: right;
    color: #64b5f6;
}

.msg-wrapper.self .msg-bubble {
    background: #0056b3;
    color: #ffffff;
    border-top-right-radius: 2px;
}

.msg-wrapper.self .msg-time {
    text-align: right;
}

.muro-container {
    max-width: 1200px;
    margin: 30px auto 50px auto;
    padding: 0 20px;
}

.muro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.muro-title-box {
    text-align: left;
    margin-bottom: 25px;
}

.muro-title-box p {
    font-size: 14px;
    margin: 0;
}

.nav-buttons-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}

.nav-footer-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.option-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    text-decoration: none;
    color: #000;
    background-color: #f1f1f1;
    border: 1px solid #000000;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #fc3232;
    color: white;
    border: 1px solid #000000;
}

.pagination a:hover:not(.active) {
    background-color: #f04b4b;
}

.palmares-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 11px;
    color: #ddd;
}

.palmares-lista li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.palmares-lista li::before {
    content: "🏆";
    position: absolute;
    left: 0;
    font-size: 9px;
    top: 1px;
}

.palmares-titulo {
    font-size: 11px;
    color: #ffc107;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.5px;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #000000;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.password-container {
    position: relative;
    margin-bottom: 12px;
}

.perifericos-group label, .simuladores-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.perifericos-group, .simuladores-group {
    margin: 20px 0 10px 0;
}

.pill {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pill-orange {
    color: #ff8c00;
    border: 1px solid rgba(255,140,0,0.5);
    background: rgba(255,140,0,0.15);
    font-weight: bold;
    font-size: 1rem;
}

.pill-req {
    background: #444;
    color: #fff;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid #777;
    font-weight: bold;
}

.piloto-alias {
    font-size: 13px;
    color: #ffc107;
    margin-bottom: 8px;
    display: block;
    font-weight: 700;
}

.piloto-bio {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 14px;
    line-height: 1.45;
    text-align: justify;
}

.piloto-equipo {
    font-size: 12px;
    color: #00d4ff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.piloto-meta {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 12px;
}

.piloto-nombre {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.piloto-palmares {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    text-align: left;
}

.piloto-redes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pregunta {
    margin-bottom: 20px;
}

.pregunta img {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 10px 0;
}

.profile-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-image: url("../img/fondo_perfil.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Corrección de alineación de información de perfil */
.profile-info {
    display: flex;
    align-items: center;       /* Alinea verticalmente etiqueta y valor al centro */
    margin-bottom: 10px;       /* Espaciado vertical entre filas */
    text-align: left;          /* Asegura lectura a la izquierda */
}

.profile-info label {
    font-weight: bold;
    min-width: 120px;          /* OBLIGA a que todas las etiquetas midan 120px */
    margin-bottom: 0;          /* Quita márgenes por defecto de bootstraps/labels */
    flex-shrink: 0;            /* Impide que la etiqueta se encoja */
}

.profile-info span {
    flex: 1;
    word-break: break-word;    /* Para que correos o textos largos no rompan el layout */
}


.red-link {
    color: #fff;
    background: #222;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.red-link:hover {
    background: #333;
    border-color: #00d4ff;
    color: #00d4ff;
}

.redes_footer {
    text-align: center;
    color: rgb(255, 255, 255);
}

.redes_footer i {
    color: rgb(255, 255, 255);
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.resolution-inputs {
    display: none;
}

.rojo {
    background-color: red;
}

.roleplay-intro {
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-left: 3px solid #0055ff;
    padding-left: 10px;
}

.search-container {
    position: absolute;
    top: 100px;
    right: 290px;
}

.section {
    display: none;
}


.sel-title span {
    color: #ef4444;
}

.sel-wrapper {
    text-align: center;
}

.semaforo {
    width: 100px;
    height: 300px;
    margin: 20px auto;
    background-color: black;
    padding: 10px;
    border-radius: 10px;
}

.separador-footer {
    border-top: 1px solid #333;
    margin: 20px 0;
}

.sim-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.05);
    padding: 20px;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
      background: #111; 
}

.sim-card-btn:hover {
    transform: translateY(-10px);
    border-color: #ef4444;
}

.sim-name {
    color: white;
    font-size: 1.4rem;
    font-weight: 900;
    margin-top: 15px;
    text-transform: uppercase;
}

.sim-tag {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.sim-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.simulador-label {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.slide-dots {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
}

.slider-container-react {
    margin: 10px 0;
}

.slider-react {
    width: 80%;
}

.sr-button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.sr-button-group .sr-cta-button {
    flex: 1 1 200px;
    text-align: center;
}

.sr-capitulo {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.sr-capitulo h3 {
    color: #ff4500;
}

.sr-capitulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sr-cta-button {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
    border-radius: 5px;
}

.sr-cta-button:hover {
    background-color: #ff6347;
}

.sr-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sr-image-caption {
    margin-top: 1rem;
    font-style: italic;
}

.sr-image-container {
    width: 45%;
    margin-bottom: 2rem;
    text-align: center;
}

.sr-image-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem auto;
}

.sr-main {
    padding-top: 0;
    overflow-x: hidden;
}

.sr-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.sr-section {
    padding: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.sr-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4cd964;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cd964;
}

.status-tag {
    font-size: 0.7em;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    width: fit-content;
}

.success-message {
    color: green;
}

.swiper-slide {
    border-radius: 10px 10px;
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.tab-btn {
    padding: 10px 20px;
    background: #e0e0e0;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #444;
    transition: 0.2s;
}

.tab-btn.active {
    background: #fc3232;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tabla-historial {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.85rem;
}

.tabla-historial td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.tabla-historial th {
    background: #222;
    color: white;
    padding: 10px;
    text-align: left;
}

.table-container {
    width: 100%; /* Forzar al contenedor a ocupar todo el ancho del elemento padre */
    max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: rgb(0, 0, 0, 0.5);
    border-radius: 10px;
    border: solid 1px #ffffff;
}

.tag {
    background: #222;
    color: #00d4ff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 4px;
    border: 1px solid #333;
}

.tag-future {
    background: #ff8c00;
    color: #fff;
}

.tag-past {
    background: #555;
    color: #fff;
}

.texto-info-base {
    color: #eee;
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Segoe UI', sans-serif;
}

.titulo-footer {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.titulo-react {
    font-size: 1.2rem;
    margin: 10px 0;
}

.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 25px;
}

.track-label {
    font-size: 1.05rem;
    font-weight: bold;
}

.tutorial-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px;
    transition: transform 0.2s;
}

.tutorial-card h4 {
    color: #eee;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tutorial-card:hover {
    transform: translateY(-3px);
    border-color: #ff8c00;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 15px;
    justify-content: center;
}

.tutorial-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 140, 0, 0.05);
    border-radius: 10px;
}

.user-info {
    text-align: center;
    font-size: 20px;
}

.usuario-info {
    margin-top: 15px;
    margin-bottom: 15px;
}

.verde {
    background-color: green;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    border: none;
}

.video-container iframe, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-counter {
    font-size: 0.9rem;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-description-box {
    margin-top: 15px;
    padding: 15px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    border-left: 4px solid #fc3232;
    font-size: 1rem;
}

.video-main-display {
    width: 100%;
    background: #000;
    border-radius: 8px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-wrapper {
    display: none;
    width: 100%;
    height: 100%;
}

.visible {
    display: block;
}

.vrg-about, .sr-benefits, .sr-bonus {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.vrg-benefits-list {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: none;
}

.vrg-benefits-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.vrg-benefits-list li::before {
    content: "✔";
    color: #28a745;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.vrg-btn-submit {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.vrg-btn-submit:disabled {
    background-color: #ccc;
}

.vrg-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vrg-content-col {
    flex: 1 1 500px;
    order: 2;
}

.vrg-error-message {
    color: #dc3545;
}

.vrg-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.vrg-form-group {
    margin-bottom: 15px;
}

.vrg-highlight {
    color: #ff4500;
    font-weight: bold;
}

.vrg-img-col {
    flex: 1 1 300px;
    order: 1;
}

.vrg-info-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #e9f7ff;
    border: 1px solid #cce5ff;
    border-radius: 4px;
    color: #0056b3;
}

.vrg-input, #card-element {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.vrg-label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.vrg-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.vrg-message {
    color: #28a745;
}

.vrg-message, .vrg-error-message {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.vrg-spinner {
    display: none;
    text-align: center;
}

.vrg-title {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}





/*Perfil y VRP*/
   .vrp-alert {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

       .vrp-card {
     background-color: #1d1d1d;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

        .vrp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .vrp-total { color: #00d4ff; font-size: 24px; font-weight: bold; }
        .racha-label { color: #aaa; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
        .progress-container { background: #333; border-radius: 20px; height: 12px; width: 100%; overflow: hidden; margin-top: 8px; margin-bottom: 5px; }
        .progress-bar-vrp { background: linear-gradient(90deg, #00d4ff, #0056b3); height: 100%; transition: width 0.5s ease; }
        
        .bonus-text { font-size: 11px; color: #ffc107; text-transform: uppercase; letter-spacing: 1px; }
        .retiro-status { font-size: 11px; color: #aaa; text-transform: uppercase; font-weight: bold; }
        
        /* Modal de Canje VRP */
        .modal-canje-bg { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
        .modal-canje-box { background-color: #1a1a1a; border: 1px solid #333; margin: 10% auto; padding: 25px; border-radius: 12px; width: 90%; max-width: 480px; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
        .option-label { display: block; padding: 12px; background: #252525; border: 1px solid #3d3d3d; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: background 0.2s; }
        .option-label:hover { background: #303030; }

        /* Estilos específicos para el Modal de Ofertas */
        .modal-ofertas-bg { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
        .modal-ofertas-box { background-color: #1a1a1a; border: 1px solid #333; padding: 25px; border-radius: 12px; width: 90%; max-width: 600px; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.5); max-height: 85vh; overflow-y: auto; }
        .badge-num-ofertas { background: #ff2a2a; color: #fff; font-size: 11px; font-weight: bold; padding: 2px 7px; border-radius: 10px; margin-left: 6px; }


/*VRP*/

@keyframes blink {
    0% { opacity: 1;
    }

    50% { opacity: 0.6;
    }

    100% { opacity: 1;
}
}
@keyframes fadeIn {
    from { opacity: 0;
    transform: translateY(0);
    }

    to { opacity: 1;
}
}
@keyframes metaAnim-react {
    0% {

      top: -100px;
    opacity: 0;
    }

  50% {

      top: 30%;
    }

  100% {

      top: 50%;
}
}
a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.3s;
}

a:hover {
    color: #ff0000;
}

div.championship {
    border-radius: 10px;
    overflow: hidden;
}

/* ==========================================================================
   SISTEMA UNIFICADO DE FORMULARIOS E INPUTS
   ========================================================================== */

/* 1. Reset universal del modelo de caja para formularios */
input, select, textarea, button {
    box-sizing: border-box;
    font-family: inherit;
}

/* 2. Todos los campos de texto, números, desplegables y áreas de texto */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    color: #ffffff;                       /* Color de texto (Ajustar si tu fondo es claro/oscuro) */
    background-color: rgba(0, 0, 0, 0.4);  /* Fondo sutil e integrado */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    outline: none;
}

/* 3. Ajuste visual al hacer foco (clic/selección sobre el campo) */
input:focus, 
select:focus, 
textarea:focus {
    border-color: #fc3232;                 /* Borde rojo de tu marca al enfocar */
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(252, 50, 50, 0.3);
}

/* 4. Altura y flecha personalizada para selects desplegables */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 45px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%3cffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Selects de selección múltiple */
select[multiple] {
    height: auto;
    min-height: 100px;
    background-image: none;
    padding-right: 15px;
}

/* Áreas de texto (textarea) */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* 5. Casillas de verificación (Checkboxes) */
input[type="checkbox"],
input[type="checkbox"].checkbox-visible {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #fc3232;                /* Pinta el check de rojo nativo */
}

/* 6. Botones de Envío (Submit) */
input[type="submit"],
button[type="submit"] {
    width: 100%;
    padding: 14px 25px;
    background-color: #fc3232;             /* Rojo corporativo */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #d92020;             /* Rojo un poco más oscuro al pasar el cursor */
}

input[type="submit"]:active,
button[type="submit"]:active {
    transform: scale(0.98);                 /* Efecto de pulsación */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

img {
    width: 100%;
    height: auto;
}


nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: block;
    padding: 5px;
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ff0000;
}

ol li {
    margin-top: 10px;
}

p, ul {
    color: #ffffff;
}

select, input[type="email"], input[type="text"], input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
  
}


table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}


textarea {
    min-height: 150px;
    max-height: 400px;
    resize: vertical;
}

th {
    background-color: rgb(0, 0, 0, 0.8);
    top: 0;
    z-index: 1;
}

th, td {
    padding: 8px;
    text-align: left;
    color: white;
}

ul li {
    margin-top: 10px;
}

/* ==========================================================================
   MEDIA QUERIES (@media)
   ========================================================================== */

@media (max-width: 600px) {
    .btn-nav {
        padding: 10px 20px;
        min-width: 100px;
        font-size: 0.85rem;
    }

    .chapter-grid {
        display: none;
    }

    .event-block h4, .event-block p {
        display: block;
        white-space: normal;
    }

    .event-date {
        font-size: 0.8rem;
        margin-top: 6px;
        font-style: italic;
    }

    .evento h2 {
        font-size: 0.9em;
    }

    .eventos-grid {
        grid-template-columns: 1fr;
    }

 .menu-juegos-container {
        padding-left: 10px ;
        padding-right: 10px ;
        overflow-x: hidden;
    }

    .juegos-grid {
        display: flex ;
        flex-wrap: wrap ;
        justify-content: space-between;
        gap: 10px 0 ; /* 10px entre filas, 0 entre columnas */
        width: 100% ;
        box-sizing: border-box ;
    }

    .juego-link {
        /* Obliga a que cada tarjeta ocupe exactamente el 48% para dejar un 4% de margen en medio */
        flex: 0 0 48% ;
        max-width: 48% ;
        min-width: 0 ; /* Anula cualquier min-width previo que rompa el tamaño */
        box-sizing: border-box;
        margin: 0 ;
    }

    .juego-panel {
        width: 100% ;
        padding: 10px 8px ; /* Relleno compacto para que no desborde el texto */
        box-sizing: border-box ;
    }

    .juego-title {
        font-size: 0.85rem ; /* Tamaño de letra adecuado a media pantalla */
        word-wrap: break-word;
    }

    .juego-description {
        font-size: 0.75rem ;
        line-height: 1.2;
    }
    .logbook-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .mobile-cap-selector {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-buttons-row {
        display: flex;
    }

    .sim-name {
        font-size: 1rem;
    }

    .simulador-label {
        font-size: 0.8rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .tab-btn {
        border-radius: 6px;
    }

    .video-counter {
        font-size: 0.8rem;
    }

    .video-description-box {
        font-size: 0.9rem;
    }

    form {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
        gap: 12px;
    }

    h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    img.ayuda {
        display: none;
    }
body {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {

    #sr-hero {
        background-color: rgba(255, 3, 3, 0.7);
        color: white;
        text-align: center;
        padding: 10px 1rem;
        position: relative;
    }

    #sr-hero-curso {
        background-color: rgba(255, 238, 0, 0.7);
        color: #181818;
        text-align: center;
        padding: 10px 1rem;
        position: relative;
    }


    .btn-mensaje {
        width: 100%;
        text-align: center;
    }

    .button, button {
        display: block;
        width: 90%;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .button-container .col-12 {
        margin-bottom: 10px;
    }

    .comparison-section {
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.75);
        border: 1px solid #ddd;
        border-radius: 8px;
        margin: 10px;
        padding: 20px;
        width: 100%;
        max-width: 320px;
        height: 600px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .container_form_select form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
        padding: 15px;
    }

    .container_form_select label {
        margin-right: 0;
        align-self: flex-start;
    }

    .container_form_select select {
        width: 100%;
        margin: 5px 0;
    }

    .decoracion-vrg {
        font-size: 50px;
        bottom: -10px;
    }

    .filter-container select {
        max-width: 90%;
    }

    .footer {
        padding: 10px;
        margin-top: 50px;
        font-size: 12px;
    }

    .home-info-wrapper {
        padding: 5px;
    }

    .home-panel-card {
        aspect-ratio: 22 / 11;
    }

    .home-subtitle-index {
        font-size: 0.6rem;
    }

    .home-title-index {
        font-size: 0.85rem;
        letter-spacing: 0px;
    }

    .icon-menu {
        display: block;
        color: #000000;
        font-size: 24px;
        cursor: pointer;
    }

    .logo_menu {
        width: 38px;
    }

    .logo_vrg {
        width: 130px;
    }

    .mensaje-texto {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .menu-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .menu_cabecera {
        height: 60px;
    }
    .container_cabecera{
            position: sticky;
    }

    .search-container, #searchInput {
        display: none;
    }

    .sr-image-container {
        width: 100%;
    }

    .sr-title {
        font-size: 2rem;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vrg-content-col {
        order: 2;
        flex: 1 1 100%;
    }

    .vrg-img-col {
        order: 1;
        flex: 1 1 100%;
    }


    input[type="checkbox"]:checked ~ nav {
        opacity: 1;
        pointer-events: auto;
    }

    nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(66, 66, 66, 0.9);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    table {
        margin-top: 10px;
        min-width: 600px;
        font-size: 11px;
    }

    th, td {
        border: 1px solid rgb(0, 0, 0);
        padding: 4px 2px;
    }

}

@media (max-width: 800px) {
    .button-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .card {
        width: 100%;
        height: 220px;
    }

    .container_footer {
        max-width: 100%;
    }

    .content_textos {
        max-width: 900px;
        margin: 10px;
        margin-top: 30px;
        background-color: white;
    }

    .custom-button-whatsapp, .custom-button-discord {
        padding: 5px;
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }

    .profile-container {
        max-width: 100%;
        margin: 10px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

}


@media (min-width: 768px) {
    .atencion-image {
        width: 250px;
        height: 250px;
    }

    .atencion-image-container {
        justify-content: center;
        gap: 15px;
    }

    .comparison-section {
        width: 45%;
    }

    .juego-react {
        width: 60vw;
        max-width: 600px;
    }

}

@media (max-width: 767px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 769px) {
    .vrg-img-col {
        margin-top: 70px;
    }

}

    /* Contenedor principal para limitar el ancho en PC */

    .skins-main-container {

        max-width: 1000px;

        margin: auto;

        padding: 20px;

    }



    /* Estilo del envoltorio del vídeo para evitar que sea borroso en PC */

    .video-tutorial-wrapper {

        max-width: 850px;

        margin: 30px auto;

    }



    .video-tutorial-wrapper iframe {

        width: 100% !important;

        max-width: 100%;

        height: auto;

        aspect-ratio: 16 / 9;

        border: none;

        display: block;

        border-radius: 8px;

        box-shadow: 0 4px 15px rgba(0,0,0,0.2);

    }



    .color-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

    .color-box { width: 40px; height: 40px; border: 1px solid #000; border-radius: 4px; }

    

    .instrucciones {

        margin-top: 30px; 

        background:#242424;

        padding: 20px; 

        border-radius: 8px;

        border-left: 5px solid #D32F2F;

    }

  
        label { display: block; margin-top: 15px; font-weight: bold; color: white; }
        input[type="text"], input[type="number"], textarea, select, input[type="datetime-local"] {
            width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
        }
        .section { background: #f9f9f9; padding: 15px; border-radius: 6px; margin-top: 20px; border: 1px dashed #ddd; }
        .event-config { border: 2px solid #ff8c00; padding: 20px; margin-top: 15px; border-radius: 6px; position: relative; }
        .event-config h3 { margin-top: 0; color: #ff8c00; }
        .checkbox-group label { display: inline-block; font-weight: normal; margin-right: 15px; }
        .remove-event { position: absolute; top: 10px; right: 10px; background: #dc3545; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
        .add-event { background-color: #28a745; color: white; padding: 10px; border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
        .grid-half { grid-column: span 2; }
        .img-preview { max-width: 200px; margin-top: 10px; display: block; border: 1px solid #ddd; }
        .mandatory-pitstop-config { padding: 10px; border: 1px solid #ff8c00; border-radius: 4px; margin-top: 10px; }
        .pitstop-window-fields { display: none; padding: 10px; border: 1px dashed #555; border-radius: 4px; margin-top: 10px; }
        .rally-only { display: none; background: #fff3cd; padding: 10px; border-radius: 4px; margin-bottom: 10px; }
      #search {
      width: 100%;
      max-width: 400px;
      margin: 0 auto 30px auto;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      display: block;
    }
    #videoList {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }
    .video-item {
      background: #242424;
      padding: 10px;
      border-radius: 10px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      transition: transform 0.2s ease;
    }
    .video-item:hover {
      transform: scale(1.02);
    }
    .video-item a {
      text-decoration: none;
      color: inherit;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .video-item img {
      border-radius: 6px;
      width: 120px;
    }
    .video-item .hidden-video {
      color: red;
      font-style: italic;
      margin-top: 5px;
    }
    
    .tabla-sanciones tr { cursor: pointer; transition: background 0.2s; }
    .btn-video {
        display: inline-block;
        background: #242424;
        color: #ffffff;
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.85em;
        font-weight: bold;
        text-decoration: none;
        transition: background 0.2s;
    }
    .btn-video:hover { background: #000000; text-decoration: none; }
    
    .modal-vrg { 
        display: none; 
        position: fixed; 
        z-index: 9999; 
        left: 0; 
        top: 0; 
        width: 100%; 
        height: 100%; 
       background-color: #242424 !important; 
        overflow-y: auto; 
    }
    .modal-content { 
        background-color: #242424 !important; 
        margin: 5% auto; 
        padding: 25px; 
        border-radius: 10px; 
        width: 100%; 
        max-width: 650px; 
        position: relative; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        max-height: 85vh; 
        display: flex;
        flex-direction: column;
    }
    .close-modal { position: absolute; top: 15px; right: 25px; font-size: 30px; font-weight: bold; cursor: pointer; color: #aaa; }
    .close-modal:hover { color: #242424; }
    .modal-header { border-bottom: 2px solid #eee; padding-bottom: 15px; margin-bottom: 20px; flex-shrink: 0; }
    .modal-body { line-height: 1.7; white-space: pre-wrap; word-wrap: break-word; font-size: 1.05em; color: #ffffff; overflow-y: auto; padding-right: 10px; }
    