/* =============================================
   Reseteo Mental – Panel de Usuario
   Compatible con Salient theme
   ============================================= */

.reseteo-panel {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

/* Sin acceso */
.reseteo-no-access {
    text-align: center;
    padding: 48px 24px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.reseteo-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    background: #2d5016;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.reseteo-btn:hover { background: #1a3009; }

/* Barra de progreso */
.reseteo-progress-label {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}
.reseteo-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 99px;
    margin-bottom: 32px;
    overflow: hidden;
}
.reseteo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8860b, #d4a017);
    border-radius: 99px;
    transition: width 0.4s ease;
}

/* Contenedor de días */
.reseteo-days {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Tarjeta base */
.reseteo-day {
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #e2e2e2;
    background: #fff;
    transition: box-shadow 0.2s;
}

/* Header de cada día */
.reseteo-day-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.reseteo-day-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reseteo-day-icon {
    font-size: 20px;
    line-height: 1;
}

/* Badge HOY */
.reseteo-hoy-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: #2d5016;
    color: #fff;
    padding: 2px 8px;
    border-radius: 99px;
    vertical-align: middle;
}

/* ── Día activo ── */
.reseteo-day.is-active {
    border-color: #2d5016;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.08);
    background: #f8faf5;
}

/* ── Día completado ── */
.reseteo-day.is-done {
    opacity: 0.8;
    background: #f9f9f9;
}
.reseteo-day.is-done .reseteo-day-header h3 {
    color: #555;
}

/* ── Día bloqueado ── */
.reseteo-day.is-locked {
    background: #f5f5f5;
    border-color: #ddd;
}
.reseteo-day.is-locked .reseteo-day-header h3 {
    color: #999;
}
.reseteo-locked-msg {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

/* Audio player */
.reseteo-audio-wrap {
    margin: 12px 0;
}
.reseteo-day audio {
    width: 100%;
    border-radius: 8px;
    margin-top: 4px;
}

/* Tarea */
.reseteo-tarea {
    background: #fff;
    border-left: 3px solid #b8860b;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 12px 0;
}
.reseteo-tarea strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b8860b;
    margin-bottom: 4px;
}
.reseteo-tarea p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

/* Consejo */
.reseteo-consejo {
    margin: 12px 0 0;
    font-style: italic;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .reseteo-day {
        padding: 16px;
    }
}

/* ── Toolbar de preview para admin ── */
.reseteo-admin-toolbar {
    background: #1a1a2e;
    border: 1px solid #3a3a5c;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.reseteo-admin-toolbar-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0a0cc;
    margin-bottom: 10px;
}
.reseteo-admin-toolbar-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.reseteo-admin-day-btn {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #2a2a4a;
    color: #ccc !important;
    text-decoration: none !important;
    border: 1px solid #3a3a6a;
    transition: all 0.15s;
}
.reseteo-admin-day-btn:hover {
    background: #3a3a6a;
    color: #fff !important;
}
.reseteo-admin-day-btn.is-current {
    background: #b8860b;
    border-color: #b8860b;
    color: #fff !important;
}
.reseteo-admin-day-btn.is-reset {
    background: transparent;
    border-color: #555;
    color: #888 !important;
}
.reseteo-admin-day-btn.is-reset:hover {
    border-color: #999;
    color: #ccc !important;
}
.reseteo-admin-preview-note {
    margin: 0;
    font-size: 12px;
    color: #888;
}
.reseteo-admin-preview-note strong {
    color: #d4a017;
}
