/* Botón propio
-------------------------------------------------- */

/* Redefine los estilos de .btn */
/* Modificar el texto y el color de fondo en los tres estados
   principales del botón: default, hover y active. */
.btn-grabar,
.btng-grabar:hover,
.btn-grabar:active {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #ea7600;
}

/* Aplicar gradientes de colores */
/* Nota: no se muestran aquí todos los gradientes que tendrás que
      definir para los diferentes navegadores. */
.btn-grabar {
    background-repeat: repeat-x;
    background-image: linear-gradient(top, #dd7900 0%, #edbb99 100%);
}

/* Estilos del estado :hover del botón */
/* Uno de los estilos más sencillos y eficaces para el estado :hover
      consiste en subir hacia arriba ligeramente la imagen de fondo del
      botón, pero puedes definir otros estilos adicionales si quieres. */
.btn-grabar:hover {
    background-position: 0 -15px;
}

.btn-docente,
.btng-docente:hover,
.btn-docente:active {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #5c7380;
}

.btn-docente {
    background-repeat: repeat-x;
    background-image: linear-gradient(top, #002f6c 0%, #6588b7 100%);
}

.btn-docente:hover {
    background-position: 0 -15px;
}

/*5c7380*/
.btn-horario,
.btng-horario:hover,
.btn-horario:active {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #6588b7;
}

.btn-horario {
    background-repeat: repeat-x;
    background-image: linear-gradient(top, #002f6c 0%, #6588b7 100%);
}

.btn-horario:hover {
    background-position: 0 -15px;
}

table.dataTable td {
    font-size: 15px;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 4px 4px 4px 4px;
}

.input-group-btn {
    /*margin-top: 15px !important;*/
    margin-left: 5px;
}

#estilo_card {
    padding: 36px;
}

.page-indicator {
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding: 0;
    list-style-type: none;
}

.page-indicator li {
    margin-right: 5px;
    margin-left: 2px;
    padding: 4px 5px;
    border: 1px solid #eb7704;
    border-radius: 10px;
    color: #333;
}

.card-title {
    margin-top: 8px;
}

.btn-cyan {
    color: #fff;
    background-color: #00a499;
    border-color: #00a499;
    box-shadow: none;
}

#btncursos {
    padding-left: 30px;
    padding-right: 30px;
}

.asigt {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#btnvolver,
#btncuposnext,
#miBoton {
    margin-right: 10px;
}

#btncambiar {
    margin-right: 7px;
}

#btnBuscar {
    float: inline-start;
    margin-right: 5px;
}

#titlez {
    font-size: 36px;
    text-align: center;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal.fade .modal-dialog {
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.modal.show .modal-dialog {
    opacity: 1;
}

.modal::before {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.modal.fade .modal-dialog {
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.modal.show .modal-dialog {
    opacity: 1;
}

.modal::before {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.modal-header {
    background-color: #333;
    color: #fff;
    border-bottom: none;
}

button.close {
    color: #fff;
    opacity: 1;
    padding: 0.5rem;
}

.modal-footer {
    border-top: none;
    justify-content: flex-end;
}

button.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

button.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.icons-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.icon i {
    font-size: 50px;
    padding: 50px;
    border-radius: 50px;
}

.icon p {
    font-size: 20px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    border: none;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease-in-out;
    margin-right: 10px;
}

.icon:hover {
    background-color: #f2f2f2;
    color: #212529;
    transform: scale(1.05);
}

.edit-electivo.icon {
    background-color: #ea7600;
    color: #ffffff;
}

.edit-porcentaje.icon {
    background-color: #00a499;
    color: #ffffff;
}

.eliminar-curso.icon {
    background-color: #e74c3c;
    color: #ffffff;
}

/* Cambiar opacidad y cursor para botones deshabilitados */
.edit-electivo.icon[disabled],
.edit-porcentaje.icon[disabled],
.eliminar-curso.icon[disabled] {
    opacity: 0.5;
    cursor: default;
}

/* Agregar texto "deshabilitado" a botones deshabilitados */
.edit-electivo.icon[disabled]:after,
.edit-porcentaje.icon[disabled]:after,
.eliminar-curso.icon[disabled]:after {
    content: "Deshabilitado";
    font-size: 15px;
    margin-top: 5px;
}

.custom-modal .modal-body {
    display: flex;
    justify-content: center;
}

/* Cambié el nombre de la clase para que sea más corto */
.input-container {
    width: 200px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.custom-modal label {
    display: block;
    margin-bottom: 5px;
}

.custom-modal input {
    width: 100%;
    padding: 0.5rem 1rem;
    /* Usando unidades de rem en lugar de px */
    border-radius: 0.5rem;
    /* También usando unidades de rem */
    border: 1px solid #ccc;

    /* Agregando transición suave en hover y focus */
    transition: all 0.2s ease-in-out;
}

.custom-modal input:focus,
.custom-modal input:hover {
    /* Aplicar cambios al hacer hover or focus */
    outline: none;
    border-color: #6366f1;
    /* Un tono de azul */
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

.mensaje-alerta {
    color: #e16161;
    font-weight: bold;
    margin-top: 5px;
}

.input-estilo {
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 5px;
    font-size: 16px;
    outline: none;
    transition: border-bottom-color 0.3s ease-in-out;
}

.input-estilo:focus {
    border-bottom-color: #2196f3;
}

.form-group-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#Buscarprofesor {
    width: 8%;
    margin: auto;
}

#asignarprofesor {
    width: 100%;
}

.form-group-flex input[type="text"],
.form-group-flex button {
    display: inline-block;
    vertical-align: middle;
}

#asignarprofesor {
    width: 100%;
}

.form-group-flex label,
.form-group-flex input {
    margin: 5px;
}

.form-group-flex input {
    width: 100%;
    max-width: 280px;
    /*opcional*/
}

.custom-modals {
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.custom-header {
    background-color: #0e141b;
    color: #fff;
    border-radius: 5px 5px 0 0;
}

.custom-footer {
    border-radius: 0 0 5px 5px;
}

.custom-footer button {
    margin-right: 10px;
}

.custom-footer button:last-child {
    margin-right: 0;
}

[class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link,
[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: rgba(47, 236, 183, 0.67) !important;
    color: #212529 !important;
}

.form-control-xs {
    width: 50%;
    padding: 0.5rem 1rem;
    /* Usando unidades de rem en lugar de px */
    border-radius: 0.5rem;
    /* También usando unidades de rem */
    border: 1px solid #ccc;

    /* Agregando transición suave en hover y focus */
    transition: all 0.2s ease-in-out;
}

#rutz,
#horasDisp,
#dataTELAsignatura,
#dataTELasignatura,
#horasDispo {
    width: 18%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    transition: all 0.2s ease-in-out;
    margin-right: 10px;
}

#editrut {
    width: 18%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    transition: all 0.2s ease-in-out;
    margin-right: 10px;
}

.page-indicator-white {
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding: 0;
    list-style-type: none;
}

.page-indicator-white li {
    margin-right: 5px;
    margin-left: 1px;
    padding: 4px 10px;
    border: 1px solid #373737;
    border-radius: 10px;
    color: #333;
    background-color: #e9ecef;
    width: auto;
}

.check {
    color: green;
}

.cross {
    color: red;
}

#mensaje-pagina {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Añadir esta propiedad para alinear elementos en columna */
    width: 100%;
    max-width: 700px;
    /* Establecer una anchura máxima para que el contenido no se extienda demasiado */
    height: auto;
    margin: 40px auto;
    /* Agregar un margen superior e inferior */
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#mensaje-pagina p {
    font-size: 24px;
    color: #000;
    text-align: center;
    margin: 20px;
    /* Agregar un margen interno alrededor del texto */
}

#mensaje-pagina img {
    width: 100%;
    max-width: 400px;
    /* Establecer una anchura máxima para la imagen */
    margin-top: 20px;
    /* Agregar un margen superior entre el texto y la imagen */
}
