:root {
    --purple-light: #6b6bff;
    --purple: #6054ff;
    --purple-text: #7272cd;
    --purple-dark: #4a40d4;
    --aqua: #3ecbee;
    --aqua-dark: #43bedd;
}

.stepwizard-step p {
    margin-top: 10px;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.container {
    width: 100% !important;
}

.menu-purple-fixed{
    background-color: var(--purple) !important;
    color: white !important;
}

.menu-purple{
    background-color: var(--purple) !important;
    color: white !important;
}

.menu-purple:hover{
    background-color: var(--purple) !important;
    color: white !important;
}

.menu-item-purple{
    background-color: var(--purple) !important;
    color: white !important;
}

.menu-item-purple:hover{
    background-color: var(--purple-dark) !important;
    color: white !important;
}

.menu-active-purple{
    background-color: var(--purple-dark) !important;
}

.treeview-menu{
    background-color: var(--purple) !important;
}

.treeview-menu:hover{
    background-color: var(--purple) !important;
}

.background-fixed{
    background-color: #ecf0f5 !important;
}

.main-header .sidebar-toggle:before {
    content: "\f053" !important;
    color: white !important;
}

.main-header .sidebar-toggle:hover:before {
    color: white !important;
}

.items-menu{
    text-decoration: none;
    color: var(--purple-text) !important;
    font-size: 16px;
}

.items-menu:hover{
    background-color: var(--purple) !important;
    color: white !important;
}

@media (max-width: 750px) {
    .main-header .sidebar-toggle:before {
        color: var(--purple) !important;
        content: "\f0c9" !important;
    }
}

.box-style{
    background-color: #f1f2fb;
    border-radius: 20px;
    padding: 14px;
}

.add-bottom{
    font-size: 20px;
    padding: 5px;
    color:#28a745;
}

.add-bottom:hover{
    background-color: #3ae6183d;
    border-radius: 5px;
}

.edit-bottom{
    font-size: 20px;
    padding: 5px;
    color:#18c7e6;
}

.edit-bottom:hover{
    background-color: #18c7e63d;
    border-radius: 5px;
}

.delete-bottom{
    font-size: 20px;
    padding: 5px;
    color:#ff0000;
}

.delete-bottom:hover{
    background-color: #f00d0d3d;
    border-radius: 5px;
}

.filas:hover{
    background-color: white;
}

.first-box{
    background-color: white;
    border-radius: 15px;
    padding: 10px 30px;
    margin-bottom: 10px;
}

/* INPUT DE BUSQUEDA */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input {
    box-sizing: border-box;
    color: var(--aqua);
    padding: 7px 10px 7px 35px;
    width: 100%;
    border: 2px solid transparent; /* Establece un borde inicial transparente */
    border-radius: 15px;
    outline: none; /* Para quitar el resaltado al hacer clic */
    transition: border-color 0.3s; /* Agrega una transición suave al cambio de color */
}

.input:focus {
    border-color: var(--aqua); /* Cambia el color del borde cuando se hace clic */
}

.input::placeholder {
    color: var(--aqua);
}

.input-icon {
    color: var(--aqua);
    position: absolute;
    width: 20px;
    height: 20px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}
/* FIN DE INPUT DE BUSQUEDA */

/* INPUT DE BUSQUEDA PURPLE */
.input-wrapper-purple {
    position: relative;
    width: 100%;
}

.input-purple {
    box-sizing: border-box;
    color: white;
    padding: 7px 10px 7px 35px;
    width: 100%;
    border: 2px solid transparent; /* Establece un borde inicial transparente */
    border-radius: 15px;
    outline: none; /* Para quitar el resaltado al hacer clic */
    transition: border-color 0.3s; /* Agrega una transición suave al cambio de color */
    background-color: var(--purple-light);
}

.input-purple:focus {
    border-color: white; /* Cambia el color del borde cuando se hace clic */
}

.input-purple::placeholder {
    color: white;
}

.input-icon-purple {
    color: white;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}
/* FIN DE INPUT DE BUSQUEDA PURPLE*/


.centrar-vertical{
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-item a {
    border-color: var(--purple);
    color: var(--purple);
}

.pagination .page-item a:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.pagination .page-item.active a {
    border-color: var(--purple);
    color: var(--purple);
}


.box-style-form{
    background-color: white;
    border-radius: 20px;
    padding: 20px;
}

.input-group-addon{
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
    color: white !important;
    border-radius: 10px 0px 0px 10px !important;
}

.final{
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
    color: white !important;
    border-radius: 0px 10px 10px 0px !important;
}

.form-control{
    border-color: var(--purple);
    color: gray;
    border-radius: 0px 10px 10px 0px;
}

.normal{
    border-radius: 0px !important
}

.btn-purple{
    background-color: var(--purple);
    border-color: var(--purple);
    color: white;
}

.btn-purple:hover{
    background-color: var(--purple-dark);
    color: white;
}

.btn-aqua{
    background-color: var(--aqua);
    border-color: var(--aqua);
    color: white;
}

.btn-aqua:hover{
    background-color: var(--aqua-dark);
    color: white;
}

.centrar-horizontal{
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-estudiante{
    width: 200px;
    height: 200px;
    border: 3px solid white;
    overflow: hidden;
    border-radius: 20px;
}

.imagen-colegio{
    width: 200px !important;
    border: 3px solid white;
    overflow: hidden;
    border-radius: 20px;
}

.choose-imagen-colegio{
    width: 150px;
    height: 150px;
    border: 3px solid white;
    overflow: hidden;
    border-radius: 20px;
}

.badge-purple{
    background-color: var(--purple);
    border-radius: 5px;
    color: white;
    padding: 5px;
}

/* iNICIO CSS DE LOGIN  */
.login-background{
    background-color: #3d3dba;
}
.login-page {
    background-image: url('../img/fondo.jpg'); /* Cambia 'ruta/a/tu/imagen.jpg' a la URL de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fija la imagen de fondo */
    background-color: #4443c3;
    height: 100%;
    margin: 0;
}

.login-box-body{
    padding: 10%;
    background: #4949cc17 !important;
    border-radius: 5%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    color: #FFF!important;
}

.login-box, .register-box {
    width: 485px!important;
}
.login-box-body input.form-control{
    background: #5757ee!important;
    border-radius: 10px;
    border-color: transparent;
    color: #FFF;
}

.login-box-body .has-feedback a{
    background-color: #18c7e6!important;
    border-radius: 15px;
    width: 80%;
    margin: auto;
}

.login-box-body .has-feedback button{
    background-color: #18c7e6!important;
    border-radius: 15px;
    width: 80%;
    margin: auto;
}
.label-footer a{
    color: #FFFF;
    padding-right: 5px;
}

.label-footer{
    text-align: center;
    font-size: 17px;
}
.label-footer a.register-new-label{
    color:#d2d900;
}

.line-login{

    border-radius: 15px;
    padding: 5px;
    text-align: center;
    border: solid 2px transparent;
    position: relative;
    background-color: #4242c2;
}

.line-login i.fa{
    color:#d2d900;
    position: relative;
    font-size: 20px;
}

.line-login:hover{

    border: solid 2px #d2d900!important;
}


.line-login span{
    color: #FFF;
}

.link-buttom{
    padding-top: 30px;
    padding-bottom: 30px;
}
.login-box-body input::placeholder{
    color:#FFF!important;
}

.login-box-body .checkbox{
    padding-top: 30px;
    padding-bottom: 30px;
}
.icheckbox_square-blue input{
    border-color: #18C7E6;
}

.titulo-school{
    color: var(--purple);
    font-size: 17px;
}

.bottom-fixed{
    position: absolute;
    bottom: 0;
}

.custom-swal {
    font-size: 16px !important; /* Ajusta el tamaño de fuente según tus preferencias */
    width: 500px !important; /* Ajusta el ancho de la ventana emergente según tus necesidades */
}


/* tabla responsive */
.table-responsive {
    border: none; /* Elimina el borde gris alrededor de la tabla */
}

/* Estilo para mantener el menú desplegable junto al botón */
.table-responsive .dropdown {
    position: relative; /* Establece la posición relativa en el contenedor */
}


::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #adadad;
}
/* fin tabla responsive */

.uploaded-image {
    max-width: 100px;
    max-height: 100px;
    margin: 10px;
    border-radius: 10px;
}

.select2-selection__choice {
    background-color: var(--purple-light) !important;
}

.activee{
    background-color: #4a40d4 !important;
}

.activee a{
    background-color: #4a40d4 !important;
}

.activee_2 a{
    background-color: #6b6bff !important;
}

.fc-event {
    cursor: pointer;
}
 /*  ===================================
        CSS PARA RESPONSIVE
       ====================================
   */


   .custom-scroll {
    max-height: 700px;
    overflow-y: auto;
    padding: 10px;
  }


/* Tablets */
@media (max-width: 992px) {
    body {
        font-size: 16px;
    }

    .login-box-body {
        margin-top: 50%;
    }

    .main-header{
        margin-bottom: 50px;
    }
    #conAjaxGradeActivity .col-md-10{
        padding: 35px!important;
    }

    #conAjaxGradeActivity2 .col-md-10{
        padding: 35px!important;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .link-buttom .col-md-6{
        padding-bottom: 15px!important;

    }

    .btn-movil a{
        width: 100%;
        margin-bottom: 5px;
    }


}

/* Pantallas muy pequeñas */
@media (max-width: 576px) {
    body {
        font-size: 12px;
    }

    .login-box, .register-box {
        width: 300px !important;
    }
}

.difuminado {
    background: rgba(0, 0, 0, 0.6); /* Fondo negro con 70% de opacidad */
    color: white; /* Texto blanco */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Efecto de difuminado */
    text-align: center; /* Alineación centrada del texto */
  }

  .login-new{
    color: white;
    margin-top: 10%;
}

.cajones {
    display: flex;
    flex-wrap: wrap;  /* Permite que las columnas se ajusten en múltiples líneas */
    justify-content: center;
    gap: 2%; /* Espaciado entre las columnas */
    padding: 1% 5%;
}

.link-rol {
    height: 150px;
    width: 150px;
    margin: 2%;
    border-radius: 5%;
    background: #4949cc17;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s, border 0.3s, box-shadow 0.3s;
    /* Ancho máximo y tamaño responsivo */
    flex: 1 1 20%;  /* Los elementos ocupan el 20% del ancho disponible, pero pueden crecer o reducirse */
    max-width: 150px;  /* Limita el ancho máximo para evitar que se estiren demasiado */
}

.link-rol:hover {
    border: 2px solid yellow;
    transform: scale(1.1);
}

.icono-grande {
    color: yellow;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.link-a{
    margin: 1%;
}

.box-style-form-registro{
    background-color: white;
    border-radius: 20px;
    padding: 20px;
}



.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 80%;
    margin: auto;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #ada4a4;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 12px;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.step p {
    margin: 0;
    font-weight: 600;
    font-size: 17px;
    color: #eee;
    line-height: 1.3;
    max-width: 140px;
    min-height: 60px;  /* todos iguales */
    text-align: center;
    display: block;    /* quita el flex, evita que desajuste */
}

@media (max-width: 600px) {
    .circle {
        width: 45px;
        height: 45px;
        font-size: 12px;   /* número dentro del círculo más pequeño */
        margin-bottom: 8px;
    }

    .step p {
        margin-top: 15px;
        font-size: 12px;   /* texto más pequeño */
        max-width: 100px;  /* menos ancho para que no se desordene */
        min-height: 35px;  /* ajusta la altura del bloque */
        line-height: 1.2;
    }
}

/* Línea de fondo */
.steps::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 8px;
    background: #ada4a4;
    z-index: 1;
    border-radius: 4px;
}

/* Línea activa */
.steps::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    height: 8px;
    background: white;
    z-index: 1;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Estado de los pasos */
.steps.step-1::after { width: 14%; }   /* Solo paso 1 */
.steps.step-2::after { width: 39%; }  /* Hasta paso 2 */
.steps.step-3::after { width: 64%; } /* Hasta paso 3 */
.steps.step-4::after { width: 100%; } /* Hasta paso 4 */

/* Circulos activos */
.steps.step-1 .step:nth-child(1) .circle { background: white; color: #000; }
.steps.step-1 .step:nth-child(1) p { color: white; }

.steps.step-2 .step:nth-child(-n+2) .circle { background: white; color: #000; }
.steps.step-2 .step:nth-child(-n+2) p { color: white; }

.steps.step-3 .step:nth-child(-n+3) .circle { background: white; color: #000; }
.steps.step-3 .step:nth-child(-n+3) p { color: white; }

.steps.step-4 .step:nth-child(-n+4) .circle { background: white; color: #000; }
.steps.step-4 .step:nth-child(-n+4) p { color: white; }

.error-small {
    font-size: 1.50rem; /* Ajusta según lo pequeño que quieras */
}



/* Overlay */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: none; /* aseguramos que está oculto */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Loader animado */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #28a745;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

        /* Loader animado */
.loader2 {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #28a745;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.option-letter {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.7rem;
    border-radius: 50%;
    width: 3rem; /* Tamaño fijo de la esfera */
    height: 3rem; /* Asegura que la esfera sea un círculo perfecto */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem; /* Ajustamos el tamaño de la letra */
    flex-shrink: 0; /* Evita que la esfera se deforme */
}
