/* ── Derechos (RGPD Rights Request) page styles ── */

.derechos-section {
  padding: 60px 20px 100px;
}

.derechos-wrapper {
  max-width: 640px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
  color: #334155;
}

/* Page title */
.derechos-title {
  font-size: 38px;
  font-weight: 800;
  color: #0b1c2d;
  margin-bottom: 12px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

/* Intro paragraph */
.derechos-intro {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 32px;
}

.derechos-intro a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.derechos-intro a:hover {
  text-decoration: underline;
}

/* Form card */
.derechos-form-container {
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

/* Form groups */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0b1c2d;
  margin-bottom: 6px;
}

.optional {
  font-weight: 400;
  color: #64748b;
  font-size: 12px;
  margin-left: 5px;
}

.required-mark {
  color: #dc2626;
  margin-left: 2px;
}

/* Inputs, selects, textarea */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #0b1c2d;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Field hints */
.field-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 5px;
  line-height: 1.5;
}

/* Submit button */
.derechos-btn {
  width: 100%;
  padding: 13px 20px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.derechos-btn:hover:not(:disabled) {
  background: #1d4ed8;
}

.derechos-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* Response message */
#form-response {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
  line-height: 1.6;
}

#form-response.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

#form-response.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

/* Responsive */
@media (max-width: 600px) {
  .derechos-section {
    padding: 40px 16px 80px;
  }

  .derechos-title {
    font-size: 28px;
  }

  .derechos-form-container {
    padding: 24px 20px;
  }
}
