 /* === Cadastrar Questão === */

.container-cadastrar-qst {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h2 {
  color: #004080;
  margin-bottom: 20px;
}

.container-cadastrar-qst label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input[type="text"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.alternativas-cadastrar-qst  {
  margin-top: 10px;
}

.btn-cadastrar-qst  {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.btn-cadastrar-qst:hover {
  text-decoration: underline;
  /* background: #003366; */
}

 /* Editor custom */
    
.editor-wrapper {
  margin-bottom: 16px;
}

.toolbar {
  border: 1px solid #ccc;
  border-bottom: none;
  padding: 4px;
  background: #f5f5f5;
}

.toolbar button {
  padding: 4px 8px;
  margin-right: 4px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: white;
  font-size: 13px;
}

.toolbar button:hover {
  background: #eaeaea;
}

.editor {
  border: 1px solid #ccc;
  min-height: 120px;
  padding: 8px;
  background: white;
  box-sizing: border-box;
}

.editor:focus {
  outline: 2px solid #4da3ff;
}

button[type="submit"] {
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  background-color: #28a745;
  color: #fff;
  font-weight: bold;
}

button[type="submit"]:hover {
    background-color: #28a745;
}

/* === Resolver === */ 

.container-questao {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.container-questao h2 {
  color: #004080;
}

.container-questao p {
  text-align: justify;
}

.question {
  margin-bottom: 30px;
}

.question p {
  text-align: justify;
}

.alternatives label {
  display: block;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  text-align: justify;
}

.alternatives input[type="radio"] {
  margin-right: 10px;
}

.btn-questao {
  background: #28a745;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.btn-questao:hover {
  text-decoration: underline;
}
 
.result {
  margin-top: 20px;
  font-weight: bold;
}

.correct {
  color: green;
}

.incorrect {
  color: red;
}

.explanation {
  margin-top: 20px;
  padding: 15px;
  background: #f0f8ff;
  border-left: 5px solid #004080;
}

.navigation {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.navigation a {
  text-decoration: none;
  color: #004080;
  font-weight: bold;
}


/* === Menu em Tabs === */ 

/* Estilo das abas e conteúdos */
.tab-menu {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #dee2e6;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tab {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  cursor: pointer;
  border-right: 1px solid #e9ecef;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab:last-child {
  border-right: none;
}

.tab i {
  font-size: 18px;
  color: #0d6efd;
  margin-bottom: 4px;
}

.tab-label {
  font-size: 14px;
  color: #212529;
}

.tab.active {
  background-color: #e9f0ff;
  font-weight: bold;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.meta-info {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px; 
}

/* Responsivo */
  @media (max-width: 768px) {
    .tab-label {
      display: none;
  }

    .tab i {
      font-size: 20px;
        margin-bottom: 0;
  }

    .tab {
      padding: 14px 0;
  }
  }

/* Exemplo: botão responder */
.btn-questao {
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #007bff;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-questao:hover {
  background-color: #0056b3;
}

/* Resultado */
.result.correct {
  color: green;
  margin-top: 10px;
  font-weight: 700;
}

.result.incorrect {
  color: red;
  margin-top: 10px;
  font-weight: 700;
}

.explanation {
  margin-top: 10px;
  background-color: #f3f3f3;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
}

/* === Criar Cadernos === */ 
 
.container-caderno {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
   
.container-caderno h1 {
  text-align: center;
  margin-bottom: 30px;
}
    
.container-caderno label {
  font-weight: bold;
}

.container-caderno input[type="text"], .container-caderno select {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.checkbox-group-caderno {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-group-caderno label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radio-group-caderno {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

.btn-caderno {
  background-color: #007bff;
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
  
.btn-caderno:hover {
  background-color: #0056b3;
}      

/* === Enviar Provas === */ 

.container-envio-prova {
  max-width: 1200px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.container-envio-prova h1 {
  color: #004080;
  text-align: center;
  margin-bottom: 20px;
}

p.instruction {
  text-align: justify;
  color: #555;
  margin-bottom: 30px;
}

.container-envio-prova label {
  display: block;
  margin-top: 15px;      
}
    
input[type="text"], input[type="file"],

.container-envio-prova textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.buttons-envio-prova {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: left;
  flex-wrap: wrap;
 }

.btn-envio-prova {
  background: #004080;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-envio-prova:hover {
  text-decoration: underline;
}


 
 
       
 


  
