* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul: #003087;
    --amarillo: #FFD700;
    --azul-oscuro: #001a4d;
    --blanco: #ffffff;
    --gris-claro: #f5f5f5;
    --gris: #666;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
}

.seo-h1-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── FOOTER SIEMPRE ABAJO ─────────────────────────────── */
.panel-section,
.form-section,
.hero-split,
.info-split,
.cal-cat-split {
    flex: 1 0 auto;
}

/* ── TOPBAR ───────────────────────────────────────────── */
.topbar {
    background: var(--azul-oscuro);
    color: #ccc;
    padding: 8px 40px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

.topbar a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar a:hover { color: var(--amarillo); }

.topbar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--azul);
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--amarillo);
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--amarillo);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 500;
}

.navbar-links a:hover { color: var(--amarillo); }

.navbar-user {
    color: var(--amarillo);
    font-weight: 600;
    margin-left: 25px;
}

.navbar-inscripcion {
    background: var(--amarillo) !important;
    color: var(--azul) !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-family: 'Oswald', sans-serif !important;
    letter-spacing: 1px !important;
    transition: all 0.3s !important;
    box-shadow: 0 3px 12px rgba(255,215,0,0.4) !important;
    text-decoration: none !important;
}

.navbar-inscripcion:hover {
    background: white !important;
    color: var(--azul) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(255,215,0,0.6) !important;
}

/* ── BOTONES ──────────────────────────────────────────── */
.btn-primary {
    background-color: var(--amarillo);
    color: var(--azul);
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--azul);
    color: var(--amarillo);
}

.btn-full {
    width: 100%;
    padding: 14px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 5px;
}

/* ── HERO SPLIT ───────────────────────────────────────── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

/* ── CARRUSEL ─────────────────────────────────────────── */
.carrusel {
    position: relative;
    overflow: hidden;
    background: var(--azul-oscuro);
}

.carrusel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
}

.carrusel-slide {
    min-width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.carrusel-slide:nth-child(1) { background: linear-gradient(135deg, #001a4d, #003087); }
.carrusel-slide:nth-child(2) { background: linear-gradient(135deg, #003087, #0050cc); }
.carrusel-slide:nth-child(3) { background: linear-gradient(135deg, #0050cc, #003087); }

.carrusel-slide-inner {
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 40px;
}

.carrusel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carrusel-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.04));
}

.carrusel-escudo {
    height: 100px;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.5));
    margin-bottom: 15px;
}

.carrusel-texto {
    color: var(--amarillo);
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carrusel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carrusel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.carrusel-dot.active { background: var(--amarillo); }

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carrusel-btn:hover { background: var(--amarillo); color: var(--azul); }
.carrusel-btn.prev { left: 15px; }
.carrusel-btn.next { right: 15px; }

/* ── INFO CLUB (hero derecha) ─────────────────────────── */
.club-hero {
    background: var(--azul);
    color: white;
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.club-hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--amarillo);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.club-hero p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.club-valores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.valor-badge {
    background: var(--amarillo);
    color: var(--azul);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.club-hero .btn-primary {
    margin-top: 25px;
    align-self: flex-start;
}

/* ── INFO + HORARIOS SPLIT ────────────────────────────── */
.info-split {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-left {
    background: var(--gris-claro);
    padding: 50px 45px;
}

.info-right {
    background: white;
    padding: 50px 45px;
}

.info-split h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--azul);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--amarillo);
    display: inline-block;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item-icon {
    font-size: 1.5rem;
    min-width: 35px;
}

.info-item-text h4 {
    color: var(--azul);
    font-weight: 700;
    margin-bottom: 3px;
}

.info-item-text p {
    color: var(--gris);
    font-size: 0.9rem;
    line-height: 1.6;
}

.horario-tabla {
    width: 100%;
    border-collapse: collapse;
}

.horario-tabla tr { border-bottom: 1px solid #eee; }

.horario-tabla td {
    padding: 10px 5px;
    font-size: 0.9rem;
}

.horario-tabla td:first-child {
    font-weight: 700;
    color: var(--azul);
    width: 40%;
}

.horario-tabla td:last-child { color: var(--gris); }

.precio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.precio-item span:first-child { color: #333; font-size: 0.9rem; }
.precio-item span:last-child {
    font-weight: 700;
    color: var(--azul);
    font-size: 1rem;
}

.info-ropa {
    display: flex;
    flex-direction: column;
    background: var(--gris-claro);
}

.ropa-carrusel {
    position: relative;
    width: min(100%, 360px);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 48, 135, 0.1);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    margin: 8px auto 16px;
}

.ropa-carrusel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.ropa-slide {
    min-width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.ropa-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ropa-carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    z-index: 2;
}

.ropa-carrusel-btn.prev {
    left: 10px;
}

.ropa-carrusel-btn.next {
    right: 10px;
}

.ropa-carrusel-btn:hover {
    background: var(--amarillo);
    color: var(--azul);
}

.ropa-carrusel-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.ropa-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.ropa-dot.active {
    background: var(--amarillo);
}

.ropa-desc {
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 10px;
}

.ropa-desc-small {
    font-size: 0.92rem;
}

.warning-box-info {
    background: #eef5ff;
    border-left: 5px solid #2d6cdf;
    color: #1f3f77;
}

.warning-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--azul);
    font-weight: 700;
    text-decoration: underline;
}

.warning-link:hover {
    color: var(--azul-oscuro);
}

/* ── CALENDARIO + CATEGORIAS SPLIT ───────────────────── */
.cal-cat-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calendario-section {
    background: var(--azul);
    padding: 50px 45px;
    text-align: center;
}

.calendario-section h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--amarillo);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.calendario-section .sub {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.calendario-section img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.calendario-section p.aviso {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 15px;
}

.categorias-section {
    background: var(--gris-claro);
    padding: 50px 45px;
}

.categorias-section h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--azul);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.categorias-section .sub {
    color: var(--gris);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.categorias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.categoria-card {
    background: var(--azul);
    color: white;
    border-radius: 10px;
    padding: 15px 18px;
    border-left: 4px solid var(--amarillo);
    transition: transform 0.3s;
}

.categoria-card:hover { transform: translateX(5px); }

.categoria-card h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--amarillo);
    margin-bottom: 3px;
    font-size: 1rem;
}

.categoria-card p {
    font-size: 0.78rem;
    color: #ccc;
}

/* ── FORMULARIOS ──────────────────────────────────────── */
.form-section {
    min-height: calc(100vh - 130px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gris-claro);
    padding: 40px 20px;
}

.form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid var(--amarillo);
}

.form-card h1 { color: var(--azul); margin-bottom: 8px; }

.form-subtitle {
    color: #888;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus, select:focus {
    outline: none;
    border-color: var(--azul);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #666;
    padding: 6px;
    border-radius: 6px;
}

.password-toggle-btn:hover {
    background: #f2f2f2;
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--azul);
    outline-offset: 1px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: var(--azul);
    text-decoration: none;
    font-weight: 600;
}

.error-msg {
    background: #ffe0e0;
    color: #c0392b;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.success-msg {
    background: #e0ffe0;
    color: #27ae60;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* ── PANEL ────────────────────────────────────────────── */
.panel-section {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.panel-title {
    color: var(--azul);
    font-size: 2rem;
    margin-bottom: 8px;
}

.panel-subtitle {
    color: #888;
    margin-bottom: 30px;
}

/* ── JUGADORES GRID ───────────────────────────────────── */
.jugadores-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.jugador-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--amarillo);
}

.jugador-card h2 { color: var(--azul); margin-bottom: 10px; }

.jugador-card.nueva-inscripcion {
    border-top: 4px solid var(--azul);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jugador-card.nueva-inscripcion h2 { color: var(--azul); }
.jugador-card.nueva-inscripcion p { color: var(--gris); margin-bottom: 10px; }

.categoria-badge {
    background: var(--azul);
    color: var(--amarillo);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pago-info { margin-top: 15px; }

.pago-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.pagado { color: #27ae60; font-weight: 600; }
.pendiente { color: #e94560; font-weight: 600; }

/* ── TABLA ADMIN ──────────────────────────────────────── */
.tabla-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tabla-jugadores {
    width: 100%;
    border-collapse: collapse;
}

.tabla-jugadores th {
    background: var(--azul);
    color: var(--amarillo);
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
}

.tabla-jugadores td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.tabla-jugadores tr:hover { background: #f9f9f9; }

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
    display: flex;
    gap: 30px;
    background: var(--azul);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid var(--amarillo);
}

/* ── FILTROS ──────────────────────────────────────────── */
.filtros-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #eee;
}

.filtro-btn {
    background: white;
    border: 2px solid var(--azul);
    color: var(--azul);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.filtro-btn:hover, .filtro-btn.active {
    background: var(--azul);
    color: var(--amarillo);
}

/* ── BOTONES ACCION ───────────────────────────────────── */
.btn-accion {
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px;
    transition: opacity 0.3s;
}

.btn-accion:hover { opacity: 0.8; }
.btn-pago { background: #e8f5e9; color: #27ae60; }
.btn-borrar { background: #fce4ec; color: #e94560; }

/* ── CONTACTO ─────────────────────────────────────────── */
.contacto-link {
    color: var(--azul);
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
}

.contacto-link:hover { color: var(--amarillo); }

/* ── MODAL ────────────────────────────────────────────── */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-top: 4px solid var(--amarillo);
}

.modal-content h2 { color: var(--azul); margin-bottom: 8px; }

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button { flex: 1; }

/* ── INSCRIPCION ──────────────────────────────────────── */
.resumen-card {
    background: var(--gris-claro);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.resumen-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.resumen-total {
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 5px;
}

/* ── CONFIRMACION ─────────────────────────────────────── */
.confirmacion { text-align: center; padding: 20px 0; }
.confirmacion-icon { font-size: 4rem; margin-bottom: 15px; }
.confirmacion h1 { margin-bottom: 10px; color: var(--azul); }
.confirmacion .btn-primary { display: inline-block; margin-top: 25px; }

/* ── STRIPE ───────────────────────────────────────────── */
.card-element {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    background: white;
}

/* ── NO DATA ──────────────────────────────────────────── */
.no-data { color: #888; text-align: center; padding: 40px; }
.no-data a { color: var(--azul); font-weight: 600; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
    background-color: var(--azul-oscuro);
    color: #aaa;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.85rem;
    border-top: 3px solid var(--amarillo);
    margin-top: auto;
    flex-shrink: 0;
}

.footer strong { color: var(--amarillo); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-split, .info-split, .cal-cat-split { grid-template-columns: 1fr; }
    .carrusel-slide { height: 300px; }
    .topbar { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .categorias-grid { grid-template-columns: 1fr; }
    .navbar-center { position: static; transform: none; }
    .navbar { flex-wrap: wrap; gap: 10px; }
    .panel-section { padding: 20px; }
    .filtros-bar { padding: 15px 20px; }

    .ropa-carrusel {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .ropa-slide {
        height: 230px;
    }
}
.trabaja-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 600px;
    flex: 1 0 auto;

}
.trabaja-info {
    background: var(--azul-oscuro);
    padding: 50px 40px;
    color: white;
}
.trabaja-info h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--amarillo);
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.trabaja-info .sub {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.trabaja-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}
.trabaja-item-icon {
    font-size: 1.6rem;
    min-width: 38px;
}
.trabaja-item-text h4 {
    color: var(--amarillo);
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 0.95rem;
}
.trabaja-item-text p {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.6;
}
.trabaja-requisitos {
    margin-top: 30px;
    background: rgba(255,215,0,0.08);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 10px;
    padding: 18px;
}
.trabaja-requisitos h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--amarillo);
    font-size: 1rem;
    margin-bottom: 12px;
}
.trabaja-requisitos ul {
    list-style: none;
    padding: 0;
}
.trabaja-requisitos ul li {
    color: #ccc;
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.trabaja-requisitos ul li::before {
    content: '✓';
    color: var(--amarillo);
    font-weight: 700;
}
.trabaja-formulario {
    background: #f5f5f5;
    padding: 50px 40px;
}
.trabaja-formulario h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--azul);
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.trabaja-formulario .sub {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.iframe-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--amarillo);
}
.iframe-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}
@media (max-width: 768px) {
    .trabaja-split { grid-template-columns: 1fr; }
    .trabaja-info { padding: 30px 20px; }
    .trabaja-formulario { padding: 30px 20px; }
    .iframe-container iframe { height: 600px; }
}
.pestanas {
    display: flex;
    gap: 0;
    background: var(--azul-oscuro);
    padding: 0 40px;
    border-bottom: 3px solid var(--amarillo);
}
.pestana-btn {
    background: transparent;
    border: none;
    color: #aaa;
    padding: 14px 28px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
}
.pestana-btn:hover { color: white; }
.pestana-btn.active {
    color: var(--amarillo);
    border-bottom: 3px solid var(--amarillo);
    margin-bottom: -3px;
}
.badge {
    background: #e94560;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
}
.pagos-tabla-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.pagos-tabla {
    width: 100%;
    border-collapse: collapse;
}
.pagos-tabla th {
    background: var(--azul);
    color: var(--amarillo);
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
}
.pagos-tabla td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.pagos-tabla tr:hover { background: #f9f9f9; }
.badge-sin-confirmar {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}
.cuotas-selector {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}
.cuota-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--azul);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--azul);
    font-weight: 600;
    transition: all 0.3s;
}
.cuota-btn.active {
    background: var(--azul);
    color: var(--amarillo);
}
.cuota-btn:hover {
    background: var(--azul);
    color: var(--amarillo);
}

.cuota-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f3f3;
    color: #777;
    border-color: #c9c9c9;
}
.info-cuota {
    background: #e8f0fe;
    border-left: 3px solid var(--azul);
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--azul);
    margin-top: 8px;
}
.estado-pago-pendiente {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
}
.primera-cuota-info {
    background: #e8f0fe;
    border-left: 3px solid var(--azul);
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--azul);
}

/* ── UTILIDADES PANEL TUTOR ──────────────────────────── */
.modal-hidden {
    display: none;
}

.resumen-card-compact {
    margin-bottom: 15px;
}

.resumen-row-no-border {
    border-bottom: none;
}

.text-strong-accent {
    font-weight: 700;
    color: var(--azul);
}

.form-help-text {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.modal-error {
    display: none;
    margin-top: 10px;
}

.importe-destacado {
    font-size: 1.3rem;
    font-weight: 700;
}

.text-danger {
    color: #e94560;
}

.text-mono-accent {
    font-family: monospace;
    font-weight: 700;
    color: var(--azul);
}

.text-mono-iban {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.9rem;
}

.warning-box {
    display: block;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    margin-top: 15px;
    border-radius: 8px;
    padding: 10px 12px;
}

.actions-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
}

.btn-block {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.inline-block {
    display: inline-block;
}

/* ── UTILIDADES GENERALES FRONTEND ───────────────────── */
.is-hidden {
    display: none;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

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

.text-strong {
    font-weight: 600;
}

.text-muted {
    color: #888;
}

.text-success {
    color: #27ae60;
}

.icon-xl {
    font-size: 3rem;
}

.title-accent {
    color: var(--azul);
    margin: 10px 0;
}

.form-card-wide {
    max-width: 550px;
}

.warning-box-compact {
    margin-top: 5px;
}

.text-mono {
    font-family: monospace;
    font-weight: 700;
}

.actions-row-compact {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-center-link {
    display: block;
    text-align: center;
    margin-top: 12px;
}

.btn-danger-solid {
    background: #e94560;
    color: #fff;
}

