/* ==========================================================================
   INTERFAZ DE CONTACTO AVANZADA - MODO OSCURO PREMIUM
   ========================================================================== */

#telware-contact-root {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  overflow-x: hidden !important;
}

#telware-contact-root * {
  box-sizing: border-box !important;
}

#telware-contact-root .contact-container {
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* 1. HERO */
#telware-contact-root .contact-premium-hero {
  padding: 70px 0 30px 0 !important;
  position: relative !important;
  text-align: center !important;
}

#telware-contact-root .contact-hero-blur {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 550px !important;
  height: 250px !important;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%) !important;
  filter: blur(40px) !important;
  pointer-events: none !important;
}

#telware-contact-root .contact-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-bottom: 20px !important;
}

#telware-contact-root .badge-dot {
  width: 6px !important;
  height: 6px !important;
  background-color: #3b82f6 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #3b82f6 !important;
}

#telware-contact-root .contact-premium-hero h1 {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 14px 0 !important;
}

#telware-contact-root .contact-premium-hero p {
  font-size: 16px !important;
  color: #9ca3af !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

/* 2. REJILLA EN DISEÑO DUAL */
#telware-contact-root .contact-main-showroom {
  padding: 30px 0 80px 0 !important;
}

#telware-contact-root .contact-grid-layout {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr !important;
  gap: 50px !important;
  align-items: start !important;
}

#telware-contact-root h2 {
  font-size: 24px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
}

#telware-contact-root .subtitle-form {
  font-size: 14px !important;
  color: #9ca3af !important;
  margin: 0 0 25px 0 !important;
}

/* 3. COMPONENTES DE CONTROL DEL FORMULARIO */
#telware-contact-root .premium-form-element {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

#telware-contact-root .form-row-dual {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

#telware-contact-root .form-group-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#telware-contact-root .form-group-field label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #e5e7eb !important;
}

#telware-contact-root .form-group-field label .req {
  color: #ef4444 !important;
}

/* Estilos de Inputs, Selects y Textareas */
#telware-contact-root .premium-form-element input[type="text"],
#telware-contact-root .premium-form-element input[type="email"],
#telware-contact-root .premium-form-element select,
#telware-contact-root .premium-form-element textarea {
  background-color: #090f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
}

#telware-contact-root .premium-form-element input:focus,
#telware-contact-root .premium-form-element select:focus,
#telware-contact-root .premium-form-element textarea:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

#telware-contact-root .premium-form-element select {
  cursor: pointer !important;
}

#telware-contact-root .premium-form-element textarea {
  resize: vertical !important;
}

/* BOTÓN ENVIAR */
#telware-contact-root .btn-form-submit {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: opacity 0.2s ease !important;
  margin-top: 10px !important;
  width: fit-content !important;
}

#telware-contact-root .btn-form-submit:hover {
  opacity: 0.95 !important;
}

#telware-contact-root .btn-form-submit span {
  transition: transform 0.2s ease !important;
}

#telware-contact-root .btn-form-submit:hover span {
  transform: translateX(4px) !important;
}

/* 4. BLOQUES DE COMPONENTES DE ALERTAS */
#telware-contact-root .alert-box {
  display: flex !important;
  gap: 14px !important;
  padding: 16px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  margin-bottom: 25px !important;
}

#telware-contact-root .alert-success {
  background-color: rgba(16, 185, 129, 0.06) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
}

#telware-contact-root .alert-danger {
  background-color: rgba(239, 68, 68, 0.06) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}

#telware-contact-root .alert-icon {
  font-size: 18px !important;
  flex-shrink: 0 !important;
}

/* 5. COLUMNA LATERAL DE INFORMACIÓN */
#telware-contact-root .contact-info-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

#telware-contact-root .info-card-channel {
  background: #090f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px 20px !important;
}

#telware-contact-root .channel-icon-box {
  width: 42px !important;
  height: 42px !important;
  background: rgba(59, 130, 246, 0.06) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #3b82f6 !important;
  flex-shrink: 0 !important;
}

#telware-contact-root .channel-icon-box svg {
  width: 20px !important;
  height: 20px !important;
}

#telware-contact-root .channel-content h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
}

#telware-contact-root .channel-content p,
#telware-contact-root .channel-content a {
  font-size: 13px !important;
  color: #9ca3af !important;
  margin: 0 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

#telware-contact-root .channel-content a:hover {
  color: #3b82f6 !important;
}

#telware-contact-root .info-interactive-box {
  background: linear-gradient(135deg, #070e1e 0%, #040813 100%) !important;
  border-left: 3px solid #3b82f6 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 20px !important;
  margin-top: 10px !important;
}

#telware-contact-root .info-interactive-box h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

#telware-contact-root .info-interactive-box p {
  font-size: 13px !important;
  color: #9ca3af !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  #telware-contact-root .contact-grid-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
  #telware-contact-root .contact-premium-hero h1 { font-size: 32px !important; }
}
@media (max-width: 550px) {
  #telware-contact-root .form-row-dual { grid-template-columns: 1fr !important; gap: 20px !important; }
  #telware-contact-root .btn-form-submit { width: 100% !important; }
}