header {
  width: 100%;
  justify-items: center;
  align-items: center;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-content {
  border-bottom: 2px solid #D9D9D9;
  width: 90%;
  max-width: 1200px;
  padding: 10px 0px;
}

.header-content img {
  width: 300px;
}

.login-container {
  background-color: var(--fundo-login);
  width: 400px;
  margin-top: 30px;
  border-radius: var(--radius);
  padding: 35px 35px 15px 35px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.cx-frase {
  margin-bottom: 20px;
}

.cx-frase h1 {
  font-size: 2rem;
  color: var(--color-p-black);
  font-weight: 600;
}

.cx-frase p {
  font-size: 18px;
  color: var(--color-p-gray);
}

.checkbox-group {
  display: flex;
  margin-bottom: 1rem;
}

.checkbox-group label {
  margin-left: 8px;
  font-size: .9rem;
  color: var(--color-p-gray);
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 16px;
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: .85rem;
  color: var(--color-p-black);
}

.info img {
  width: 65px;
  margin-right: 5px;
}

.info .cx-2 {
  height: 100%;
  padding: 6px 0px 6px 10px;
  border-left: 5px solid #EDD559;
}

.footer-p {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-p-gray);
  margin-bottom: 2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  left: 15px;
  top: 15px;
  margin-left: 6px;
  cursor: pointer;
  z-index: 1001;
}

.close-modal:hover {
  color: #333;
}

.como-acessar-btn {
  background: transparent;
  border: 2px solid #224A7B;
  color: #224A7B;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  width: 100%;
}

.como-acessar-btn:hover {
  background: #224A7B;
  color: white;
}

.passo-acesso {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.passo-numero {
  background: #224A7B;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.passo-texto {
  flex: 1;
}

.destaque {
  color: #224A7B;
  font-weight: 600;
}

.modal-title {
  color: #224A7B;
  margin: 30px 0 20px 0;
  text-align: center;
  font-size: 1.5em;
  padding-right: 30px;
}

.documentos-lista {
  margin: 10px 0;
  padding-left: 20px;
}

.documentos-lista li {
  margin-bottom: 8px;
}

.atencao-box {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
}

.atencao-box strong {
  color: #856404;
}

/* Melhorias para mobile */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-height: 80vh;
    padding: 20px;
  }

  .passo-acesso {
    padding: 12px;
    margin-bottom: 15px;
  }

  .modal-title {
    font-size: 1.3em;
  }
}

.modal-content::-webkit-scrollbar {
  width: 10px;
  padding: 1px;
  border-radius: 7px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--fundo-login);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
  width: 8px;
}

@media (max-width: 480px) {
  body {
    background-color: var(--fundo-login);
  }

  .login-container {
    width: 100%;
    border: none;
    box-shadow: none;
  }

  .modal-content {
    margin: 5% auto !important;
    width: 90%;
    max-height: 90vh;
    padding: 15px;
  }

  .passo-acesso {
    flex-direction: column;
    align-items: flex-start;
  }

  .passo-numero {
    margin-bottom: 10px;
    margin-right: 0;
  }
}