/* he-public.css — estilos complementares ao inline do shortcode */

/* Dots de cor (usados nas vistas compacta e grelha) */
.he-color-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -1px;
}
.he-color-dot-grid {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
}

/* Botão limpar turma — alinhamento com o select */
.he-selector-turma {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 160px;
}
.he-selector-turma-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Animação de entrada dos cards */
@keyframes he-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.he-class-card,
.he-professor-card {
    animation: he-fadeIn 0.25s ease-out;
}
@media (prefers-reduced-motion: reduce) {
    .he-class-card, .he-professor-card { animation: none; }
}

/* ── Botão imprimir ──────────────────────────────────────── */
.he-layout-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.he-print-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--he-border, #d4c9b0);
    border-radius: var(--he-radius, 4px);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--he-slate, #4a5568);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 2px;
}
.he-print-btn:hover {
    background: var(--he-navy, #1a2744);
    border-color: var(--he-navy, #1a2744);
    color: #fff;
}

/* ── CSS de impressão ────────────────────────────────────── */
@media print {
    body * { visibility: hidden; }
    #he-print-area, #he-print-area * { visibility: visible; }
    #he-print-area {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        background: #fff;
    }
    .he-print-header {
        text-align: center;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid #1a2744;
    }
    .he-print-header h2 {
        font-size: 18px;
        color: #1a2744;
        margin: 0 0 4px;
    }
    .he-print-header p {
        font-size: 12px;
        color: #718096;
        margin: 0;
    }
}

/* ── Botão PDF ───────────────────────────────────────────── */
.he-filters-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
}
.he-pdf-btn {
    background: transparent;
    border: 1px solid var(--he-border, #d4c9b0);
    padding: 8px 14px;
    border-radius: var(--he-radius, 4px);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--he-slate, #4a5568);
    cursor: pointer;
    transition: all 0.2s;
}
.he-pdf-btn:hover {
    background: var(--he-navy, #1a2744);
    border-color: var(--he-navy, #1a2744);
    color: #fff;
}
