/* Franja de configuración (misma apariencia que dashboard-v2.css) */

.dashboard-setup-checklist {
    margin: 0 0 1rem;
}

.dashboard-setup-checklist[hidden] {
    display: none !important;
}

.dashboard-setup-checklist__box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent, #0ea5e9) 35%, transparent);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.06) 100%);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.dashboard-setup-checklist__icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.18);
    color: var(--accent, #0ea5e9);
    font-size: 1rem;
}

.dashboard-setup-checklist__body {
    flex: 1 1 200px;
    min-width: 0;
}

.dashboard-setup-checklist__title {
    display: block;
    font-size: 0.98rem;
    margin: 0 0 0.2rem;
    color: var(--text-primary, #1e293b);
}

.dashboard-setup-checklist__desc {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--text-secondary, #64748b);
}

.dashboard-setup-checklist__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent, #0ea5e9);
    color: #fff;
    border: 1px solid transparent;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.dashboard-setup-checklist__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.dashboard-setup-checklist__box--soft {
    border-color: color-mix(in srgb, var(--success, #10b981) 35%, transparent);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.06) 100%);
}

.dashboard-setup-checklist__box--soft .dashboard-setup-checklist__icon {
    background: rgba(16, 185, 129, 0.18);
    color: var(--success, #10b981);
}

[data-theme="dark"] .dashboard-setup-checklist__box--soft {
    border-color: rgba(52, 211, 153, 0.35);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(99, 102, 241, 0.1) 100%);
}

[data-theme="dark"] .dashboard-setup-checklist__box--soft .dashboard-setup-checklist__icon {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

[data-theme="dark"] .dashboard-setup-checklist__box {
    border-color: rgba(56, 189, 248, 0.35);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(99, 102, 241, 0.1) 100%);
}

[data-theme="dark"] .dashboard-setup-checklist__title {
    color: var(--text-primary, #f1f5f9);
}

[data-theme="dark"] .dashboard-setup-checklist__desc {
    color: var(--text-secondary, #94a3b8);
}

/* ── Módulos: alert fijo compacto a la derecha (#teacherModuleSetupChecklist) ── */
#teacherModuleSetupChecklist.teacher-module-setup-alert--dock {
    position: fixed;
    right: 1rem;
    top: 5.75rem;
    max-width: 288px;
    width: min(288px, calc(100vw - 2rem));
    margin: 0;
    pointer-events: auto;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--dock .dashboard-setup-checklist__box--module-dock {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.45rem 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--dock .dashboard-setup-checklist__body {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--dock .dashboard-setup-checklist__title {
    font-size: 0.82rem;
    margin: 0 0 0.15rem;
    line-height: 1.25;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--dock .dashboard-setup-checklist__desc {
    font-size: 0.75rem;
    line-height: 1.35;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--dock .dashboard-setup-checklist__cta--compact {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
}

.dashboard-setup-checklist__cta--compact {
    padding: 0.32rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 8px;
    justify-self: start;
}

@media (max-width: 640px) {
    #teacherModuleSetupChecklist.teacher-module-setup-alert--dock {
        left: 0.75rem;
        right: 0.75rem;
        top: auto;
        bottom: 1rem;
        max-width: none;
        width: auto;
    }
}

/* ── Estudiantes / Horarios: alert en flujo, encima de la cabecera del módulo ── */
#teacherModuleSetupChecklist.teacher-module-setup-alert--inline {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    pointer-events: auto;
}

#teacherModuleSetupChecklist.teacher-module-setup-alert--inline .dashboard-setup-checklist__box--module-dock {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
