/* ============================================================
   NEURO TRAINING SCHEDULE — ESTILOS PÚBLICOS
   Colores: Azul #446EB2 | Dorado #F7AB16
   ============================================================ */

.nts-container {
    max-width: 860px;
    margin: 0 auto;
    font-family: 'Segoe UI', 'Myriad Pro', 'Helvetica Neue', sans-serif;
    color: #1a1a2e;
    padding: 0.5rem 0;
}

/* --- CABECERA DE SECCIÓN ----------------------------------- */
.nts-section-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.25rem;
}
.nts-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #446EB2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.nts-section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nts-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border: 1.5px solid #446EB2;
    border-radius: 30px;
    background: transparent;
    color: #446EB2;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.nts-toggle-btn:hover { background: #446EB2; color: #fff; }
.nts-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border: 1.5px solid #F7AB16;
    border-radius: 30px;
    background: #F7AB16;
    color: #4a3200;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.nts-admin-btn:hover { background: #e09d10; color: #4a3200; text-decoration: none; }

/* --- TARJETA DE COHORTE ------------------------------------ */
.nts-card {
    background: #fff;
    border: 1.5px solid #dce8f5;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.nts-card:hover { border-color: #446EB2; box-shadow: 0 4px 16px rgba(68,110,178,0.10); }

.nts-card-hdr {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: background 0.12s;
}
.nts-card-hdr:hover { background: #f4f8ff; }

.nts-card-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.nts-dot-confirmada    { background: #1d9e75; }
.nts-dot-en_curso      { background: #446EB2; }
.nts-dot-por_confirmar { background: #F7AB16; }
.nts-dot-finalizada    { background: #aaa; }
.nts-dot-cancelada     { background: #c0392b; }

.nts-card-info { flex: 1; min-width: 0; }
.nts-card-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a2e;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.nts-card-meta {
    font-size: 12px;
    color: #5a6a80;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* --- CHIPS / BADGES --------------------------------------- */
.nts-mpill {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}
.nts-mp-blended         { background: #e1f5ee; color: #085041; }
.nts-mp-mensualizada    { background: #e6f1fb; color: #0c447c; }
.nts-mp-intensiva       { background: #fff3cd; color: #7a4f00; }
.nts-mp-super_intensiva { background: #fde8e8; color: #8b1a1a; }

.nts-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}
.nts-badge-confirmada    { background: #e1f5ee; color: #085041; }
.nts-badge-en_curso      { background: #e6f1fb; color: #0c447c; }
.nts-badge-por_confirmar { background: #fff3cd; color: #7a4f00; }
.nts-badge-finalizada    { background: #f0f0f0; color: #555; }
.nts-badge-cancelada     { background: #fde8e8; color: #8b1a1a; }

/* --- CHEVRON ----------------------------------------------- */
.nts-chev {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: #446EB2;
    transition: transform 0.2s;
    margin-top: 2px;
}

/* --- CUERPO DE TARJETA (detalle) --------------------------- */
.nts-card-body {
    border-top: 1.5px solid #dce8f5;
    padding: 14px 16px;
}

/* --- MÓDULOS Y SESIONES ------------------------------------ */
.nts-modulos { margin-bottom: 8px; }
.nts-modulo  { margin-bottom: 14px; }
.nts-modulo-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #446EB2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2.5px solid #F7AB16;
    display: inline-block;
    margin-bottom: 7px;
    padding-bottom: 2px;
}
.nts-sess-row {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-bottom: 1px solid #eef3fb;
    font-size: 13px;
}
.nts-sess-row:last-child { border-bottom: none; }
.nts-sess-fecha { font-size: 12px; color: #5a6a80; }
.nts-sess-tipo  { font-weight: 600; color: #1a1a2e; }
.nts-sess-nota  { font-size: 11px; color: #7a8a9a; margin-top: 2px; }
.nts-sess-hora  { font-size: 12px; color: #446EB2; font-weight: 600; white-space: nowrap; }
.nts-pendiente  { font-size: 13px; color: #7a8a9a; margin: 4px 0; }

/* --- EVENTO DE CIERRE ------------------------------------- */
.nts-cierre {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff8e6, #fff3cd);
    border: 1.5px solid #F7AB16;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
}
.nts-cierre-icon    { font-size: 22px; }
.nts-cierre-titulo  { font-size: 13px; font-weight: 700; color: #7a4f00; }
.nts-cierre-fecha   { font-size: 12px; color: #a07030; }

/* --- PIE DE TARJETA --------------------------------------- */
.nts-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1.5px solid #eef3fb;
}
.nts-cert   { font-size: 12px; color: #5a6a80; flex: 1; min-width: 200px; }
.nts-precio { font-size: 13px; color: #1a1a2e; }
.nts-cta-btn {
    display: inline-block;
    background: #F7AB16;
    color: #4a3200;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.15s;
    margin-left: auto;
}
.nts-cta-btn:hover { background: #e09d10; color: #4a3200; text-decoration: none; }

/* --- FOOTER ----------------------------------------------- */
.nts-footer {
    text-align: center;
    font-size: 11px;
    color: #9aa0aa;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef3fb;
}

/* --- ESTADO VACÍO ----------------------------------------- */
.nts-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 14px;
    color: #7a8a9a;
    font-size: 14px;
}

/* --- RESPONSIVE ------------------------------------------- */
@media (max-width: 600px) {
    .nts-sess-row { grid-template-columns: 1fr; gap: 2px; }
    .nts-sess-hora { text-align: left; }
    .nts-card-footer { flex-direction: column; align-items: flex-start; }
    .nts-cta-btn { margin-left: 0; width: 100%; text-align: center; }
}
