/* Estilos específicos para página de Exercícios */

.search-section-full {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-section-full h3 {
    color: #0a7a83;
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 2px solid #0a7a83;
    padding-bottom: 10px;
}

.search-aluno-box {
    position: relative;
}

.search-aluno-box input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-aluno-box input:focus {
    outline: none;
    border-color: #0a7a83;
    box-shadow: 0 0 0 3px rgba(10, 122, 131, 0.15);
}

.resultados-busca {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resultado-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.resultado-item:hover {
    background: #f8f9ff;
}

.resultado-item:last-child {
    border-bottom: none;
}

.exercicios-layout {
    margin-top: 20px;
}

.exercicios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dias-semana-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.horario-trocas-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.horario-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.horario-label {
    display: block;
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.horario-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.horario-input:focus {
    outline: none;
    border-color: #0a7a83;
    box-shadow: 0 0 0 3px rgba(10, 122, 131, 0.15);
}

.btn-salvar-horario {
    width: 100%;
}

.horario-info {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.horario-inicio-fim {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.horario-texto {
    color: #666;
}

.horario-texto strong {
    color: #0a7a83;
    font-size: 1.1em;
}

.horario-duracao {
    text-align: center;
    font-size: 0.85em;
    color: #999;
    font-style: italic;
}

.troca-horario-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.troca-horario-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.troca-select {
    width: 100%;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    transition: all 0.3s ease;
}

.troca-select:focus {
    outline: none;
    border-color: #0a7a83;
    box-shadow: 0 0 0 3px rgba(10, 122, 131, 0.15);
}

.btn-salvar-troca {
    width: 100%;
    margin-top: 5px;
}

.trocas-lista {
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.troca-item {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.troca-item-info {
    flex: 1;
}

.troca-item-dia {
    font-weight: 600;
    color: #856404;
    margin-bottom: 3px;
}

.troca-item-horario {
    font-size: 0.9em;
    color: #666;
}

.btn-remover-troca {
    padding: 5px 10px;
    font-size: 0.85em;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remover-troca:hover {
    background: #c82333;
}

.btn-limpar-trocas {
    width: 100%;
    margin-top: 10px;
}

.trocas-lista-empty {
    text-align: center;
    padding: 15px;
    color: #999;
    font-style: italic;
    font-size: 0.9em;
}

.dias-semana-section h3 {
    color: #0a7a83;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #0a7a83;
    padding-bottom: 10px;
}

.aluno-selecionado-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aluno-nome-display {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.btn-trocar-aluno {
    padding: 8px 15px;
    font-size: 0.9em;
}

.dias-semana-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dias-semana-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dia-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.dia-checkbox:hover {
    border-color: #0a7a83;
    background: #f8f9ff;
}

.dia-checkbox input[type="checkbox"] {
    display: none;
}

.dia-checkbox span {
    font-weight: 600;
    color: #666;
    font-size: 0.95em;
}

.dia-checkbox input[type="checkbox"]:checked + span {
    color: #0a7a83;
    font-weight: 700;
}

.dia-checkbox input[type="checkbox"]:checked ~ span {
    color: #0a7a83;
}

.dia-checkbox.checked {
    background: linear-gradient(135deg, #0a7a83 0%, #0fbec6 100%);
    border-color: #0a7a83;
}

.dia-checkbox.checked span {
    color: white;
    font-weight: 700;
}

.vezes-semana-info {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.vezes-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.vezes-value {
    font-size: 2em;
    font-weight: 700;
    color: #0a7a83;
}

.btn-salvar-dias {
    width: 100%;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .exercicios-grid {
        grid-template-columns: 1fr;
    }
    
    .horario-trocas-section {
        position: static;
    }
    
    .dias-semana-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aluno-selecionado-info {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .btn-trocar-aluno {
        width: 100%;
    }
}

/* Estilos para Registro de Exercícios de Pilates */
.registro-exercicios-layout {
    margin-top: 30px;
}

.registro-exercicios-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.registro-exercicios-section h3 {
    color: #0a7a83;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #0a7a83;
    padding-bottom: 10px;
}

.form-registro-exercicio {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.form-row-compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.form-group-small {
    max-width: 150px;
}

.form-input-small {
    padding: 8px;
    font-size: 0.9em;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0a7a83;
    box-shadow: 0 0 0 3px rgba(10, 122, 131, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.form-help-text {
    margin-top: 4px;
    font-size: 0.8em;
    color: #737373;
}

.btn-registrar-exercicio {
    width: 100%;
    margin-top: 10px;
}

.historico-exercicios {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.historico-exercicios h4 {
    color: #0a7a83;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.filtros-historico {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filtros-historico span {
    color: #666;
    font-size: 0.9em;
}

.filtro-input {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.filtro-input:focus {
    outline: none;
    border-color: #0a7a83;
    box-shadow: 0 0 0 3px rgba(10, 122, 131, 0.15);
}

.btn-filtrar,
.btn-limpar-filtro {
    padding: 8px 15px;
    font-size: 0.9em;
}

.lista-historico {
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.historico-empty {
    text-align: center;
    padding: 40px 20px;
    color: #929292;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
    border-radius: 12px;
}

.historico-empty::before {
    content: '📝';
    font-size: 2.2em;
}

.historico-empty-hint {
    font-size: 0.9em;
    color: #7a7a7a;
}

.historico-item {
    background: #f8f9ff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.historico-item:hover {
    border-color: #0a7a83;
    box-shadow: 0 2px 8px rgba(10, 122, 131, 0.15);
}

.historico-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.historico-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.historico-exercicio-nome {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
    flex: 1;
}

.historico-data {
    color: #0a7a83;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    margin-left: 0;
}

.historico-item-detalhes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.detalhe-badge {
    background: linear-gradient(135deg, #0a7a83 0%, #0fbec6 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.detalhe-badge-secondary {
    background: #eef2ff;
    color: #3f51b5;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.obs-texto {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.btn-remover-registro {
    padding: 6px 12px;
    font-size: 0.85em;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remover-registro:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-trocar-aluno-registro {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Responsividade para Registro de Exercícios */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group-small {
        max-width: 100%;
    }
    
    .filtros-historico {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtros-historico span {
        display: none;
    }
    
    .filtro-input,
    .btn-filtrar,
    .btn-limpar-filtro {
        width: 100%;
    }
    
    .historico-item-header {
        flex-direction: column;
        gap: 5px;
    }
    
    .historico-data {
        margin-left: 0;
    }
}


/* =============================
   Nova identidade visual - Página de Exercícios
   ============================= */

.page-exercicios .container {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(2, 47, 54, 0.12);
    overflow: hidden;
}

.page-exercicios header {
    padding: 42px 56px;
    text-align: left;
    background: linear-gradient(135deg, #022f36 0%, #0a7a83 100%);
}

.page-exercicios header h1 {
    font-size: 2.6em;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-exercicios header h2 {
    font-size: 1.35em;
    font-weight: 400;
    opacity: 0.9;
}

.page-exercicios .exercicios-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 48px 56px;
    background: #ffffff;
}

.page-exercicios .exercicios-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 42px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 190, 198, 0.18);
    box-shadow: 0 18px 40px rgba(2, 47, 54, 0.08);
}

.page-exercicios .exercicios-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(315deg, rgba(255, 255, 255, 0.05), transparent 65%);
    pointer-events: none;
}

.page-exercicios .hero-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 380px;
    color: #0f172a;
}

.page-exercicios .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(2, 112, 122, 0.18);
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
    color: #045d66;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-exercicios .hero-copy h2 {
    font-size: 2.2em;
    line-height: 1.2;
    margin: 18px 0 12px;
    font-weight: 700;
}

.page-exercicios .hero-copy p {
    font-size: 1.05em;
    max-width: 520px;
    color: #334155;
    margin-bottom: 22px;
}

.page-exercicios .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-exercicios .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: #0a7a83;
    font-weight: 600;
    font-size: 0.95em;
    box-shadow: 0 10px 22px rgba(2, 47, 54, 0.14);
}

.page-exercicios .hero-visual {
    position: relative;
    z-index: 1;
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
}

.page-exercicios .hero-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    max-width: 320px;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(15, 190, 198, 0.2);
    position: relative;
    z-index: 2;
}

.page-exercicios .hero-card-kicker {
    display: inline-block;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0a7a83;
    margin-bottom: 10px;
}

.page-exercicios .hero-card h4 {
    font-size: 1.25em;
    color: #0f172a;
    margin-bottom: 10px;
}

.page-exercicios .hero-card p {
    font-size: 0.95em;
    color: #475569;
    line-height: 1.5;
}

.page-exercicios .hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-exercicios .hero-dot {
    position: absolute;
    border-radius: 999px;
    filter: blur(0.5px);
}

.page-exercicios .hero-dot--primary {
    width: 140px;
    height: 140px;
    right: -30px;
    bottom: -20px;
    background: radial-gradient(circle at center, rgba(15, 190, 198, 0.28), transparent 70%);
}

.page-exercicios .hero-dot--secondary {
    width: 90px;
    height: 90px;
    top: -18px;
    left: 30px;
    background: radial-gradient(circle at center, rgba(15, 190, 198, 0.35), transparent 70%);
}

.page-exercicios .hero-arc {
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    transform: translateX(-50%);
}

.page-exercicios .exercicios-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
}

.page-exercicios .exercicios-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 1px solid rgba(15, 190, 198, 0.12);
    pointer-events: none;
}

.page-exercicios .search-section-full {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.page-exercicios .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.page-exercicios .section-heading {
    max-width: 520px;
}

.page-exercicios .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 190, 198, 0.1);
    color: #045d66;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-exercicios .section-heading h3 {
    font-size: 1.8em;
    margin: 14px 0 10px;
    color: #023c45;
}

.page-exercicios .section-subtitle {
    font-size: 1.02em;
    color: #28464b;
    line-height: 1.6;
}

.page-exercicios .section-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(2, 47, 54, 0.12), rgba(15, 190, 198, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: #045d66;
}

.page-exercicios .search-aluno-box {
    position: relative;
    margin-top: 28px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 47, 54, 0.12);
    box-shadow: inset 0 1px 3px rgba(15, 190, 198, 0.12);
}

.page-exercicios .search-aluno-box input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 18px 22px 18px 56px;
    font-size: 1.05em;
    font-weight: 500;
    color: #1f2937;
}

.page-exercicios .search-aluno-box input:focus {
    outline: none;
}

.page-exercicios .search-aluno-box input::placeholder {
    color: rgba(71, 85, 105, 0.7);
}

.page-exercicios .search-aluno-box:focus-within {
    border-color: rgba(15, 190, 198, 0.35);
    box-shadow: 0 0 0 4px rgba(15, 190, 198, 0.18);
    background: #ffffff;
}

.page-exercicios .search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25em;
    color: #045d66;
}

.page-exercicios .resultados-busca {
    top: calc(100% + 12px);
    border-radius: 18px;
    border: 1px solid rgba(15, 190, 198, 0.25);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.page-exercicios .resultado-item {
    font-weight: 500;
    color: #1f2937;
}

.page-exercicios .resultado-item:hover {
    background: rgba(15, 190, 198, 0.18);
}

.page-exercicios .exercicios-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.page-exercicios .dias-semana-section,
.page-exercicios .horario-trocas-section {
    background: rgba(249, 250, 255, 0.95);
    border-radius: 20px;
    padding: 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 15px 35px rgba(148, 163, 184, 0.18);
}

.page-exercicios .horario-trocas-section {
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
}

.page-exercicios .horario-trocas-section h3 {
    font-size: 1.3em;
    color: #023c45;
    margin-bottom: 18px;
    border-bottom: 2px solid #0a7a83;
    padding-bottom: 10px;
}

.page-exercicios .dias-semana-section h3 {
    font-size: 1.3em;
    color: #023c45;
    margin-bottom: 14px;
}

.page-exercicios .aluno-selecionado-info {
    background: #ffffff;
    border: 1px solid rgba(2, 47, 54, 0.12);
    border-radius: 18px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.page-exercicios .aluno-nome-display {
    font-size: 1.1em;
    font-weight: 600;
    color: #1f2937;
}

.page-exercicios .btn-trocar-aluno,
.page-exercicios .btn-trocar-aluno-registro {
    background: rgba(2, 112, 122, 0.18);
    color: #045d66;
    border: none;
    box-shadow: none;
}

.page-exercicios .btn-trocar-aluno:hover,
.page-exercicios .btn-trocar-aluno-registro:hover {
    background: rgba(2, 112, 122, 0.25);
    transform: translateY(-1px);
}

.page-exercicios .dias-semana-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.page-exercicios .dia-checkbox {
    background: #ffffff;
    border: 1px solid rgba(2, 47, 54, 0.12);
    border-radius: 12px;
    padding: 10px 0;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(15, 190, 198, 0.14);
}

.page-exercicios .dia-checkbox:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(2, 47, 54, 0.12);
}

.page-exercicios .dia-checkbox span {
    color: #045d66;
    font-size: 0.95em;
    letter-spacing: 0.08em;
}

.page-exercicios .dia-checkbox.checked {
    background: linear-gradient(135deg, #022f36 0%, #0fbec6 100%);
    box-shadow: 0 16px 28px rgba(2, 47, 54, 0.22);
}

.page-exercicios .dia-checkbox.checked span {
    color: #ffffff;
}

.page-exercicios .vezes-semana-info {
    margin-top: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #045d66;
    border: 1px solid rgba(15, 190, 198, 0.18);
}

.page-exercicios .vezes-value {
    font-size: 1.8em;
    font-weight: 700;
}

.page-exercicios .btn-salvar-dias,
.page-exercicios .btn-salvar-horario,
.page-exercicios .btn-salvar-troca,
.page-exercicios .btn-registrar-exercicio {
    background: linear-gradient(135deg, #022f36 0%, #0fbec6 100%);
    box-shadow: 0 18px 30px rgba(15, 190, 198, 0.3);
    border: none;
}

.page-exercicios .btn-salvar-dias:hover,
.page-exercicios .btn-salvar-horario:hover,
.page-exercicios .btn-salvar-troca:hover,
.page-exercicios .btn-registrar-exercicio:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 35px rgba(15, 190, 198, 0.35);
}

.page-exercicios .horario-section {
    margin-top: 20px;
    padding: 16px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 47, 54, 0.12);
}

.page-exercicios .horario-label {
    color: #045d66;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-exercicios .horario-input {
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #f8fafc;
    color: #1e293b;
    border-radius: 14px;
}

.page-exercicios .horario-info {
    background: rgba(15, 190, 198, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    color: #034854;
}

.page-exercicios .troca-horario-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-exercicios .troca-horario-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(2, 47, 54, 0.12);
}

.page-exercicios .troca-select {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 10px 12px;
    background: #f8fafc;
}

.page-exercicios .trocas-lista {
    margin-top: 18px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(2, 47, 54, 0.12);
    box-shadow: inset 0 1px 3px rgba(15, 190, 198, 0.18);
}

.page-exercicios .troca-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 16px 18px;
}

.page-exercicios .troca-item:last-child {
    border-bottom: none;
}

.page-exercicios .troca-item-dia {
    color: #023c45;
}

.page-exercicios .btn-remover-troca {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.page-exercicios .btn-remover-troca:hover {
    background: rgba(239, 68, 68, 0.2);
}

.page-exercicios .btn-limpar-trocas {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    border: none;
}

.page-exercicios .btn-limpar-trocas:hover {
    background: rgba(15, 23, 42, 0.12);
}

.page-exercicios .registro-exercicios-layout {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.page-exercicios .registro-exercicios-section {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 34px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(2, 47, 54, 0.12);
}

.page-exercicios .registro-exercicios-section h3 {
    font-size: 1.65em;
    color: #023c45;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-exercicios .form-registro-exercicio {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 47, 54, 0.12);
}

.page-exercicios .form-group label {
    color: #045d66;
}

.page-exercicios .form-row-compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.page-exercicios .form-group-small {
    max-width: 150px;
}

.page-exercicios .form-input-small {
    padding: 8px;
    font-size: 0.9em;
}

.page-exercicios .form-select,
.page-exercicios .form-input,
.page-exercicios .form-textarea {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #ffffff;
}

.page-exercicios .form-select:focus,
.page-exercicios .form-input:focus,
.page-exercicios .form-textarea:focus {
    border-color: rgba(15, 190, 198, 0.5);
    box-shadow: 0 0 0 4px rgba(15, 190, 198, 0.2);
}

.page-exercicios .historico-exercicios {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 47, 54, 0.12);
    box-shadow: inset 0 1px 4px rgba(15, 190, 198, 0.12);
}

.page-exercicios .historico-exercicios h4 {
    border-bottom-color: rgba(15, 190, 198, 0.2);
    color: #045d66;
}

.page-exercicios .historico-empty {
    background: rgba(2, 47, 54, 0.04);
}

.page-exercicios .historico-item {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.page-exercicios .historico-item-header {
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
    padding-bottom: 10px;
}

.page-exercicios .historico-exercicio-nome {
    color: #023c45;
}

.page-exercicios .detalhe-badge {
    background: rgba(15, 190, 198, 0.12);
    color: #045d66;
    border-radius: 14px;
    padding: 6px 14px;
}

.page-exercicios .detalhe-badge-secondary {
    background: rgba(2, 47, 54, 0.04);
    color: #045d66;
    border: 1px solid rgba(15, 190, 198, 0.28);
}

.page-exercicios .btn-remover-registro {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.page-exercicios .btn-remover-registro:hover {
    background: rgba(239, 68, 68, 0.22);
}

.page-exercicios .filtros-historico {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(2, 47, 54, 0.12);
}

.page-exercicios .filtro-input {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.page-exercicios .btn-filtrar,
.page-exercicios .btn-limpar-filtro {
    background: rgba(2, 112, 122, 0.18);
    color: #045d66;
    border: none;
}

.page-exercicios .btn-filtrar:hover,
.page-exercicios .btn-limpar-filtro:hover {
    background: rgba(2, 112, 122, 0.25);
}

.page-exercicios .btn {
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 600;
}

.page-exercicios .btn-secondary {
    box-shadow: none;
}

.page-exercicios .btn-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    .page-exercicios .exercicios-content {
        padding: 32px 28px 42px;
    }

    .page-exercicios .exercicios-hero {
        padding: 28px;
    }

    .page-exercicios .exercicios-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .page-exercicios .exercicios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-exercicios header {
        padding: 32px 28px;
        text-align: center;
    }

    .page-exercicios header h1 {
        font-size: 2.1em;
    }

    .page-exercicios header h2 {
        font-size: 1.1em;
    }

    .page-exercicios .exercicios-content {
        padding: 26px 22px 34px;
        gap: 24px;
    }

    .page-exercicios .exercicios-hero {
        flex-direction: column;
        text-align: center;
    }

    .page-exercicios .hero-copy {
        align-items: center;
    }

    .page-exercicios .hero-copy p {
        margin: 0 auto 20px;
    }

    .page-exercicios .hero-badges {
        justify-content: center;
    }

    .page-exercicios .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-exercicios .search-section-full {
        padding: 0;
    }
}


