/* Estilo do Widget MyTAttendanceToggle */

.attendance-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #ffffff;
    gap: 10px;
    transition: border-color 0.2s;
}

.attendance-toggle-wrapper:hover {
    border-color: #cbd5e1;
}

.attendance-student-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: #1e293b;
}

.attendance-freq {
    font-size: 11px;
    color: #64748b;
}

.attendance-toggle-btns {
    display: flex;
    background: #e2e8f0;
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
}

.att-btn {
    padding: 8px 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 44px;
    min-height: 44px;
}

.att-btn.att-present.active {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

.att-btn.att-absent.active {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.attendance-justification {
    width: 100%;
    margin-top: 8px;
    animation: fadeSlideDown 0.2s ease;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
