.modal-content,
.modal-header,
.modal-footer {
    background-color: var(--color_login);
}
#footer_error {
    border-top: none !important;
    text-align: center !important;
}

/* #footer_error button {
    width: 20%;
    background-color: var(--btn_log);
} */

#modal_header_error img {
    width: 10%;
}
#modal_delete img {
    width: 14%;
}

#modal_delete h5 {
    padding: 0.1rem;
}

#modal_header_error h5 {
    background-color: rgba(255, 0, 0, 0.338);
    width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
}

#modal_header_error button {
    position: absolute;
    right: 17px;
    top: 10px;
}

#modal_createTeacher h2 {
    text-align: center;
}

#modal_createTeacher {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#modal_createTeacher {
    background-color: #eeee;
}

#createTeacher .modal-footer .content_btn,
#createStudent .modal-footer .content_btn,
.updateTeacher .modal-footer .content_btn {
    height: 35px !important;
    width: 15%;
    min-width: 130px;
}

.updateTeacher .modal-footer .content_btn {
    width: 24% !important;
}

.updateCareer .two-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#createCareer .content_btn:nth-child(2),
.updateCareer .content_btn:nth-child(2) {
    width: 15%;
    height: 35px;
}

#createCareer .content_btn,
.updateCareer .two-btn .content_btn {
    width: 40px;
    height: 40px;
}

.content_subjects {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content_subjects .content_input {
    width: 100%;
}

.btn_delete {
    background-color: var(--error_input) !important;
}

.cont_delete {
    width: 40px !important;
    height: 40px !important;
}

.two-btn {
    width: 85%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: end;
}

.content_subjects li {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.infoCareer section {
    padding: 1rem;
}

.infoCareer section ul {
    padding-left: 2rem;
}

.infoCareer .content_careers {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.form_modal {
    width: 100% !important;
}

.form_modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.affected_modal {
    width: 90%;
}

/* Modals Info */

.sect_header {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.sect_header h4 {
    font-size: clamp(21px, 19vw, 1.5vw);
    margin-top: 1rem;
}

.sect_header section {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 30px;
    font-size: clamp(16px, 19vw, 1.2vw);
    border-bottom: rgb(133, 133, 133) 0.5px solid;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.sect_header section ul {
    list-style-type: square;
}

.sect_header .table {
    font-size: clamp(16px, 19vw, 1.2vw);
}

.sect_header section div {
    flex: 1;
    /* flex-basis: 200px; */
    text-wrap: wrap;
}

.sect_header section .title {
    font-weight: bold;
}

.customer .content_btn button {
    width: 50%;
    max-width: 200px;
}

.submodal {      
    top: 5%;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;    
    border: none;
    box-shadow: 0 0 10px #cacaca;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: scroll;   
    animation: fadeIn 0.3s ease-out; 
}

.submodal::-webkit-scrollbar {
    display: flex;
    width: 5px;
}

.submodal::-webkit-scrollbar-button {
    background-color: rgb(230, 229, 229);
}

.submodal::-webkit-scrollbar-thumb {
    background-color: rgb(196, 196, 196);
}

.submodal > div {
    display: flex;
    gap: 10px;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 20px;
}

.submodal .two_inputs {
    justify-content: center;
    display: flex;
    flex-direction: row;
}

.submodal .two_inputs .content_input {
    min-width: 120px;
}

.submodal div h1 {
    font-size: clamp(15px, 5vw, 19px);
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}