  /* btn support */

.floating-menu-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
  }
  
  .menu-toggle {
    background-color: #007bff;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    animation: pulse 1s infinite;
  }
  
  .menu-toggle:hover {
    background-color: #0056b3;
  }
  
  .support-agent {
    color: #fff;
    font-size: 40px;
  }
  
  .floating-menu-bar {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
  }
  
  .floating-menu-bar.open {
    display: flex;
  }
  
  .floating-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .menu-label {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
    white-space: nowrap;
  }
  
  .button-menu {
    background-color: #25d366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
  }
  
  .button-menu:hover {
    background-color: #0056b3;
    color: #fff;
    cursor: pointer;
  }
  
  .button-menu img,
  .button-menu span.material-symbols-outlined {
    width: 35px;
    height: 35px;
    font-size: 35px;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(27, 241, 105, 0);
    }
  }

  /* Formulario de ticket */
  .ticket-form-container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .ticket-form-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .full-width {
    grid-column: 1 / -1;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  .textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  .file-input {
    padding: 0.4rem;
  }
  
  .btn-primary {
    background-color: #3173B0;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .error-message {
    color: #e53935;
    font-size: 0.875rem;
    margin-top: 4px;
  }

  .text-right {
    text-align: right;
  }
  
  
  /* spinner */
  .loading-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }


  /* Formulario de reclamos */

  .title {
    font-size: 3rem;
  }


  .resumen {
    display: inline;
  }

  .detalle {
    display: none;
  }

  .toggle-btn {
    color: #010351;
    cursor: pointer;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .title {
      font-size: 2rem;
    }
    .p-formulario {
      font-size: 1rem;
    }
  }
  .container-formulario {
    width: 100%;
    padding: 2rem;
    background-color: white;
  }

  .pdf-container {
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 2rem;
  }
  
  .pdf-container embed {
    width: 100%;
    height: 100%;
  }
  
  .descargar {
    text-align: center;
  }
  
  .descargar button {
    background-color: #3173B0;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .descargar button:hover {
    background-color: #6548d0;
  }
  .tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .tab-button {
    flex: 0 0 auto;
    padding: 10px 20px;
    background-color: #e9ecef;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    scroll-snap-align: start;
    white-space: nowrap;
    transition: background-color 0.3s;
  }

  .tab-button:hover {
    background-color: #d6d8db;
  }

  .tab-button.active {
    background-color: #007BFF;
    color: white;
  }

  .tab-content {
    display: none;
    margin-top: 20px;
  }

  .tab-content.active {
    display: block;
  }

  /* Opcional: mejora visual en pantallas pequeñas */
  @media (max-width: 768px) {
    .tabs {
      gap: 5px;
    }

    .tab-button {
      padding: 8px 12px;
      font-size: 14px;
    }
  }