@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*,
body {
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

h1 {
    text-align: center;
    margin: 10px;
    padding: 10px;
}

.container {
    max-width: 1400px !important;
    width: 100% !important;
    height: auto !important;
}

.tabela_div {
    max-width: 100%;
    overflow-x: auto;
}

#tb_dados_cadastrais {
    border-collapse: collapse !important;
    font-size: 0.9em !important;
    min-width: 400px !important;
    overflow: hidden !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15) !important;
}

.selected-row {
    background-color: lightskyblue !important;
    font-weight: bold;
    font-size: 1.0em;
}


/* div#tb_polosxcursos_wrapper.dataTables_wrapper.no-footer {
            width: 100% !important;
            height: auto !important;
        } */



.container-inputs {
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;

    & input {
        width: 350px;
    }

    & button {
        height: 40px;
    }
}

.form-group {
    margin: 0;
    padding: 0;

    & label,
    input {
        margin: 0;
    }
}

fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 5px;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 10px;
}

.form-check {
    margin: 0;
    padding: 0;
}

.modal-dialog {
    justify-items: center;
}

.modal-content {
    margin-top: 24%;
    width: 1200px;
    /* Para garantir que o padding e a borda não quebrem o layout */
    box-sizing: border-box;
}

label {
    text-align: justify;
}

/* Media query para telas menores */
@media (max-width: 1200px) {
    #formModalAluno {
        font-size: 0.8rem;
    }

    .modal-dialog {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 1180px;
        margin: 5px;
    }

    .modal-content {
        width: 100%;
        margin-top: 30%;
        height: auto;
    }

    .container-inputs {
        & input {
            width: 180px;
        }

        & button {
            height: 40px;
        }
    }
}

/* Media query para telas ainda menores, como dispositivos móveis */
@media (max-width: 768px) {
    #formModalAluno {
        font-size: 0.8rem;
    }

    .container-inputs {
        & input {
            width: 180px;
        }

        & button {
            height: 40px;
        }
    }

    .modal-content {
        width: 100%;
        /* Modal ocupa toda a largura da tela em dispositivos móveis */
        margin-top: 25%;
        /* Ajuste do espaço superior */
    }
}

/* Media query para telas muito pequenas, como dispositivos de 320px */
@media (max-width: 480px) {
    #formModalAluno {
        font-size: 0.6rem;
    }

    .container-inputs {
        & input {
            width: 100px;
        }

        & button {
            height: 40px;
        }
    }

    .modal-content {
        width: 100%;
        margin-top: 15%;
        /* Ajuste o espaço superior conforme necessário */
    }
}

#formCadastroAluno_Edit {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}

.dp_flex {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
}

.card-body {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

.card-body:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

/* Títulos */
.card-body h3 {
    font-size: 24px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.card-body h4 {
    font-size: 18px;
    text-align: center;
    color: #444;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-body h5 {
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
    color: #555;
    margin-bottom: 8px;
}

/* Parágrafos */
.card-body p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    color: #666;
    margin-bottom: 12px;
}

/* Animação suave ao carregar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


input[type="text"],
select {
    border-radius: 10px;

}

input[required]:invalid,
select[required]:invalid,
input[type="checkbox"][required]:not(:checked),
input[type="radio"][required]:not(:checked) {
    border: 1px solid blue;
}


/* ==================== STEP ==================== */
/* CSS */
.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding: 20px 10px;
    gap: 80px;
}

.step-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc;
    border: 2px solid #ccc;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.step-button:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.step-button.active,
.step-button[aria-expanded="true"] {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    transform: scale(1.1);
}

.step-button.done {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.done {
    background-color: lightblue;
    color: #fff;
}

.step-item {
    z-index: 10;
    text-align: center;
}

#progress {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 95%;
    z-index: 5;
    height: 5px;
    margin-bottom: 18px;
}

#progress::-webkit-progress-value {
    background-color: lightskyblue;
    transition: 0.5s ease;
}

#progress::-webkit-progress-bar {
    background-color: lightgray;
}

.step-title {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.accordion {
    margin-bottom: 100px;
}

.texto-central h3 {
    text-align: center;
    font-size: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .steps {
        gap: 40px;
        padding: 15px 5px;
    }

    .step-button {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .step-title {
        font-size: 0.8rem;
    }

    #progress {
        display: none;
    }

    .texto-central h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .step-button {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .step-title {
        font-size: 0.75rem;
    }

    .texto-central h3 {
        font-size: 1.1rem;
    }

    .steps {
        gap: 25px;
    }
}

/* ==================== STEP ==================== */

.card-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    gap: 10px;
    flex-wrap: nowrap;
    /* garante que fiquem lado a lado */
}

.card-navigation .btn-card {
    flex: 1;
}

.card-navigation .btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

/* Removemos flex-direction: column */
@media (max-width: 768px) {
    .card-navigation {
        padding: 10px 15px;
    }

    .card-navigation .btn {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .card-navigation {
        gap: 8px;
    }

    .card-navigation .btn {
        font-size: 0.9rem;
    }
}