@font-face {
    font-family: "AerospaceBold";
    src: url("../fonts/AerospaceBold/AerospaceBold.otf");
}
@font-face {
    font-family: "PathwayGothicOne";
    src: url("../fonts/PathwayGothicOne/PathwayGothicOne.otf");
}
 @font-face {
      font-family: 'Ruda';
      src: url('../fonts/Ruda/Ruda.otf');
   }

   .swal2-popup.no-bg-modal {
  background-color: transparent !important;
  box-shadow: none !important;
}

.swal-fullscreen-popup {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh;
}

.swal-fullscreen {
    height: 100%;
    overflow-y: auto;
    padding: 1rem;
    background: #f9f9f9;
}

.swal-responsive {
  width: 100% !important;
  max-width: 70%; /* Desktop */
}

@media (max-width: 768px) {
  .swal-responsive {
    max-width: 90% !important; /* Tablets */
  }
}

@media (max-width: 576px) {
  .swal-responsive {
    max-width: 95% !important; /* Celulares */
  }
}

   
table{
   color: #374557;
}

table a{
   color: #374557;
}

table a:hover{
   color: #fe7f01;
}

.lessontitle {
    color: #551376;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 2.0rem;
    line-height: normal;
    padding-top: 5px;
    font-weight:bolder;
    text-transform: uppercase;
}
.fredokalessontitle {
    color: #551376;
    font-family: "Fredoka";
    font-size: 2.5rem;
    line-height: normal;
    padding-top: 5px;
    text-transform: none;
}
.lessonsubtitle {
    color: #fe7f01;
    font-family: 'Trebuchet MS', sans-serif;
    font-size: 1.0rem;
    line-height: normal;
    text-transform: capitalize;
}

.ck-content, .ck-content .table{
    color: #000 !important;
}
/*SWEET ALERT RESIZERS*/
.swal-70, .swal-90 {
            /* Garante que o SweetAlert não tenha largura fixa que cause overflow */
            max-width: 80vw !important; /* Exemplo de largura máxima fluida */
            width: auto !important;     /* Ajusta a largura com base no conteúdo */
            
            /* Regra CRÍTICA: Remove qualquer barra de rolagem horizontal desnecessária. */
            overflow-x: hidden !important; 
            
            /* Centraliza e garante que o popup não seja afetado pelo tamanho do conteúdo */
            display: flex !important;
            flex-direction: column !important;
        }
        
        /* Opcional: Ajusta o conteúdo interno para garantir que classes como 'row' não ultrapassem */
        .swal2-html-container {
            padding: 0 1.25em; /* Mantém o padding vertical padrão do Swal */
            overflow-x: hidden; /* Remove rolagem extra no corpo do conteúdo HTML */
        }
        
.swal-height {
    height: 90vh;
    width: 70% !important;
}

.swal90-height {
    height: 90vh;
    width: 90% !important;
}

/*UPDATE OPTIONS - ALUNOS, RESPONSAVEIS, PEDIDOS*/
/* Certifique-se de que o container pai tem position: relative */
.options-wrapper {
    position: relative; /* Importante para os botões posicionados absolutamente */
}

/* Botões inicialmente invisíveis, sem alterar a altura da linha */
.options-btns {
    position: absolute; /* Fica sobre a célula */
    top: 50%; 
    right: 10px; /* Ajuste conforme necessário */
    transform: translateY(-50%); /* Centraliza verticalmente */
    visibility: hidden; /* Inicialmente oculto */
    opacity: 0; /* Inicialmente invisível */
    transition: visibility 0s, opacity 0.3s ease, transform 0.3s ease; /* Suaviza a transição */
    z-index: 10; /* Garante que o botão fique acima do conteúdo da célula */
}

/* Torne os botões visíveis ao passar o mouse sobre a célula */
.options-wrapper:hover .options-btns {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1); /* Pode adicionar um efeito de aumento, se desejar */
}

/* Ajuste os links para que eles não afetem o layout da linha */
.showaluno,
.updatealuno,
.updateschool,
.updatefatura,
.updatecontrato,
.updateresponsavel,
.updatefuncionario,
.updatepedido,
.updateregistro,
.updatepedidomaterial,
.updatelivro {
    display: inline-block; /* Não use float para evitar mudanças no layout */
    margin-right: 10px; /* Ajuste o espaçamento entre os links */
    position: relative;
    z-index: 1;
}


/*STYLIZE EVENT POINTER*/
.fc-event,
.external-event {
    cursor: pointer !important;
}

/*STYLIZE COLORED TOASTS*/
.colored-toast.swal2-icon-success {
    background-color: #3aa10e !important;
    color: "white" !important;
}
.colored-toast.swal2-icon.swal2-error {
    border-color: #3aa10e !important;
}
.colored-toast.swal2-icon-warning {
    background-color: #ffab2d !important;
}
.colored-toast.swal2-icon-error {
    background-color: #ee3f4a !important;
}
.colored-toast .swal2-title {
    color: white;
}
.colored-toast .swal2-close {
    color: white;
}
.colored-toast .swal2-html-container {
    color: white;
}
.colored-toast.swal2-icon-question {
    background-color: #ee3f4a !important;
}

/* Fix para sobreposição de menus/balões */
.ck-body-wrapper {
    z-index: 99999 !important;
}

/* Fix para listas aparecerem corretamente */
.ck-content ul {
    list-style-type: disc !important;
    padding-left: 25px !important;
}
.ck-content ol {
    list-style-type: decimal !important;
    padding-left: 25px !important;
}

/* Ajuste de espaçamento entre linhas padrão */
.ck-content p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Impedir que tabelas globais quebrem o layout do editor */
.ck-content .ck-table-table {
    margin: 0 !important;
}

/*UPLOAD COM GALERIA DE IMAGEM - Carousel, Brindes, Materiais, Estágios*/
.upload__box {
    max-height: 100%;
}
.upload__box__slideshow {
    overflow-y: scroll;
    max-height: 100%;
}
.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.upload__btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 116px;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: #4045ba;
    border-color: #4045ba;
    border-radius: 10px;
    line-height: 26px;
    font-size: 14px;
}
.upload__btn:hover {
    background-color: unset;
    color: #4045ba;
    transition: all 0.3s ease;
}
.upload__btn-box {
    margin-bottom: 10px;
}
.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
}
.upload__img-box {
    width: 20%;
    margin-right: 2%;
    margin-bottom: 12px;
}
.upload__img-box:hover {
    outline: 0px solid transparent;
    border: 1px solid #2196f3;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}
.upload__img-close:after {
    content: "\2716";
    font-size: 14px;
    color: white;
}
.upload_audio_close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 10;
    cursor: pointer;
    margin-top: -6px;
}

.upload_audio_close:after {
    content: "\2716";
    font-size: 14px;
    color: white;
}

.upload_pres_close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 10;
    cursor: pointer;
    margin-top: -6px;
}

.upload_pres_close:after {
    content: "\2716";
    font-size: 14px;
    color: white;
}

.line_upload {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 12pt;
    line-height: 30px;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}

/*UPLOAD DE AVATAR - Home, Home Admin, Home Teacher*/
#cropperjs {
    max-width: 100%;
}

#preview {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 100%;
}
#avatar {
    width: 100% !important;
}
.label {
    cursor: pointer;
}
.progressbar {
    display: none;
    margin-bottom: 1rem;
}
.alert {
    display: none;
}
.img-container img {
    max-width: 100%;
}

/*SCROLLER*/
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot.owl-nav {
    position: absolute;
    left: 15px;
    top: 35%;
    background-color: var(--base-color) !important;
    padding: 0 0.3em !important;
    font-size: 10em;
    margin: 0;
    cursor: pointer;
    color: #551375;
    transform: translate(-50%, -50%);
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot.owl-nav {
    position: absolute;
    right: -108px;
    top: 35%;
    background-color: var(--base-color) !important;
    display: block;
    padding: 0 0.3em !important;
    font-size: 10em;
    margin: 0;
    cursor: pointer;
    color: #551375;
    transform: translate(-50%, -50%);
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
    color: #551375;
}
.item-tipo {
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.item-data {
    font-size: 16pt;
    font-weight: bold;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background-color: #fff;
}

.owl-carousel .aula_passada {
    background-color: #fad2d2;
}

.owl-carousel .aula_passada:hover {
    background-color: #eb5757;
}
.owl-carousel .aula_passada:hover p{
    color:white !important;
}

.aula_passada {
    background: linear-gradient(90deg, rgba(254,166,172,1) 0%, rgba(255,205,187,1) 48%, rgba(254,218,218,1) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);   
}

.aula_passada::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.aula_passada:hover::before {
    left: 100%;
}

.aula_passada:hover { 
    background: linear-gradient(90deg, rgba(161,9,33,1) 0%, rgba(255,27,27,1) 49%, rgba(247,129,90,1) 100%);
}

.aula_passada.active {
    background: linear-gradient(90deg, rgba(161,9,33,1) 0%, rgba(255,27,27,1) 49%, rgba(247,129,90,1) 100%);
    box-shadow: 
        0 8px 25px 0 rgba(31, 38, 135, 0.45),
        inset 0 0 32px rgba(255, 255, 255, 0.08);
}
.aula_passada.active .chart-num-days {
    color: white !important;
}
.aula_passada.active h4 {
    color: white !important;
}
.aula_passada.active p {
    color: white !important;
}
.red-opaque {
    color: #ca1d28 !important;
}

.aula_ausente {
    background: linear-gradient(90deg, rgba(255,178,111,1) 0%, rgba(255,200,144,1) 46%, rgba(246,233,200,1) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);   
}

.aula_ausente::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.aula_ausente:hover::before {
    left: 100%;
}

.aula_ausente:hover { 
    background: linear-gradient(90deg, rgba(254,127,1,1) 0%, rgba(250,143,36,1) 46%, rgba(251,187,124,1) 100%);
}

.aula_ausente.active {
    background: linear-gradient(90deg, rgba(254,127,1,1) 0%, rgba(250,143,36,1) 46%, rgba(251,187,124,1) 100%);
    box-shadow: 
        0 8px 25px 0 rgba(31, 38, 135, 0.45),
        inset 0 0 32px rgba(255, 255, 255, 0.08);
}
.aula_ausente.active .chart-num-days {
    color: white !important;
}
.aula_ausente.active h4 {
    color: white !important;
}
.aula_ausente.active p {
    color: white !important;
}

.aula_proxima{
    background: linear-gradient(90deg, rgba(137,228,91,1) 0%, rgba(145,249,118,1) 48%, rgba(207,246,200,1) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);   
}

.aula_proxima::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.aula_proxima:hover::before {
    left: 100%;
}

.aula_proxima:hover {
    background: linear-gradient(90deg, rgba(46,112,38,1) 0%, rgba(63,165,56,1) 48%, rgba(73,195,44,1) 100%);
}

.owl-carousel .aula_proxima {
    /*background-color: #aff591;*/
}

.owl-carousel .aula_proxima:hover {
    background: linear-gradient(90deg, rgba(46,112,38,1) 0%, rgba(63,165,56,1) 48%, rgba(73,195,44,1) 100%);
}

.owl-carousel .aula_proxima:hover p{
    color:white !important;
}

.aula_proxima.active {
    background: linear-gradient(90deg, rgba(46,112,38,1) 0%, rgba(63,165,56,1) 48%, rgba(73,195,44,1) 100%);
    box-shadow: 
        0 8px 25px 0 rgba(31, 38, 135, 0.45),
        inset 0 0 32px rgba(255, 255, 255, 0.08);
}

.aula_proxima.active .chart-num-days {
    color: white !important;
}
.aula_proxima.active h4 {
    color: white !important;
}
.aula_proxima.active p {
    color: white !important;
}

.green-opaque {
    color: #23710e !important;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cover_text {
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    height: auto;
}

.cover_name {
    margin-top: 10px;
    width: auto;
    border-radius: 1.75rem;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #fe7f01;
    height: auto;
    color: white;
    text-transform: uppercase;
    text-align: left;
}

.cover_title {
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: white;
    width: auto;
    text-align: right;
}

.cover_title_box {
    width: 40%;
    border-bottom: 5px solid;
    border-top: 5px solid;
    border-left: 5px solid;
    border-color: #fe7f01;
    border-top-left-radius: 1.75rem;
    border-bottom-left-radius: 1.75rem;
    float: left;
    font-family: "Fredoka";
    font-size: 5vw;
    line-height: 80px;
    height: auto;
    text-align: right;
}



.title-box-kids{
    background-color: #fe7f01 !important;
}

.orange-text {
    color: #fe7f01 !important;
}

.white-bg {
    background-color:white !important;
    border-color: #551376 !important;
}

.purple-bg {
    background-color:#551376 !important;
}

.orange-bg {
    background-color:#fe7f01!important;
}

.cover_name span{
  padding-right:3px;
  text-shadow: 
     1px  1px     #fff, 
    -1px  1px     #fff, 
     1px -1px     #fff, 
    -1px -1px     #fff,
     1px  1px 5px #555;
}

.cover_name_box {
    border-bottom: 5px solid;
    border-top: 5px solid;
    border-right: 5px solid;
    border-color: #fe7f01;
    font-size: 5vw;
    float: right;
    line-height: 80px;
    font-family: "Fredoka";
    width: 60%;
    border-top-right-radius: 1.75rem;
    border-bottom-right-radius: 1.75rem;
    height: 110px;
    text-align: left;
}

#info_aula {
    font-family: "Fredoka";
}

.openmaterial {
    width: 25%;
}
.openclassroom {
    width: 25%;
}
.openfeedback {
    width: 25%;
}
.openrecording {
    width: 25%;
}

/*FINANCEIRO*/
#nome_mes {
    text-transform: capitalize;
}

.card-box:hover .chart-num-days {
    color: white !important;
}
.card-box:hover h4 {
    color: white !important;
}

/*TRANSFERS TABLE*/
tr {
    transition: opacity 1s ease-out;  /* Define a duração e tipo da transição */
}

.fadeOut {
    opacity: 0;  /* Torna a linha invisível */
}

/*EMOJI FEEDBACK*/
.rating {
  display: flex;
  width: 100%;
  justify-content: center;
  overflow: hidden;
  flex-direction: row-reverse;
  height: 150px;
  position: relative;
}

.rating-0 {
  filter: grayscale(100%);
}

.rating > input {
  display: none;
}

.rating > label {
  cursor: pointer;
  width: 40px;
  height: 40px;
  margin-top: auto;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 76%;
  transition: .3s;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}


.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
  width: 100%;
  text-align: center;
  height: 100px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.emoji-wrapper:before,
.emoji-wrapper:after{
  content: "";
  height: 15px;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
}

.emoji-wrapper:before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0) 100%);
}

.emoji-wrapper:after{
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0) 100%);
}

.emoji {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: .3s;
}

.emoji > svg {
  margin: 15px 0; 
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

#rating-1:checked ~ .emoji-wrapper > .emoji { transform: translateY(-100px); }
#rating-2:checked ~ .emoji-wrapper > .emoji { transform: translateY(-200px); }
#rating-3:checked ~ .emoji-wrapper > .emoji { transform: translateY(-300px); }
#rating-4:checked ~ .emoji-wrapper > .emoji { transform: translateY(-400px); }
#rating-5:checked ~ .emoji-wrapper > .emoji { transform: translateY(-500px); }

.feedback {
  max-width: 360px;
  background-color: #fff;
  width: 100%;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0,0,0,.05);
}

/*ALTERANDO BACKGROUND*/

.bg-curso-kids {
  background-image: url('https://wallpapers.com/images/hd/kids-background-bvpyjjcwobkkk2sc.jpg');
  background-size: cover;      /* cobre toda a tela */
  background-repeat: no-repeat; /* não repete a imagem */
  background-position: center;  /* centraliza a imagem */
  background-attachment: fixed; /* mantém o fundo fixo ao rolar */
  transition: background-image 0.5s ease;
}

.bg-curso-teens {
  background-image: url('../../images/tema/bgteens3.png');
  background-size: cover;      /* cobre toda a tela */
  background-repeat: no-repeat; /* não repete a imagem */
  background-position: center;  /* centraliza a imagem */
  background-attachment: fixed; /* mantém o fundo fixo ao rolar */
  transition: background-image 0.5s ease;
}

.tema-kids {
  border: 3px solid #fe7f01 !important; /* azul, por exemplo */
}

.tema-teens {
  /*border: 3px solid #d5414e !important; /* azul, por exemplo */
}


