/* Estilos específicos para la subpágina formulario_ticket.html (CSS puro) */

/* Encabezado de la página de ticket (sin banner full-screen) */
.ticket-page-intro {
  background: #f8fafc;
  padding: 130px 0 48px;
  text-align: center;
  color: #0f172a;
}

.ticket-page-intro h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.ticket-page-intro p {
  font-size: 1.1rem;
  color: #475569;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sección del Formulario */
.ticket-section {
  background: #f8fafc;
  padding: 10px 0;
}

/* Tarjeta que envuelve el formulario Zoho */
.ticket-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* =========================================================
   Overrides scoped del formulario Zoho para integrar temática
   (sin tocar su HTML/DOM para no romper el script de Zoho)
   ========================================================= */

#zohoSupportWebToCase {
  font-family: inherit;
}

#zohoSupportWebToCase .zsFormClass {
  width: 100%;
  max-width: 600px;
  background-color: #ffffff;
  font-family: inherit;
}

#zohoSupportWebToCase .zsFontClass {
  color: #0f172a;
  font-family: inherit;
  font-size: 0.95rem;
  vertical-align: middle;
}

#zohoSupportWebToCase tr > td.zsFontClass {
  font-weight: 600;
  color: #1e293b;
}

/* Inputs, textarea y selects */
#zohoSupportWebToCase textarea,
#zohoSupportWebToCase input[type="text"],
#zohoSupportWebToCase input[type="date"],
#zohoSupportWebToCase select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

#zohoSupportWebToCase textarea {
  min-height: 120px;
  resize: vertical;
}

#zohoSupportWebToCase input:focus,
#zohoSupportWebToCase textarea:focus,
#zohoSupportWebToCase select:focus {
  border-color: #244CEC;
  box-shadow: 0 0 0 4px rgba(36, 76, 236, 0.12);
}

/* Campo obligatorio: se conserva el marcador naranja de Zoho */
#zohoSupportWebToCase input.manfieldbdr {
  border-left: 3px solid #244CEC !important;
}

/* Botones Enviar / Restablecer */
#zohoSupportWebToCase input[type="submit"],
#zohoSupportWebToCase input[type="button"] {
  border: 1px solid #244CEC;
  background: #244CEC;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

#zohoSupportWebToCase input[type="submit"]:hover {
  background: #1a3ab8;
  border-color: #1a3ab8;
}

#zohoSupportWebToCase input[type="button"] {
  background: #fff;
  color: #1e293b;
  border-color: #cbd5e1;
}

#zohoSupportWebToCase input[type="button"]:hover {
  border-color: #244CEC;
  color: #244CEC;
}

/* Adjuntos */
#zohoSupportWebToCase #zsBrowseAttachment,
#zohoSupportWebToCase #zsCloudAttachment {
  color: #244CEC !important;
}

#zohoSupportWebToCase #zsMaxSizeMessage,
#zohoSupportWebToCase #zsMaxLimitMessage {
  font-size: 0.75rem !important;
  color: #64748b !important;
}

/* Captcha */
#zohoSupportWebToCase #zsCaptcha a {
  color: #244CEC !important;
}

/* Título "Formulario web" del encabezado del formulario Zoho */
#zohoSupportWebToCase table .zsFontClass strong {
  color: #0f172a;
  font-size: 1.15rem;
}

/* Responsive */
@media (max-width: 768px) {
  .ticket-page-intro {
    padding: 110px 0 40px;
  }

  .ticket-page-intro h1 {
    font-size: 2rem;
  }

  .ticket-page-intro p {
    font-size: 1rem;
  }

  .ticket-form-card {
    padding: 24px 16px;
  }

  #zohoSupportWebToCase td {
    display: block;
    width: 100% !important;
    padding: 8px 5px;
    text-align: left !important;
  }

  #zohoSupportWebToCase br {
    display: none;
  }

  #zohoSupportWebToCase input[type="submit"],
  #zohoSupportWebToCase input[type="button"] {
    width: 100%;
    margin-bottom: 10px;
  }
}