/* Banner styling */
.affiliate-banner {
  width: 100%;
  height: 400px;
  background-image: url("/wp-content/themes/erotixxxtoys/images/erotixxx-toys-affiliate-program.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 40px;
}

.affiliate-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Overlay escuro para melhor legibilidade */
}

.banner-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  z-index: 1;
}

.banner-content h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content h2 {
  font-size: 2em;
  font-weight: 300;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Ajustar o container principal para não ter padding no topo */
.affiliate-program-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Remover o header original já que agora está no banner */
.program-header {
  display: none;
}

.program-description {
  margin-bottom: 40px;
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.highlight-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.highlight-box h3 {
  color: #333;
  margin-bottom: 10px;
}

.important-notice {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
}

.important-notice ul {
  margin-left: 20px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.affiliate-register-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.form-section h3 {
  margin-bottom: 20px;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.form-submit {
  text-align: center;
}

.button-primary {
  background: #007bff;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s;
}

.button-primary:hover {
  background: #0056b3;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
