/* Simulado Guarda Municipal - CSS isolado com prefixo .sim- */

.sim-prova * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sim-prova {
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

.sim-prova .sim-inner {
  max-width: 1000px;
  width: 100%;
  background-color: white;
  padding: 0 35px 60px 35px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 4px;
}

.sim-faixa-azul {
  background-color: #1e3f5c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  margin-bottom: 20px;
  font-weight: bold;
  border-radius: 0 0 8px 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-timer {
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
}

.sim-timer.sim-alerta {
  color: #dc2626;
  animation: sim-pulse 1s infinite;
}

@keyframes sim-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.sim-contador-questao {
  font-size: 18px;
  background-color: rgba(255,255,255,0.2);
  padding: 6px 15px;
  border-radius: 30px;
}

.sim-titulo-principal {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #1e3f5c;
  margin: 15px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #1e3f5c;
}

.sim-disciplina-bar {
  background-color: #cccccc;
  text-align: center;
  padding: 6px 0;
  margin: 25px 0 20px 0;
}
.sim-disciplina-bar span {
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sim-texto-apoio {
  background-color: white;
  border-left: 4px solid #1e3f5c;
  padding: 12px 18px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid #eee;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.sim-texto-apoio h4 {
  margin-bottom: 8px;
  font-weight: bold;
  color: #1e3f5c;
}

.sim-questao {
  margin-bottom: 32px;
  padding: 5px 0;
  border-bottom: 1px dotted #ddd;
}
.sim-questao-titulo {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}
.sim-enunciado {
  font-weight: bold;
  margin: 6px 0 10px 0;
  line-height: 1.4;
}
.sim-assertivas {
  margin: 10px 0 10px 30px;
  line-height: 1.6;
  font-weight: normal;
}
.sim-assertiva-item {
  margin: 5px 0;
  font-weight: normal;
}
.sim-assertiva-item strong {
  font-weight: bold;
}
.sim-alternativas {
  margin-left: 20px;
  line-height: 1.6;
  margin-top: 10px;
}
.sim-alternativa {
  margin: 5px 0;
}
.sim-alternativa label {
  margin-left: 5px;
  cursor: pointer;
}
.sim-alternativa input[type="radio"] {
  cursor: pointer;
}

.sim-botoes {
  display: flex;
  gap: 20px;
  margin: 30px 0 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.sim-btn {
  background-color: #2c5e8c;
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-family: Arial, Helvetica, sans-serif;
}
.sim-btn:hover {
  background-color: #1e3f5c;
}
.sim-btn.sim-btn-discursiva {
  background-color: #00C853;
}
.sim-btn.sim-btn-discursiva:hover {
  background-color: #00a344;
}

.sim-resultado {
  background-color: #f0f4f8;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 6px solid #2c5e8c;
  max-height: 500px;
  overflow-y: auto;
}
.sim-gabarito-item {
  margin: 8px 0;
  padding: 6px;
  border-radius: 4px;
}
.sim-gabarito-certa {
  background-color: #d4edda;
  color: #155724;
}
.sim-gabarito-errada {
  background-color: #f8d7da;
  color: #721c24;
}
.sim-explicacao {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
  padding-left: 15px;
  border-left: 3px solid #aaa;
  text-align: justify;
}
.sim-nota-final {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 2px solid #ccc;
}
.sim-nota-disciplina {
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  background-color: #e9ecef;
  padding: 5px 10px;
  border-radius: 5px;
}
.sim-footer {
  font-size: 12px;
  text-align: center;
  margin-top: 35px;
  color: #555;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}
