/* Soli Deo Gloria */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600&display=swap');

/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    /* transition: all 0.5s ease; */
    /* color: #666 !important; */
}

html {
    /* height: 100vh; */
    overflow-y: hidden;
    overflow-x: hidden;
}

body {
    width: 100%;
    background-color: #F6F7FB;
    /* height: 100vh; */
}

main {
    width: 100%;
    /* height: 300px; */
    /* height: calc(100vh - 162px); */
}

#logo {
    margin-left: 10px;
}

.btn-primary {
    border: none;
    background-color: #006A83 !important;
    padding: 8px 32px;
}

.btn-primary:hover {
    background-color: #005366 !important;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #6F6F6F !important;
    color: #6F6F6F;
    padding: 7px 23px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: #006A83;
    background-color: #fff;
    border: 1px solid #006A83 !important;
    transition: all 0.3s ease;
}

.btn-secondary:focus {
    color: #006A83 !important;
    background-color: #fff !important;
    border: 1px solid #006A83 !important;
    transition: all 0.3s ease;
}

.content-wrapper {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

h5 {
    font-size: 16px;
    margin: 0;
}


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

a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.link-about:hover {
    color: #006A83;
}

p {
    font-size: 14px;
}

.divider-x {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 1px;
    background-color: #dddddd;
    margin: 0 24px 0 0;
}

.divider-y {
    align-items: center;
    justify-content: center;
    width: 1px;
    height: 100%;
    background-color: #dddddd;
    margin: 0 24px 0 0;
}

/* Cards */
.periodoDiv {
    min-width: 192px;
    padding: 0 !important;
}

.materia-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: -8px;
    height: 88px;
    min-width: 150px;
    padding: 2rem !important;
}

.materia {
    position: relative;
    border-radius: 8px;
    margin: 0 8px 10px 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: #ffffff !important;
}

.divisaoInternaMateria {
    line-height: 20px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-nucleo {
    font-size: 12px;
    color: #333;
    margin: 0;

}

.nucleo {
    border-top: 1px solid #dddddd50;
    padding: 8px;
}

/* Ícones */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    padding: 16px;
    background-color: #E0EEF2;
    border-radius: 100px;
}

.custom-btn {
    font-size: 20px;
    border: none;
    background-color: transparent;
    padding: 0;
    color: #999;
    transition: all 0.4s ease;
}

.custom-btn:hover {
    transition: all 0.4s ease;
    color: #F77679;
}

.bi-modal {
    font-size: 18px;
    color: #006A83;
}

.icone-ajuda {
    font-size: 14px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 13px;
    color: #666 !important;
}

/* Modal */
.modal-title {
    font-size: 18px;
    font-weight: 400;
}


/* Adicionar período */
.add-new-period-wrapper {
    cursor: pointer;
    border: 1px dashed #999;
    color: #999;
    border-radius: 8px;
    padding: 4px;
    margin-top: -10px;
}

.text-add-new-periodo {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.bi-plus {
    font-size: 20px;
}

.bi-linkedin {
    color: #0A78B5;
}

/* .bi-person {
    font-size: 16px;
    margin: 0 8px 0 0;
    padding: 0;
} */

.periodos {
    font-size: 14px;
    font-weight: 600;
    /* color: #333; */
    margin: 0;
}

.CHperiodos {
    font-size: 12px;
    color: #999 !important;
    margin: 0;
}

.profile-wrapper {
    margin-right: 24px;
}

/* Toasts */
.toast-header {
    background-color: #F25A60;
}


/* Gambiarras */
.new-periodo-dinamico {
    display: none;
}

.modal .show {
    padding: 0 !important;
    margin: 0 !important;
}

#config-modal {
    padding: 0 !important;
    margin: 0 !important;
}

/* Barra de Rolagem de cada coluna */
.barra-rolagem {
    width: 1px;
    background-color: red;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.3s;
}


/* Media queries */
/* @media screen and (max-width: 1280px) {
    header {
    width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    body {
        transform: scale(0.5) !important;
    }
} */

@media screen and (max-width: 1024px) {
    .divisaoInternaMateria {
        line-height: 18px;
        font-size: 12px;
    }
}

.sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc;
}

.main-periodo {
    padding-bottom: 235px;
    overflow: hidden;
}

/* Barra de rolagem dos períodos */
.main-periodo::-webkit-scrollbar {
    width: 5px;
}

.main-periodo::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 8px;
}

.main-periodo::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #f1f1f1;
}

.main-periodo::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
}

/* Estilos para a barra de rolagem transparente quando a classe scrollbar-transparent está presente */
.main-periodo.scrollbar-transparent::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.main-periodo.scrollbar-transparent::-webkit-scrollbar-track {
    background-color: transparent;
}

.main-periodo.scrollbar-transparent::-webkit-scrollbar-thumb:hover {
    background-color: transparent;
}

/* Switch button */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.form-check {
    padding: 0;
}

.form-select {
    cursor: pointer;
    font-size: 14px;
}

option {
    font-size: 14px;
}

.form-select:focus {
    border-color: #006A8350;
    box-shadow: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #006A83;
}

input:focus+.slider {
    box-shadow: 0 0 1px #006A83;
}

input:checked+.slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


.concluida {
    background-color: #CCFFCA !important;
}

.pendente {
    background-color: #FFFFB3 !important;
}

.bloqueada {
    background-color: #F8CECC !important;
}

#registreseAqui {
    cursor: pointer;
    color: #006a83;
}

#entreAqui {
    cursor: pointer;
    color: #006a83;
}

.opacidade-baixa {
    opacity: 0.4;
}

.opacidade-alta {
    opacity: 1;
}

.opacidade-baixa-hover {
    opacity: 0.4 !important;
}

.opacidade-alta-hover {
    opacity: 1 !important;
}

.materiaInconsistente {
    border: 4px solid #ee4a4d !important;
    border-radius: 8px;
}




#grade {
    max-width: 100%;
    overflow-y: hidden;
    height: 85vh !important;
    height: calc(100vh - 162px);
    padding-left: 15px;
}

.col-add-new-periodo {
    width: 168px;
}

.first-message {
    padding: 12px 24px;
}

.periodoConcluido {
    color: #7FED97 !important;
}

main {
    user-select: none;
}

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

#grade::-webkit-scrollbar {
    position: absolute;
    transform: rotate(35deg);
    height: 16px;
}

/* Cor de fundo da barra de rolagem */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 8px;
}

/* Cor da alça da barra de rolagem (a parte que você arrasta) */
::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 8px;
}

/* Cor da alça da barra de rolagem (a parte que você arrasta) */
::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
    border-radius: 8px;
}

#firstAcessMsg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#gerarGradeBtnFirstAcess {
    cursor: pointer;
    font-size: 14px;
}

.text-areas {
    /* border: 1px solid #ccc;
    border-radius: 8px; */
    font-weight: 500;
    color: #666;
    margin: 0 16px !important;
}

input[type="search"]::-webkit-search-cancel-button {
    color: #fff;
    filter: invert(1);
}

.check-icon {
    /* display: none; */
    font-size: 20px;
    color: #7FED97;
    position: absolute;
    top: 16%;
    left: 10%;
    transform: translate(-50%, -50%);
}

.form-label {
    font-weight: 500;
}

.dark-mode .dropdown-item:hover {
    background-color: #333;
}

.dropdown-item:hover {
    background-color: #f4f4f4;
}

.dropdown-item:focus {
    color: #111 !important;
}

.header-periodo {
    position: relative;
    cursor: pointer;
}

/* Toast */
#toastFacaLogin {
    background-color: #006A83 !important;
}

#toastSaveConfigs {
    background-color: #006A83 !important;
}

#areas-conhecimento {
    margin: 0;
}

.about-title {
    font-weight: 500;
}

.input-form {
    border: none;
    border-bottom: 1px solid #ddd !important;
    padding: 0 0 8px 0;
    width: 100%;
}

.input-form::placeholder {
    color: #666;
}

/* On focus */
.input-form:focus {
    outline: none;
    border-bottom: 1px solid #006A83 !important;
}

#loginBtn {
    width: 100%;
    padding: 8px;
}

#registrarBtn {
    width: 100%;
    padding: 8px;
}

.modal-header {
    padding: 24px 32px;
}

.modal-body {
    font-size: 14px;
    padding: 32px;
}

.modal-footer {
    padding: 16px 32px;
}

/* Tutorial */
#tutorial-modal {
    max-width: 100vw;
    margin: 0 auto;
}

#tutorialOption .tutorial-modal-body {
    padding: 0;
}

#tutorialOption .ratio {
    width: 100%;
    height: auto;
    border: 0;
}

#tutorialOption iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.carousel-item {
    text-align: center;
}

.carousel-item h5 {
    margin-bottom: 40px;
    margin-top: 10px;
    color: #333;
    /* Cor Título */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo ícones */
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1);
    /* Cor dos Botões */
    position: absolute;
    top: 5%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

#tutorial-modal .carousel-item.active .text-center {
    text-align: left;
    /* Conteúdo do Sumário à Esquerda */
    padding-left: 5px;
}

#tutorial-modal ul {
    list-style-type: none;
    padding: 0 20px;
    margin: 0;
}

/* Itens Sumário */
#tutorial-modal ul li {
    text-align: left;
    margin: 8px 0;
}

#tutorial-modal ul li a {
    color: #006a83;
    text-decoration: none;
    transition: color 0.3s;
}

#tutorial-modal ul li a:hover {
    color: #006a83;
    text-decoration: underline;
}

/* Altura Fixa Modal Tutorial */
#tutorial-modal .modal-body {
    height: 500px;
}

/* Imagens Carousel */
.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.tutorial-button {
    position: fixed;
    bottom: 30px;
    left: 20px;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: background-color 0.3s;

    /* Tamanho fixo para o botão */
    width: 50px;
    /* Largura do botão */
    height: 50px;
    /* Altura do botão */
    padding: 0;
    /* Remove qualquer padding extra */

    /* Centraliza o ícone dentro do botão */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Formato redondo */
    border-radius: 50%;
}

.tutorial-button i {
    font-size: 24px;
    /* Tamanho do ícone */
}

.tutorial-button:hover {
    background-color: #f0f0f0;
}

.form-control:focus {
    border-color: #006A8350;
    box-shadow: none;
}

#showLoginPasswordBtn {
    border: 1px solid #ddd !important;
}

#showLoginPasswordBtn:focus {
    border-color: #006A8350 !important;
    border: 1px solid #ddd !important;
}

#showLoginPasswordBtn:hover {
    background-color: transparent;
    color: #111;
}

#showRegisterPasswordBtn {
    background-color: #fff;
    border: 1px solid #ddd !important;
}

#showRegisterPasswordBtn:focus {
    border-color: #006A8350 !important;
    border: 1px solid #ddd !important;
}

#showRegisterPasswordBtn:hover {
    background-color: #fff;
    color: #111;
}

/* Estilo para o ícone do menu hamburguer */
.custom-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='3' y1='6' x2='27' y2='6' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='3' y1='15' x2='27' y2='15' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='3' y1='24' x2='27' y2='24' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    font-size: 14px;
}

.navbar-toggler {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #BFBFBF;
}

/* Remover a borda ao focar no botão do menu hamburguer */
.navbar-toggler:focus {
    box-shadow: none;
}

/* Estilo para o ícone do menu hamburguer */
.custom-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='3' y1='6' x2='27' y2='6' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='3' y1='15' x2='27' y2='15' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='3' y1='24' x2='27' y2='24' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
    font-size: 14px;
}

.navbar-toggler {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #BFBFBF;
}

/* Remover a borda ao focar no botão do menu hamburguer */
.navbar-toggler:focus {
    box-shadow: none;
}


header {
    width: 100%;
    position: relative;
    user-select: none;
    z-index: 999;
}

#campo-areas-de-conhecimento {
    position: relative;
    user-select: none;
    z-index: 999;
}

.form-select {
    background-color: #fff;
    /* Fundo claro */
    color: #333;
    /* Texto escuro */
    border: 1px solid #ddd;
    /* Borda clara */
    border-radius: 5px;
    /* Cantos arredondados */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    -webkit-appearance: none;
    /* Remove o estilo padrão no iOS */
    -moz-appearance: none;
    /* Remove o estilo padrão no Firefox */
}

.form-select:focus {
    border-color: #bbb;
    /* Cor da borda ao focar */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    /* Sombra ao focar */
}

/* Estilizando o indicador de dropdown */
.form-select {
    background-image: url('path_to_your_custom_dropdown_icon.svg');
    /* Caminho para um ícone personalizado */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.dark-mode .nav-link.active {
    background-color: #333;
    /* Cor de fundo mais escura */
    color: #fff;
    /* Cor de texto mais clara */
    border: #6F6F6F;
}

.dark-mode .nav-link {
    color: #aaa;
    /* Cor de texto para abas inativas */
}

.dark-mode .form-control {
    background-color: #222;
    /* Cor de fundo mais escura */
    color: #fff;
    /* Cor de texto mais clara */
    border: 1px solid #444;
    /* Borda mais visível no modo escuro */
}

.nav-tabs {
    border-bottom: 1px solid #6F6F6F;
}

/* Copilot Xavier */
.xavier {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    overflow: hidden;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Chatbot */
.chatbot {
    position: fixed;
    right: 20px;
    bottom: 16px;
    /*- Para o Chatbot sobrepor o avatar */
    /*bottom: 300px; */
    width: 300px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
        0 32px 64px -48px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.chatbot.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot header {
    padding: 16px 0;
    position: relative;
    /* Posição do Cabeçalho do Chatbot */
    text-align: center;
    color: #ffff;
    background: #005366;
    box-shadow: 0 2px 10px #ffff(4, 4, 4, 0.1);
}

.chatbot header span {
    position: absolute;
    /* Posição do Botão de Fechar do Chatbot */
    right: 15px;
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

.close-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    /* Tamanho do Ícone de Fechar */
    color: #fff;
    cursor: pointer;
}

.character-image {
    width: 35px;
    /* Imagem do Avatar no Chatbot */
    height: 40px;
    margin-right: 10px;
    border-radius: 25px;
}

.chatbot .chatbox {
    overflow-y: auto;
    height: 400px;
    /* Altura da Caixa de Mensagens */
    padding: 30px 20px 100px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar {
    width: 6px;
    /* Barra de Rolagem da Caixa de Mensagens */
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 25px;
}

.chatbot :where(.chatbox, textarea)::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 25px;
}

.chatbox .chat {
    display: flex;
    list-style: none;
}

.chatbox .outgoing {
    margin: 20px 0;
    justify-content: flex-end;
}

.chatbox .incoming span {
    width: 32px;
    /* Tamanho do Avatar */
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: #005366;
    border-radius: 6px;
    margin: 0 100px 7px 0;
}

.chatbox .incoming span.highlight-materia {
    all: unset;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: inline;
}

.chatbox .chat p {
    white-space: pre-wrap;
    padding: 12px 16px;
    border-radius: 10px 10px 0 10px;
    max-width: 75%;
    color: #fff;
    font-size: 0.80rem;
    background: #006A83
}

.chatbox .incoming p {
    border-radius: 10px 10px 10px 0;
    color: #000;
    background: #f2f2f2;
    overflow: hidden;
    animation: digitando 3s steps(25), blink .4s infinite alternate;
}

.chatbot .chat-input {
    display: flex;
    gap: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 3px 20px;
    border-top: 1px solid #ddd;
}

.chat-input textarea {
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    max-height: 180px;
    padding: 15px 15px 15px 0;
    font-size: 0.95rem;
    overflow: hidden;
    /* Remover a barra de rolagem */
}

.chat-input textarea::-webkit-scrollbar {
    display: none;
}

.chat-input textarea {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.chat-input span {
    align-self: flex-end;
    color: #724ae8;
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    /* Tamanho do ícone */
    visibility: hidden;
}

.chat-input textarea:valid~span {
    visibility: visible;
}

.imagem-lateral {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 100px;
    height: auto;
    cursor: pointer;
}

.imagem-lateral img {
    width: 100%;
    height: auto;
}

.character-image.user {
    width: 40px;
    /* Imagem do Usuário */
}

/* Balão de Fala */

.avatar-container {
    position: relative;
    display: inline-block;
}

.speech-bubble {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: max-content;
    max-width: 150px;
    bottom: 120%;
    left: 50%;
    transform: translateX(-25%) translateY(-70%);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #fff;
    border-bottom: 0;
    margin-left: -8px;
    margin-top: -1px;
}

/* Hide the speech bubble by default */
.speech-bubble.hidden {
    display: none;
}

/* Estilos para mobile e tablet */

.mobile-arrow {
    z-index: 999;
    /* Garante que as setas fiquem acima do conteúdo */
    cursor: pointer;
    /* Mostra que o elemento é clicável */
    display: none;
    position: absolute;
    background-color: transparent;
    height: 20px;
}

#arrows-mobile-right {
    right: 5px;
    /* Fica a 20px do canto direito */
    top: 50%;
    /* Move o elemento para o centro vertical */
    transform: translateY(-50%);
    /* Centraliza verticalmente em relação a si mesmo */
}


#arrows-mobile-left {
    left: 10px;
    /* Fica a 20px do canto direito */
    top: 50%;
    /* Move o elemento para o centro vertical */
    transform: translateY(-50%);
    /* Centraliza verticalmente em relação a si mesmo */
}

.sytle-arrow {
    background-color: #006A83;
    /* Cor ciano */
    color: #FFFFFF;
    /* Texto em branco para contraste */
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sytle-arrow:hover {
    background-color: #00CCCC;
    /* Tom de ciano mais escuro para efeito de hover */
}

.sytle-arrow:active {
    background-color: #009999;
    /* Tom de ciano ainda mais escuro para estado de clique */
}


#more-button {
    z-index: 999;
    /* Garante que as setas fiquem acima do conteúdo */
    cursor: pointer;
    /* Mostra que o elemento é clicável */
    display: none;
    right: 20px;
    /* Fica a 20px do canto direito */
    top: 50%;
    /* Move o elemento para o centro vertical */
    transform: translateY(-50%);
    /* Centraliza verticalmente em relação a si mesmo */
}


@media (max-width: 991px) {
    #modal-course-open {
        /* background-color: red; */
        /* overflow: hidden !important; */
    }

    .form-select {
        width: 100%;
        font-size: 0.9em;
        overflow: hidden;
    }

    .navbar-collapse {
        width: 100%;
        height: 100vh;
        transition: none;
        /* Remove qualquer transição temporariamente */
        z-index: 500;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-link {
        font-size: 16px;
    }

    /* Barra de Pesquisa*/
    .search-bar-container {
        order: 1;
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }

    .navbar-nav .nav-item:nth-child(2) {
        order: 2;
    }

    .navbar-nav .nav-item:nth-child(3) {
        order: 3;
    }

    .dropdown {
        text-align: center;
        margin: 0 auto;
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .dropdown-item {
        padding: 10px 15px;
        text-align: left;
    }

    .chatbot {
        right: 12px;
        /* Margem lateral */
        bottom: 12px;
        /* Margem inferior */
        height: 350px;
        /* Altura do chatbot */
        width: 350px;
        /* Largura do chatbot */
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    }

    .chatbot .chatbox {
        height: 70%;
        padding: 15px;
    }

    .chatbot .chat-input {
        padding: 5px 10px;
    }

    .chatbot header span {
        display: block;
    }

    .speech-bubble {
        display: none;
        /* Oculta o balão de fala */
    }

    .periodoDiv {
        min-width: 330px;
        display: block;
        transition: opacity 0.5s ease;
    }

    .add-new-period-wrapper {
        display: none !important;
    }

    .col-add-new-periodo {
        display: none;
    }

    #grade::-webkit-scrollbar {
        display: none;
    }

    /* Tutorial */
    .carousel-item h5 {
        margin-bottom: 15px;
    }

    .tutorial-button {
        right: 10px;
        width: 45px;
        height: 45px;
    }

    #tutorial-modal .modal-body {
        height: auto;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 55px;
        height: 30px;
    }

    .carousel-item img {
        max-height: 400px;
        object-fit: cover;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    #tela-modal {
        z-index: 1075 !important;
    }

    #tutorial-modal {
        z-index: 1060 !important;
    }

    .modal-backdrop {
        z-index: 1050 !important;
    }

    #tela-modal .modal-backdrop {
        display: none !important;
    }

    #tela-modal .modal-dialog {
        display: flex;
        width: 360px;
        align-items: center;
        justify-content: center;
        margin-top: 5%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Warnings */
    .desktop-only-warning-mobile {
        display: none;
        border: 2px solid #ffc107;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff8e1;
        color: #856404;
        font-size: 14px;
        font-weight: bold;
        text-align: left;
    }

    .desktop-only-warning-mobile img {
        width: 40px;
        height: 40px;
    }
}

/* Versão Mobile */

@media (max-width: 768px) {
    .carousel-item h5 {
        margin-bottom: 10px;
    }

    #xavierparado,
    #xavierok {
        display: none;
    }

    .tutorial-button {
        right: 45px;
        width: 45px;
        height: 45px;
    }

    .desktop-only-warning-mobile {
        display: flex;
    }

    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .carousel-control-prev-icon {
        width: 20px;
        height: 20px;
    }

    #grade {
        overflow-x: hidden;
    }
}

/* Mover materias no mobile */

.materia-saindo {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.materia-entrando {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.materia-entrando:not(.materia-saindo) {
    opacity: 1;
    transform: translateY(0);
}