/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: linear-gradient(to right, #307899, #b4eff7);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 15px;
  overflow-x: hidden;
}

.container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: 80%;
  max-width: 420px;
  max-height: 95vh;
  text-align: center;
  overflow-y: auto;
  margin: 10px 0;
}

.hero h1 {
  font-size: 22px;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

h4 {
  padding-top: 15px;
  color: whitesmoke !important;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
}

.hero span {
  color: #3c9bd8;
  font-weight: bold;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.form-group {
  text-align: left;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 13px;
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #3c9bd8;
  box-shadow: 0 0 0 2px rgba(60, 155, 216, 0.2);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 35px;
}

select:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
  color: #6c757d;
  border-color: #e9ecef;
}

.cta-button {
  background: linear-gradient(135deg, #3c9bd8, #2980b9);
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.cta-button:hover {
  background: linear-gradient(135deg, #61b4e7, #3498db);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(60, 155, 216, 0.3);
}

.cta-button:active {
  transform: translateY(0);
}

#successMessage {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #c3e6cb;
  margin-top: 15px;
  text-align: center;
}

.hidden {
  display: none;
}

/* Responsividade para telas menores */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 20px;
    max-height: 90vh;
  }
  
  .hero h1 {
    font-size: 20px;
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  input, select {
    padding: 8px;
    font-size: 13px;
  }
}

/* Para telas muito pequenas */
@media (max-width: 360px) {
  .container {
    padding: 15px;
  }
  
  .hero h1 {
    font-size: 18px;
  }
}

/* Scroll customizado para o container */
.container::-webkit-scrollbar {
  width: 4px;
}

.container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
