.gerador-pessoas-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gerador-pessoas-container h2 {
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

.gerador-form {
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #4caf50;
}

.btn-gerar {
  width: 100%;
  padding: 15px;
  background: #6272a4;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-gerar:hover {
  background: #525f8f;
}

.btn-gerar:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.resultado {
  margin-top: 30px;
}

.pessoa-card {
  background: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid #6272a4;
}

.pessoa-header {
  background: #6272a4;
  color: white;
  padding: 10px 15px;
  margin: -20px -20px 15px -20px;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
}

.pessoa-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.info-item {
  background: white;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.info-label {
  font-weight: bold;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.info-value {
  color: #333;
  font-size: 14px;
  padding-right: 35px;
  word-break: break-word;
}

.btn-copiar {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #6272a4;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.3s;
}

.btn-copiar:hover {
  background: #525f8f;
}

.btn-copiar.copiado {
  background: #50fa7b;
  color: #282a36;
}

.gerador-documentacao {
  margin-top: 50px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  line-height: 1.6;
}

.gerador-documentacao h3 {
  color: #6272a4;
  margin-bottom: 25px;
  font-size: 24px;
  border-bottom: 3px solid #6272a4;
  padding-bottom: 10px;
}

.gerador-documentacao h4 {
  color: #44475a;
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 18px;
}

.doc-section {
  margin-bottom: 25px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #6272a4;
}

.doc-section p {
  margin-bottom: 12px;
  color: #44475a;
}

.doc-section ul,
.doc-section ol {
  margin-left: 20px;
  color: #44475a;
}

.doc-section li {
  margin-bottom: 8px;
}

.doc-section strong {
  color: #6272a4;
}

.loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .pessoa-info {
    grid-template-columns: 1fr;
  }
}
