@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    font-family: "Poppins", sans-serif;
}

:root {
    --tw-bg-opacity: 1;
    --primary-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    --secondary-color: rgb(255 98 0);
    --text-color: rgb(35, 35, 35);
    --shadow-color: #e5e7eb;
}

body { 
    overflow-y: hidden;  
  --tw-bg-opacity: 1;
    background-color: rgb(246 246 246 / var(--tw-bg-opacity, 1));
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 16px; }
h4, p, span { font-size: 14px; }

.title { padding-top: 32px; }

button { cursor: pointer; }

.flex { display: flex; }
.flex-column { display: flex; flex-direction: column; }
.flex-jsb-aic {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.flex-jcc-aic {
    display: flex;
    justify-content: center; 
    align-items: center;
}
.flex-jsb-ais {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.flex-jcc-ais {
  display: flex;
  justify-content: center;
  align-items: start;
}
.flex-jcs-aic {
  display: flex;
  justify-content: start;
  align-items: center;
}

.gap-32 { gap: 32px; }
.gap-16 { gap: 16px; }
.gap-8 { gap: 8px; }
.gap-4 { gap: 4px; }

.padding-32 { padding: 32px; }
.padding-16 { padding: 16px; }
.padding-8 { padding: 8px; }
.padding-16-32 { padding: 16px 32px; }
.padding-8-32 { padding: 8px 32px; }
.padding-8-16 { padding: 8px 16px; }

section { padding: 64px 32px; color: var(--text-color); }

.message-box {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.message-box.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.scroll {
  overflow-y: scroll;
  max-height: 85dvh;
}

.scroll::-webkit-scrollbar {
  width: 10px;
}

.scroll::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}

.scroll::-webkit-scrollbar-thumb {
  background-color: var(--text-color);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.scroll::-webkit-scrollbar-button {
  display: none;
}

input, textarea, select {
    width: 100%;
    height: 2.8rem;

    padding: 0.8rem 1.6rem;

    border: 0.05rem solid var(--shadow-color);
    border-radius: 0.8rem;
    background-color: white;

    outline: none;
}

button {
    font-weight: bold;
    color: white;

    border: none;
    border-radius: 0.8rem;
    background-color: var(--secondary-color);
}

.materiais { max-height: 85dvh; }

.materia, .bloco, .material-item, .turma {
    cursor: pointer;
    border: 0.05rem solid var(--shadow-color);
    border-radius: 4px;
    background-color: white;
}

.materia:hover, .bloco:hover, .material-item:hover, .turma:hover { background-color: #f0f0f0; }

.nested {
    margin-left: 32px;
    display: none; 
    flex-direction: column;
    gap: 4px;
}

.expanded { display: flex !important; }

.image-folder {
    color: #ff9800; 
    min-width: 1.6rem;
    min-height: 1.6rem;
}

.image-material {
    color: var(--text-color);
    min-width: 1.6rem;
    min-height: 1.6rem;
}

.title-container { line-height: 1.6rem; }
.title-video { line-height: 0.8rem; }

@media ( max-width: 760px ) {
    .planejamento, .view-planejamento, .observacoes, .contato-assessor, .acesso-rapido,
    .materiais, .lista-materias, .materia, .bloco, .simulados, .title-container, .lista-materias, .materia, 
    .videoaulas, .video-container, .navigation-container, .title-form, .edit-data, .edit-form, 
    .planejamento-container, .controle-cadastro, .pesquisa, .form-planejamento, .professores, .topo,
    .view-professores, .card-professor, .alunos, .pesquisa, .lista-alunos, .card-aluno {
        padding: 0.8rem;

        h1 { font-size: 24px; }
        h2 { font-size: 20px; }
    }

    .materiais .title-form .title-container, .videoaulas .title-form .title-container,
    .simulados .title-form .title-container, .simulados .title-form .title-container {
        padding: 0;
    }
}