/* Estilos para funcionalidade de drag-and-drop na tabela de exercícios */

/* Placeholder visual durante o drag */
.ui-state-highlight {
    height: 50px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
}

/* Estilo do handle de arrastar */
.drag-handle {
    color: #999;
    transition: color 0.2s;
    cursor: move;
}

/* Efeito hover no handle */
.drag-handle:hover {
    color: #333;
}

/* Cursor durante o arraste */
.sortable-exercise-table.ui-sortable-helper {
    cursor: move;
}

/* Responsivo mobile para tabela de exercícios (treino descritivo) */
@media (max-width: 575px) {
    .treinoDescritivo .table {
        min-width: 550px;
    }
}

/* === EXIBIÇÃO SOMENTE-LEITURA: EXERCÍCIOS DE FORÇA === */

.forca-exercicios-lista {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forca-exercicio-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    transition: box-shadow 0.2s ease;
}

.forca-exercicio-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.forca-exercicio-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.forca-exercicio-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background-color: #c0392b;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.forca-exercicio-nome {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.3;
}

.forca-exercicio-detalhes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.forca-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.28rem 0.6rem;
    border-radius: 0.3rem;
}

.forca-badge--sets {
    background-color: #fdecea;
    color: #c0392b;
}

.forca-badge--reps {
    background-color: #f2d9d5;
    color: #a93226;
}

.forca-badge--intervalo {
    background-color: #f0f0f0;
    color: #555;
}

.forca-exercicio-video {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.625rem;
    font-size: 0.88rem;
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
}

.forca-exercicio-video:hover {
    color: #1a5276;
    text-decoration: underline;
}

/* === CARD FLUTUANTE DE VOLUME TOTAL ===
   Mantém o card visível enquanto o treinador rola a tela montando passos.
   Mesmo padrão do summary-sidebar do dashboard do aluno. */
@media (min-width: 992px) {
    #card-volume-wrapper {
        position: sticky;
        top: 20px;
        z-index: 100;
    }
}
