@import url('https://fonts.googleapis.com/css2?family=Kanit: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');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

.logo-navbar{
  margin: 0 20px;
}

.logo-navbar a img{
  width: 3.75em;
}

.d-none{
  display: none;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: ##fff;
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: .75rem;
}

.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}


.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
.text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
.text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.feature-icon-small {
  width: 3rem;
  height: 3rem;
}

.px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}

.pb-2 {
  font-family: 'Manrope';
  font-weight: 600;
}

.link-opciones{
  text-align: left;
  padding: 10px;
  display: grid;
  justify-items: center;
  color: #fff;
  border-radius: 10px;
  width: 170px;
  height: 200px;
  margin: 5px 5px;
  background-color: #5EB772;
}

.link-opciones:hover{
  background-color: #2EAB5E;
}

.text-body-secondary {
  --bs-text-opacity: 1;
  color: rgba(33, 37, 41, 0.75) !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

.text-body-emphasis {
  margin-top: 0;
  --bs-text-opacity: 1;
  color: #fff !important;
}

.b-example-divider {
  width: 100%;
  height: 4rem;
  background-color: rgba(94,183,114, .1);
  border: solid rgba(94,183,114, .15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(94,183,114, .1), inset 0 0.125em 0.5em rgba(94,183,114, .15);
}

.centrado-matriculado{
  display: grid;
  justify-content: center;
}

.centrado-facturacion{
  margin: auto 230px;
}

#estado-matriculado{
  font-weight: bolder;
}

.pago-estado-bolder{
  font-weight: bolder;
}

.accordion{
  margin: 40px;
}

.accordion-collapse{
  display: grid;
}


.comprobante-enlace{
  justify-self: center;
  margin: 15px;
  text-align: center;
  color: rgb(82,71,151);
}

.btn-warning{
  margin-bottom: 10px;
  justify-self: center;
}

.copy-to-clipboard{
  margin: auto;
}

.copyButton{
  display: block;
  margin: auto;
}

.copyButtonSucceed{
  display: none;
  margin: auto;
  color: green;
}

.copiar{
  text-align: center;
  font-family: "Manrope", sans-serif;
  color: black;
  font-size: 1.1rem;
}

.copia-exitosa{
  display: none;
  text-align: center;
  font-family: "Manrope", sans-serif;
  color: green;
  font-size: 1.1rem;
}

.tabla-matriculados{
  margin: auto 6rem;
}

.container-busqueda{
  max-width: 240px;
  margin: 0 auto auto 0;
  display: grid;
}

.facturas-titulo{
  text-align: center;
}

.tabla-facturas{
  margin: 20px auto 80px;
  overflow: visible;
}

#mi-formulario{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.division-formulario{
  margin: 0 2rem;
  width: 15rem;
  align-content: center;
}

#formulario-info{
  margin: auto;
  justify-content: center;
}

.opciones-administrador{
  color: #5EB772;
}

.opciones-administrador:hover{
  color: #2EAB5E;
}

*{
    box-sizing: border-box;
}

body {
    display: grid;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA; /* Color pastel para el fondo de la página */
    font-family: "Manrope", sans-serif;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

footer {
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
    text-align: center;
    background-color: rgb(96,86,161);
    color: #fff;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main{
    display: grid;
}

a{
    text-decoration: none;
}

h1,h2,h3{
    font-family: "Manrope";
    text-align: center;
}

/* Oculta las flechas de incremento y decremento en inputs de tipo "number" */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/* .navbar {
    background-color: rgb(82,71,151); 
    padding: 10px;
    text-align: right;
    display: flex;
}
*/

.enlace-navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 1.5rem;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-decoration: none;
    background-image: linear-gradient(to right,
        #2EAB5E,
        #2EAB5E 50%,
            white 50%);
    background-size: 200% 100%;
    background-position: -100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.7s ease;
    gap: 0.25rem;
}

.enlace-navbar:hover {
    background-position: 0;
}

.enlace-navbar a:hover{
    background: white;
}

.navegacion-ubicacion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(82,71,151);
}

.navigation-enlace:hover{
    background: white;
}

.container-principal{
    padding: 0;
    margin: 30px auto;
    justify-self: center;
    display: grid;
    grid-template-columns: 4fr 4fr;
    align-items: center;
    justify-content: center;
}

.border-line{
    margin: 15px 20px;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    width: fit-content;
    height: fit-content;
}

.fecha-publicacion{
    display: flex;
    align-items: center;
    position: absolute;
    color: #fff;
    z-index: 1;
    margin: 0 0 0 20px;
}

.emoji-reloj{
    font-size: large;
    margin: 0;
}


nav {
    background: rgb(82,71,151);
    display: flex;
    justify-content: flex-start;
    min-height: 48px;
}

.navigation {
    width: 12rem;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
    margin: 0;
}

.navigation>li {
    position: relative;
    transition: all 0.5s ease;
    flex-grow: 1;
    user-select: none;
    height: 48px;
    align-content: center;
}

ul{
    list-style-type: none;
    padding: 0;
}

.navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.2rem 0.5rem;
    color: white;
    min-height: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-decoration: none;
    background-image: linear-gradient(to right,
        #2EAB5E,
        #2EAB5E 50%,
            white 50%);
    background-size: 200% 100%;
    background-position: -100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.7s ease;
    gap: 0.25rem;
}

.navigation a:hover {
    background-position: 0;
}

.navigation li:hover {
    background: white;
}

.navigation>li:hover>a {
    background-position: 0;
}

.navigation>li>a>svg {
    width: 1rem;
    height: 1rem;
    transition: all 0.7s ease;
}

.navigation>li:hover>a>svg {
    stroke: #2EAB5E;
    transform: rotate(90deg);
}

.subnavigation__wrapper {
    overflow: hidden;
    max-height: 0;
    position: absolute;
    transition: max-height 0.3s ease-in-out;
    background-color: rgb(82,71,151);
    width: 100%;
}

.navigation>li:hover .subnavigation__wrapper {
    z-index: 90;
    max-height: 50rem;
    top: 48px;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.menu-mobile{
    display: none;
}

.grupo-enlaces{
    display: flex;
    align-items: center;
}

.enlaces-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    color: white;
    min-height: 3rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-decoration: none;
    background-image: linear-gradient(to right,
        #2EAB5E,
        #2EAB5E 50%,
            white 50%);
    background-size: 200% 100%;
    background-position: -100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.7s ease;
    gap: 0.25rem;
    margin: 0;
}

.enlaces-footer:hover{
    background-position: 0;
}

.cargando{
    background-color: #fff; 
    position: relative; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
    min-height: 100vh;
}

.spinner-border{
    position: absolute;
    top: 50%;
    left: 49%;
    margin: 0 !important;
    color: #8a9a46;
}

.inicio-sesion{
    display: grid;
    justify-content: center;
}

#titulo-colegio{
    text-align: center;
    margin-top: 2rem;
}

.login-container {
    background: rgba(255, 255, 255, 0.8); /* Panel de vidrio semiopaco */
    border-radius: 10px; /* Bordes redondeados */
    max-width: 400px;
    margin: 50px auto; /* Centrado en la página */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.login-container h2 {
    text-align: center;
    font-family: "Kanit", sans-serif;
}

.error-message {
    color: #ff0000; /* Color rojo para el mensaje de error */
    width: 11rem;
    text-align: center;
    margin-bottom: 10px;
    margin: auto;
}

.input-group {
    margin-bottom: 20px;
    justify-self: center;
}

.form-control{
    justify-self: center;
}

.input-group label {
    margin-left: 10px;
    display: block;
    margin-bottom: 5px;
    transform: translateY(-25px);
    color: #888;
    transition: transform 0.3s, font-size 0.3s, color 0.3s;
}

.input-group input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    transform: translateY(0);
    font-size: 16px;
    color: #888; /* Color de resaltado cuando enfocado o con texto */
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: #b6e2d8; /* Color de resaltado cuando enfocado o con texto */
}

.fa{
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.input-group-addon{
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #495057;
    text-align: center;
    background-color: #e9ecef;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.input-id{
    max-width: 380px;
    margin: 0 auto auto 0;
    display: inline-flex;
}

#show_hide_password{
    margin-bottom: 5px;
}

.button {
    background-color: #8a9a46;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover{
    background-color: #c8d29c;
    color: #000;
}

.centrado{
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 0;
}

.parrafo-separador{
    margin: 20px auto;
}

.btn-success{
    justify-self: center;
}

nav{
    font-family: "Manrope", sans-serif;
}

.imagen-colegio{
    width: 24rem;
    height: 24rem;
}

.imagen-credencial{
    width: 25rem;
    margin: 20px 20px;
    border-radius: 20px;
}


.redes-sociales{
    display: flex;
    align-items: center;
    margin: 0;
    padding-left: 20px;
}

.contacto-whatsapp {
    border: none; 
    background: none; 
    padding: 0; 
    cursor: pointer;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 50;
}

.contacto-instagram{
    border: none; 
    background: none; 
    padding: 0; 
    cursor: pointer;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 50;
}

.contacto-youtube{
    border: none; 
    background: none; 
    padding: 0; 
    cursor: pointer;
    position: fixed;
    bottom: 190px;
    right: 20px;
    z-index: 50;
}

.socials-wrapper {
	position: fixed;
    right: 80px;
    bottom: 150px;
    z-index: 50;
}

.socials-menu {
	opacity: 0;	
	transition: opacity 0.5s;
}

.active > .socials-menu {
	opacity: 1;	
}

.share-button {
	position: absolute;
	border: none;
	cursor: pointer;
	z-index: 2;
	transition: all 0.4s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	background-color: rgb(82,71,151);
	border-radius: 50%;
	outline: 3px solid rgb(82,71,151) !important;
	outline-offset: 3px;
}

.share-button img {
	height: 1.5rem;
	width: 1.5rem;
}

.active .share-button, .share-button:hover {
	background-color: #00C896;
	transform: scale(1.03);
}

.social {
    background: #2c2c2c;
	position: absolute;
	list-style: none;
	transition: all 0.5s ease-in-out;
	display: grid;
	cursor: pointer;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	outline: 2px solid rgb(82,71,151);
	outline-offset: 3px;
}

.social img {
	height: 1.5rem;
	width: 1.5rem;
	transition: all 0.3s;
}

.social a {
	display: grid;
	cursor: pointer;
	place-items: center;
}

.social:hover img {
    transform: scale(1.20);
}

.active .social:nth-child(1) {
	transform: translateY(-10rem);
    background: radial-gradient(
        circle at 30% 107%, #fdf497 0%, 
        #fdf497 5%, #fd5949 45%,
        #d6249f 60%,#285AEB 90%
    );
}


.active .social:nth-child(2) {
    background-color: #2EAB5E;
	transform: translateY(-5rem);
}

.active .social:nth-child(3) {
	transform: translateY(-15rem);
    background-color: #e52d27;
}

.active .social:nth-child(4) {
	transform: translateY(-20rem);
    background-color: #0866ff;
}

.mb-1{
    background: azure;
    border-radius: 10px;
    width: fit-content;
}

.btn-toggle-nav a{
    margin-left: 0;
}

.ps-0{
    margin-left: 10px;
    z-index: 50;
}

.page-link{
    border-radius: 10px;
}

.hamburger{
    display: none;
}

.boton-modificar{
    display: flex;
    justify-content: center;
}
.boton-eliminar{
    margin: 30px auto;
    width: min-content;
}

.centrar-titulo{
    text-align: center;
}

#boton-crear{
    display: block;
    margin: auto auto 40px;
}

.hamburger {
    cursor: pointer;
    align-self: center;
}

.hamburger svg {
    height: 2em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), 
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger.open svg {
    transform: rotate(-45deg);
}

.hamburger.open .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

.p-3{
    width: auto;
    justify-content: flex-start;
}

.form-check{
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.ocultar{
    display: none;
}

.clean-matriculado{
    text-align: center;
    margin-bottom: 1rem;
}

.rotate-icon{
    cursor: pointer;
    color: rgb(82,71,151);
    transition: transform 0.6s ease-in-out;
}

.rotate-icon:hover{
    transform: rotate(360deg);
}

.formulario-busqueda{
    margin-bottom: 20px;
}

#buscar-factura{
    justify-self: center;
}

.container-filtros{
    display: flex;
    margin: auto;
}

.navegacion-modificar-factura{
    width: 100%;
}

.imagen-mantenimiento{
    width: 25rem;
    margin: auto;
}

.recordar-usuario-container{
    display: flex;
    justify-content: center;
}

.form-check-input{
    margin: auto 0.5rem auto;
}

.crear-cuenta{
    margin-top: 1rem;
}

.registro-matriculado{
    width: min-content;
    margin: auto;
}

#registrar-matriculado{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.container{
    text-align: center;
}

table {
    border-collapse: separate; /* Importante: separa los bordes */
    border-spacing: 0; /* Elimina el espacio entre celdas */
    border-radius: 10px; /* Esquinas redondeadas */
    overflow: hidden; /* Oculta los bordes que sobresalgan */
    border: 2px solid #333; /* Borde general */
}


td:first-child, th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

td:last-child, th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#img-qr-mp{
    border: 5px solid #5059bc;
    border-radius: 5%;
    padding: 10px;
}

#titulo-qr{
    display: block;
}

.sidebar{
  display: none;
}

.sidebar.active{
  display: block;
  margin-top: -15px;
  z-index: 50;
  position: absolute;
  left: 3rem;
}

.dropdown-toggle { outline: 0; }

.btn-toggle,
.btn-toggle-alternative{
  padding: .25rem .5rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: transparent;
  width: 10rem;
}

.btn-toggle:hover,
.btn-toggle:focus,
.btn-toggle-alternative:hover {
  color: white;
  background-color: rgb(96,86,161);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle::before:hover{
  color: white;
}

[data-bs-theme="dark"] .btn-toggle::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
  color: white;
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: var(--bs-tertiary-bg);
}

.scrollarea {
  overflow-y: auto;
}

.help-icon {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.tooltip {
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    top: 22px;
    left: -460%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 100;
    opacity: 1;
}

.container-contrasena{
    margin-top: 15px;
}


@media (max-width: 768px) {
    .navigation{
        display: none !important;
    }

    .menu-icon {
        display: flex;
        align-self: center;
        padding: 0;
        cursor: pointer;
        font-size: x-large;
    }

    .footer{
        position: fixed;
    }

    .hamburger{
        display: block;
    }

    .menu-mobile{
        display: flex;
        max-height: 1.5rem;
    }

    #mi-formulario{
        display: grid;
        margin: auto;
    }

    .container-principal{
        grid-template-columns: 1fr;
    }

    .centrado-facturacion{
        margin: auto 50px;
    }

    .tabla-matriculados{
        margin: auto;
    }

    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

}

@media (min-width: 576px) {
  .row-cols-sm-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  
}

@media (min-width: 992px) {
  .row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }

  .row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

@media (min-width: 1200px) {
  .fs-4 {
    font-size: 1.5rem !important;
  }
}
