
  /* === VARIABLES CSS (estilo proporcionado) === */
  :root {
      --primary-color: #4361ee;
      --secondary-color: #3f37c9;
      --accent-color: #4cc9f0;
      --light-color: #f8f9fa;
      --dark-color: #212529;
      --success-color: #4bb543;
      --warning-color: #fca311;
      --app-radius: 12px;
      --app-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      --app-transition: all 0.3s ease;
  }

  /* * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  } */

  /* body {
      background: linear-gradient(135deg, #f5f7fc 0%, #e9ecef 100%);
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
  } */



  /* Contenedor principal (igual al original para mantener estructura) */
  /* .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
  } */

  /* === ESTILOS DEL COMPONENTE DE CHAT (adaptados con las variables) === */
  .support-chat-container {
      background: white;
      border-radius: 28px;
      box-shadow: var(--app-shadow), 0 20px 35px -12px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      transition: var(--app-transition);
      width: 100%;
      margin: 0 auto;
  }

  /* HEADER */
  .support-chat-header {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      padding: 2rem 2rem 1.8rem;
      text-align: center;
      color: white;
      position: relative;
  }

  .support-chat-icon {
      font-size: 3.2rem;
      /*background: rgba(255, 255, 255, 0.2);*/
      padding: 0.6rem;
     /* border-radius: 60px;*/
      margin-bottom: 0.8rem;
      display: inline-block;
      backdrop-filter: blur(2px);
  }

  .support-chat-header h3 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
      letter-spacing: -0.3px;
  }

  .support-chat-header p {
      opacity: 0.9;
      font-size: 0.95rem;
      margin-bottom: 0.8rem;
  }

  .support-security-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(4px);
      padding: 0.4rem 1rem;
      border-radius: 60px;
      font-size: 0.75rem;
      font-weight: 500;
      margin-top: 0.5rem;
  }

  .support-security-badge i {
      font-size: 0.9rem;
  }

  /* BODY: contenedor con padding flexible */
  .support-chat-body {
      padding: 1.8rem 2rem;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  }

  /* Benefit items (filas flexibles) */
  .support-benefit-item {
      display: flex;
      gap: 1.2rem;
      align-items: flex-start;
      background: var(--light-color);
      padding: 1rem 1.2rem;
      border-radius: var(--app-radius);
      transition: var(--app-transition);
      border: 1px solid rgba(0, 0, 0, 0.03);
  }

  .support-benefit-item:hover {
      transform: translateX(6px);
      background: white;
      box-shadow: var(--app-shadow);
      border-color: rgba(67, 97, 238, 0.2);
  }

  .support-benefit-icon {
      background: rgba(67, 97, 238, 0.12);
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 30px;
      flex-shrink: 0;
      color: var(--primary-color);
      font-size: 1.5rem;
  }

  .support-benefit-content h5 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
      color: var(--dark-color);
  }

  .support-benefit-content p {
      font-size: 0.85rem;
      color: #495057;
      line-height: 1.4;
      margin: 0;
  }

  /* Tracking feature destacado */
  .support-tracking-feature {
      background: #eef2ff;
      border-left: 5px solid var(--primary-color);
      border-radius: var(--app-radius);
      padding: 1.2rem 1.5rem;
      margin: 0.2rem 0;
  }

  .support-tracking-feature h5 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
  }

  .support-tracking-feature p {
      font-size: 0.85rem;
      color: #2c3e66;
      margin-bottom: 0;
  }

  /* CTA registro */
  .support-register-cta {
      background: linear-gradient(115deg, #f0f4ff, #ffffff);
      text-align: center;
      padding: 1.5rem;
      border-radius: 24px;
      border: 1px solid rgba(67, 97, 238, 0.2);
      margin: 0.5rem 0;
  }

  .support-register-cta h4 {
      font-weight: 800;
      font-size: 1.4rem;
      color: var(--dark-color);
      margin-bottom: 0.5rem;
  }

  .support-register-cta p {
      font-size: 0.85rem;
      color: #5a626e;
      margin-bottom: 1.2rem;
  }

  .support-btn-register {
      background: var(--primary-color);
      border: none;
      padding: 0.8rem 1.6rem;
      border-radius: 60px;
      font-weight: 600;
      font-size: 0.9rem;
      color: white;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--app-transition);
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
  }

  .support-btn-register:hover {
      background: var(--secondary-color);
      transform: scale(1.02);
      box-shadow: 0 8px 18px rgba(67, 97, 238, 0.25);
  }

  /* FOOTER */
  .support-chat-footer {
      background: #fefefe;
      padding: 1.8rem 2rem 2rem;
      border-top: 1px solid rgba(0, 0, 0, 0.05);
      text-align: center;
  }

  .support-btn-chat {
      background: #25D366;
      border: none;
      padding: 0.9rem 1.8rem;
      border-radius: 60px;
      font-weight: 700;
      font-size: 1rem;
      color: white;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      transition: all 0.2s;
      cursor: pointer;
      box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
      position: relative;
  }

  .support-online-indicator {
      width: 10px;
      height: 10px;
      background-color: #fff;
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 0 2px #25D366;
      animation: pulse-online 1.5s infinite;
  }

  @keyframes pulse-online {
      0% {
          box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
      }

      70% {
          box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
      }

      100% {
          box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
      }
  }

  .support-btn-chat:hover {
      background: #20b859;
      transform: translateY(-2px);
  }

  .btn-outline-primary {
      background: transparent;
      border: 1.5px solid var(--primary-color);
      padding: 0.6rem 1.2rem;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--primary-color);
      transition: var(--app-transition);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.5rem;
  }

  .btn-outline-primary:hover {
      background: var(--primary-color);
      color: white;
      border-color: var(--primary-color);
  }

  .small {
      font-size: 0.75rem;
  }

  .text-center {
      text-align: center;
  }

  .mt-2 {
      margin-top: 0.5rem;
  }

  /* ========== DISEÑO RESPONSIVO (MÓVIL Y ESCRITORIO) ========== */
  @media (max-width: 768px) {
      body {
          padding: 0.8rem;
      }

      .support-chat-header {
          padding: 1.3rem 1rem;
      }

      .support-chat-header h3 {
          font-size: 1.4rem;
      }

      .support-chat-icon {
          font-size: 2.4rem;
          padding: 0.4rem;
      }

      .support-chat-body {
          padding: 1.2rem;
          gap: 1rem;
      }

      .support-benefit-item {
          padding: 0.8rem;
          gap: 0.8rem;
      }

      .support-benefit-icon {
          width: 42px;
          height: 42px;
          font-size: 1.3rem;
      }

      .support-benefit-content h5 {
          font-size: 0.95rem;
      }

      .support-benefit-content p {
          font-size: 0.75rem;
      }

      .support-tracking-feature {
          padding: 1rem;
      }

      .support-register-cta {
          padding: 1.2rem 1rem;
      }

      .support-register-cta h4 {
          font-size: 1.2rem;
      }

      .support-btn-register {
          padding: 0.6rem 1.2rem;
          font-size: 0.8rem;
      }

      .support-chat-footer {
          padding: 1.2rem 1rem 1.5rem;
      }

      .support-btn-chat {
          width: 100%;
          justify-content: center;
          padding: 0.75rem;
          font-size: 0.95rem;
      }

      .btn-outline-primary {
          width: 100%;
          justify-content: center;
          margin-top: 0.7rem;
      }

      /* Mejor lectura en móvil */
      .support-security-badge span {
          font-size: 0.7rem;
      }
  }

  /* pantallas muy pequeñas (<480px) refinamiento */
  @media (max-width: 480px) {
      .support-chat-body {
          padding: 0.9rem;
          gap: 0.9rem;
      }

      .support-benefit-item {
          flex-direction: column;
          align-items: center;
          text-align: center;
      }

      .support-benefit-icon {
          margin-bottom: 0.2rem;
      }

      .support-benefit-content h5 {
          text-align: center;
      }

      .support-benefit-content p {
          text-align: center;
      }

      .support-tracking-feature h5 {
          justify-content: center;
          flex-wrap: wrap;
      }

      .support-register-cta p {
          font-size: 0.8rem;
      }
  }

  /* ESCRITORIO (>= 992px) se mantiene elegante, espaciado */
  @media (min-width: 992px) {
      .support-chat-container {
          max-width: 1000px;
      }

      .support-chat-body {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 1.5rem;
      }

      /* Hacemos que el tracking feature ocupe ambas columnas pero de forma elegante */
      .support-tracking-feature {
          grid-column: span 2;
      }

      .support-register-cta {
          grid-column: span 2;
      }

      /* Reorden ligeramente para que los últimos benefit items queden en grid natural */
      .support-benefit-item:last-child {
          grid-column: span 2;
          max-width: 70%;
          margin: 0 auto;
          text-align: center;
          justify-content: center;
      }

      /* Ajuste para que el último benefit no quede raro */
      @media (min-width: 992px) {
          .support-benefit-item:last-child {
              grid-column: span 2;
              width: 80%;
              justify-self: center;
          }
      }
  }

  /* opcional: animación sutil al cargar */
  .support-chat-container {
      animation: fadeSlideUp 0.5s ease-out;
  }

  @keyframes fadeSlideUp {
      from {
          opacity: 0;
          transform: translateY(18px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }