html {
    margin: 0;
    padding: 0;
}
body {
    margin: 16px;
    font-size: medium;
    font-family: "Roboto", sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: #1F2937;
}
.titulo_app{
    font-size: x-large;
    color: #000000;
    font-weight: bold;    
}
.footer{
    clear: both;
}
.estudante{
    font-size: smaller;
    color: #1E3A8A;
    font-weight: normal;    
}
.aluno_cabeca{
    clear: both;
}
.nomealuno{
    font-size: large;
    color: #2563EB;
    font-weight: bold;
}
.nomeunidade{
    font-size: medium;
    color: #1E3A8A;
    font-weight: bold;
}
.ano_segmento_serie{
    font-size: small;
    color: #1E3A8A;
    font-weight: bold;
}
.segmento{
    font-size: small;
    color: #1E3A8A;
    font-weight: bold;
}
.valor{
    font-size: medium;
    color: #1E3A8A;
    font-weight: bold;
}
.student-details {
    padding: 20px;
    margin-left: 14px;
    max-width: 800px;
}

.student-details .ano_segmento_serie {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: inline-block;
}

.opcoes {
    clear: both;
    margin-top: 20px;
    margin-left: 24px;
    font-size: medium;
    color: #1F2937;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.escola_da_vila {
    --e-global-color-primary: #1E3A8A;     /* azul escuro predominante */
    --e-global-color-secondary: #FACC15;   /* amarelo vibrante */
    --e-global-color-text: #1F2937;        /* quase preto, tom de cinza muito escuro */
    --e-global-color-accent: #F97316;      /* laranja/chama para destaques */
    --e-global-color-9758276: #2563EB;     /* azul mais claro para hover / links */
    --e-global-color-64d92d1: #10B981;     /* verde para elementos específicos */
    --e-global-color-3ec0a29: #DC2626;     /* vermelho forte para alertas ou erros */
    --e-global-color-d61cbf1: #9333EA;     /* roxo para toques decorativos ou seções especiais */
}

.btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Estilo para o modal de loading */
#loadingModal .modal-content {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

#loadingModal .spinner-border {
    color: #ffffff !important;
}

#loadingModal .modal-body {
    padding: 2rem;
}

/* Escurece o fundo quando o modal está aberto */
.modal-backdrop.show {
    opacity: 0.7;
}

.custom-dropdown {
    position: relative;
    max-width: 600px;
}

.selected-student {
    padding: 10px;
    border-radius: 6px;
    background-color: #f9fafb;
}

.selected-student .student-label {
    font-size: smaller;
    color: #1E3A8A;
    margin-bottom: 4px;
}

.student-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.student-info-row .ano_segmento_serie {
    font-size: small;
    color: #4B5563;
    margin-top: 8px;
    font-weight: normal;
    padding: 4px 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    display: inline-block;
}

.student-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.student-selector select {
    width: 100%;
    padding: 8px 32px 8px 0;
    font-size: large;
    color: #2563EB;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.selected-student .ano_segmento_serie {
    font-size: small;
    color: #4B5563;
    padding: 4px 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
}

.student-selector select:focus {
    outline: none;
    box-shadow: none;
}

.student-selector select option {
    background-color: white;
    color: #1F2937;
    font-size: medium;
    font-weight: normal;
}

.dropdown-toggle-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

/* Estilos para o seletor de dias da semana */
.dias-semana-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.dia-semana-label {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.dia-semana-label:hover {
    background-color: #f0f0f0;
}

.dia-semana-input {
    display: none; /* Esconde o checkbox original */
}

.dia-semana-input:checked + .dia-semana-label {
    background-color: var(--e-global-color-primary, #1E3A8A);
    color: white;
    border-color: var(--e-global-color-primary, #1E3A8A);
}