.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  position: relative;
  margin: 10px;
  color: #000;
}

#closeModal {
  font: 1.5rem "Montserrat";
  font-weight: 500;
  position: absolute;
  top: 10px;
  right: 10px;
  border-style: none;
  background-color: #fff;
  cursor: pointer;
}

.div_PHN {
  display: flex;
  align-items: center;
}

.modal-content {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 16px;
  padding: 20px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-box {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.form-header {
  text-align: center;
  margin-bottom: 10px;
}

.form-header h1 {
  color: #000000;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.form-header p {
  color: #00bcd4;
  font-size: 16px;
  font-weight: 500;
}

.request-message {
  color: #222;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.input-box {
  margin-bottom: 1rem;
}

.label-text {
  display: block;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.input-field,
.input-field {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 188, 212, 0.3);
  border-radius: 12px;
  color: #000000;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: .3rem;
  box-sizing: border-box;
}

.name-error-message,
.email-error-message,
.whatsapp-error-message {
  display: block;
  color: #bb2124;
  margin-bottom: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00bcd4;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.phone-group {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

select {
  cursor: pointer;
}

select option {
  background: #0a1f1f;
  color: #000000;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #00bcd4;
}

.checkbox-group label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group label a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 35px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-color);
  background-color: var(--primary-color);
}

.submit-btn.no-hover {
  transform: none;
  box-shadow: none;
}

.submit-btn:active {
  transform: translateY(0);
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.decorative-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, #00bcd4, transparent);
  margin: 32px 0;
  border-radius: 2px;
}

.valid-field {
  border: 2px solid #28a745; /* verde */
  background-color: #eafbe7;
}

.invalid-field {
  border: 2px solid #dc3545; /* vermelho */
  background-color: #fdeaea;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 1s linear infinite;
}