* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f5cf7 0%, #e1fe0e 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

h1 {
  text-align: center;
  color: #0f5cf7;
  margin-bottom: 15px;
  font-size: 24px;
}

.campos-info-topo {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.etapa {
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
}

.etapa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f5cf7;
}

.etapa-header h2 {
  color: #0f5cf7;
  font-size: 20px;
}

.perguntas-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.pergunta-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.pergunta-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pergunta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 12px;
  cursor: pointer;
  background: #f5f5f5;
  transition: background 0.3s ease;
  position: relative;
  gap: 10px;
}

.pergunta-header:hover {
  background: #eeeeee;
}

.pergunta-texto {
  flex: 1;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.btn-respondido {
  border: 2px solid #0f5cf7;
  background: white;
  color: #0f5cf7;
  border-radius: 6px;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 10px;
  height: 100%;
  align-self: stretch;
}

.btn-respondido:hover {
  background: #0f5cf7;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15, 92, 247, 0.3);
}

.btn-respondido.checado {
  background: #e1fe0e;
  border-color: #e1fe0e;
  color: #1a1a00;
  font-weight: 700;
}

.btn-respondido.checado:hover {
  background: #c9e50d;
  border-color: #c9e50d;
  color: #1a1a00;
}

.accordion-icon {
  font-size: 12px;
  color: #0f5cf7;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.pergunta-item.active .accordion-icon {
  transform: rotate(180deg);
}

.pergunta-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
}

.pergunta-item.active .pergunta-content {
  max-height: 1000px;
  padding: 10px 12px;
}

.resposta-correta {
  background: #f0f9ff;
  border-left: 4px solid #0f5cf7;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.resposta-correta strong {
  color: #0d4fc4;
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.resposta-correta p {
  color: #0a3fa0;
  font-size: 13px;
  line-height: 1.4;
}

.inducao {
  background: #fff9d6;
  border-left: 4px solid #e1fe0e;
  padding: 10px;
  border-radius: 4px;
}

.inducao strong {
  color: #7a8a0a;
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.inducao p {
  color: #5d6a08;
  font-size: 12px;
  line-height: 1.5;
}

.acoes-etapa {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #e0e0e0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.botoes-container {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  justify-content: center;
  margin: 0 auto;
}

.acoes-etapa-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.acoes-centro {
  flex: 1;
  text-align: center;
}

.btn-copiar {
  background: #0f5cf7;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 0;
}

.btn-copiar:hover {
  background: #0d4fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 92, 247, 0.3);
}

.btn-copiar.copiado {
  background: #e1fe0e;
  color: #1a1a00;
  font-weight: 700;
}

.btn-copiar.copiado:hover {
  background: #c9e50d;
  color: #1a1a00;
}

.btn-proxima-etapa {
  background: #0f5cf7;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 0;
}

.btn-proxima-etapa:hover {
  background: #0d4fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 92, 247, 0.3);
}

.btn-voltar {
  background: #9e9e9e;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 0;
}

.btn-voltar:hover {
  background: #757575;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mensagem-copiado {
  margin-top: 10px;
  padding: 10px;
  background: #fff9d6;
  border: 2px solid #e1fe0e;
  border-radius: 8px;
  color: #5d6a08;
  font-weight: 500;
  display: none;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 2px 8px rgba(225, 254, 14, 0.2);
}

.mensagem-copiado strong {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  color: #7a8a0a;
}

.mensagem-copiado.mostrar {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.previa-conteudo {
  margin: 12px 0;
}

.previa-conteudo h3 {
  color: #0f5cf7;
  margin-bottom: 8px;
  font-size: 16px;
}

.observacao-envio {
  color: #5d6a08;
  font-size: 13px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: #fff9d6;
  border-left: 3px solid #e1fe0e;
  border-radius: 4px;
}

.observacao-envio strong {
  color: #7a8a0a;
}

.conteudo-preview {
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.conteudo-preview pre {
  margin: 0;
  padding: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.etapa {
  transition: opacity 0.3s ease;
}

/* Estilos da Etapa 4 */
.formulario-etapa4 {
  margin-top: 10px;
}

.info-apelido {
  margin-bottom: 20px;
  padding: 15px;
  background: #f0f7ff;
  border-radius: 8px;
  border-left: 4px solid #0f5cf7;
}

.info-apelido h3 {
  color: #0f5cf7;
  margin-bottom: 10px;
  font-size: 18px;
}

.explicacao-apelido {
  color: #333;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.exemplo-apelido {
  background: white;
  padding: 12px;
  border-radius: 6px;
  margin-top: 10px;
  border: 2px solid #0f5cf7;
}

.exemplo-apelido strong {
  color: #0f5cf7;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.exemplo-apelido span {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.aviso-wallstreet,
.aviso-rec {
  margin-top: 15px;
  padding: 12px;
  background: #fff9d6;
  border-left: 4px solid #e1fe0e;
  border-radius: 6px;
}

.aviso-wallstreet-etapa6 {
  margin: 15px 0;
  padding: 15px;
  background: #f0f7ff;
  border-left: 4px solid #0f5cf7;
  border-radius: 6px;
}

.aviso-wallstreet-etapa6 p {
  color: #0d4fc4;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.aviso-wallstreet-etapa6 strong {
  color: #0a3fa0;
}

.aviso-wallstreet p,
.aviso-rec p {
  color: #5d6a08;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.aviso-wallstreet p:last-child,
.aviso-rec p:last-child {
  margin-bottom: 0;
}

.campo-sobrenome {
  margin: 20px 0;
}

.campo-sobrenome label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.campo-sobrenome input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.campo-sobrenome input:focus {
  outline: none;
  border-color: #0f5cf7;
}

.dica-campo {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.previa-apelido {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.previa-apelido h4 {
  color: #0f5cf7;
  margin-bottom: 12px;
  font-size: 16px;
}

.apelido-final {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 2px solid #e1fe0e;
}

.apelido-final code {
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  color: #5d6a08;
  font-weight: 600;
  word-break: break-all;
}

.btn-copiar-sigla {
  background: #0f5cf7;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 0;
}

.btn-copiar-sigla:hover {
  background: #0d4fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 92, 247, 0.3);
}

.btn-copiar-sigla.copiado {
  background: #e1fe0e;
  color: #1a1a00;
  font-weight: 700;
}

.btn-copiar-sigla.copiado:hover {
  background: #c9e50d;
  color: #1a1a00;
}

.instrucao-copiar {
  margin-top: 15px;
  padding: 12px;
  background: #f0f7ff;
  border-left: 4px solid #0f5cf7;
  border-radius: 6px;
  color: #0d4fc4;
  font-size: 13px;
  line-height: 1.6;
}

/* Estilos da Etapa 5 */
.formulario-etapa5 {
  margin-top: 10px;
}

/* Estilos da Etapa 6 */
.formulario-etapa6 {
  margin-top: 10px;
}

.info-cargos {
  margin-bottom: 20px;
  padding: 15px;
  background: #f0f7ff;
  border-radius: 8px;
  border-left: 4px solid #0f5cf7;
}

.previa-informacoes {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.previa-informacoes h4 {
  color: #0f5cf7;
  margin-bottom: 12px;
  font-size: 16px;
}

.informacoes-final {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 2px solid #e1fe0e;
}

.informacoes-final code {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #5d6a08;
  font-weight: 600;
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.6;
}

.explicacao-cargos {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.comandos-cargo {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.comandos-cargo > .comando-item {
  width: 100%;
  max-width: 100%;
}

.comando-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.comando-campo-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  justify-content: flex-start;
}

.label-cargo {
  font-size: 13px;
  font-weight: 600;
  color: #0f5cf7;
  margin: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comando-item code {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #333;
  background: white;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  word-break: break-all;
  box-sizing: border-box;
  overflow-wrap: break-word;
  display: block;
  flex-shrink: 1;
  overflow: hidden;
}

.btn-copiar-comando {
  background: #0f5cf7;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  width: 100px;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
  align-self: flex-start;
  margin-top: 22px;
  height: fit-content;
}

.btn-copiar-comando:hover {
  background: #0d4fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15, 92, 247, 0.3);
}

.btn-copiar-comando.copiado {
  background: #e1fe0e;
  color: #1a1a00;
  font-weight: 700;
}

.btn-copiar-comando.copiado:hover {
  background: #c9e50d;
  color: #1a1a00;
}

/* Estilos da Etapa 7 */
.formulario-etapa7 {
  margin-top: 10px;
}

.relatorio-simples {
  background: white;
  border: 2px solid #0f5cf7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.relatorio-simples p {
  margin: 8px 0;
  padding: 0;
  color: #333;
}

.relatorio-titulo {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #0f5cf7;
  margin-bottom: 15px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid #0f5cf7;
}

.relatorio-simples strong {
  color: #0f5cf7;
  font-weight: 600;
}

.relatorio-simples code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #5d6a08;
  background: #fff9d6;
  padding: 4px 6px;
  border-radius: 4px;
  display: inline-block;
  word-break: break-all;
}

.relatorio-informacoes {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #5d6a08;
  background: #fff9d6;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #e1fe0e;
  margin-top: 5px;
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

.relatorio-check {
  color: #7a8a0a;
  font-weight: 600;
}

.btn-novo-recrutamento {
  background: linear-gradient(135deg, #0f5cf7 0%, #e1fe0e 100%);
  color: #1a1a00;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 620px;
}

.btn-novo-recrutamento:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 92, 247, 0.6);
  background: linear-gradient(135deg, #0d4fc4 0%, #c9e50d 100%);
  color: #1a1a00;
}

.btn-novo-recrutamento:active {
  transform: translateY(0);
}

/* Estilos da Etapa 3 */
.formulario-etapa3 {
  margin-top: 10px;
}

.campos-info {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.campo-input {
  flex: 1;
}

.campo-input label {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-weight: 600;
  font-size: 13px;
}

.campo-input input {
  width: 100%;
  padding: 8px 10px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.campo-input input:focus {
  outline: none;
  border-color: #0f5cf7;
}

.selecao-pasta {
  margin-top: 12px;
}

.pastas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.pasta-item {
  padding: 6px 12px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.pasta-item:hover {
  border-color: #0f5cf7;
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15, 92, 247, 0.2);
}

.pasta-item.selecionada {
  background: #0f5cf7;
  border-color: #0f5cf7;
  color: white;
}

.pasta-item.selecionada:hover {
  background: #0d4fc4;
  border-color: #0d4fc4;
  transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .pergunta-header {
    padding: 0px 12px;
  }

  .pergunta-texto {
    font-size: 14px;
  }

  .btn-respondido {
    padding: 5px 10px;
    font-size: 11px;
    margin-right: 8px;
  }

  .campos-info-topo {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .campos-info {
    flex-direction: column;
    gap: 10px;
  }

  .pastas-grid {
    padding: 8px;
  }

  .pasta-item {
    font-size: 11px;
    padding: 5px 10px;
  }

  .botoes-container {
    flex-direction: column;
    max-width: 300px;
  }
}
