
    :root {
      --primary-color: #0b3b63;
      --primary-light: #1e4f78;
      --primary-dark: #073252;
      --muted: #6c757d;
      --gray-800: #6c757d;
      --accent: #e6a400;
      --accent-light: #ffd700;
      --bg: #f8f9fa;
      --success: #198754;
      --danger: #dc3545;
      --warning: #ffc107;
      --border-radius: 12px;
      --box-shadow: 0 4px 20px rgba(11, 59, 99, 0.08);
      --box-shadow-hover: 0 8px 32px rgba(11, 59, 99, 0.12);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    * {
      box-sizing: border-box;
    }
    
    html, body {
      font-size: 16px;
      scroll-behavior: smooth;
      font-family: "Assistant", sans-serif;
      font-optical-sizing: auto;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: "Assistant", sans-serif;
      font-optical-sizing: auto;
      font-weight:700 !important;
      font-style:normal;
    }
    
    body {
      background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
 
      color: #1a1a1a;
      line-height: 1.6;
    }
    
    .page-header {
      background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
      border-bottom: 1px solid rgba(11, 59, 99, 0.1);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .page-header.factura {
      background: #77c1ff63;
    }
    
    .stepper {
      display: flex;
      gap: 0;
      margin-top: 1.5rem;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    
    .stepper::-webkit-scrollbar {
      display: none;
    }
    
    .stepper .step {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--muted);
      padding: 0.75rem 1.5rem;
      position: relative;
      white-space: nowrap;
      transition: var(--transition);
      border-radius: 50px;
      cursor: pointer;
    }
    
    .stepper .step.active {
      color: var(--primary-color);
      background: rgba(11, 59, 99, 0.1);
    }
    
    .stepper .step.completed {
      color: var(--success);
    }
    
    .stepper .step.completed::after {
      content: "✓";
      margin-left: 0.5rem;
    }
    
    @media(max-width: 767px) {
      .stepper {
        margin: 1rem -1rem 0;
        padding: 0 1rem;
      }
    }
    
    .card {
      border-radius: var(--border-radius);
      border: 1px solid rgba(11, 59, 99, 0.08);
      box-shadow: var(--box-shadow);
      transition: var(--transition);
      background: #ffffff;
    }
    
    .card:hover {
      box-shadow: var(--box-shadow-hover);
      transform: translateY(-2px);
    }
    
    .form-control, .form-select {
      border-radius: 8px;
      border: 1px solid #e1e5e9;
      padding: 0.75rem 1rem;
      font-size: 0.875rem;
      transition: var(--transition);
      background: #ffffff;
    }
    
    .form-control:focus, .form-select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(11, 59, 99, 0.15);
      transform: none;
    }
    
    .form-control.is-valid {
      border-color: var(--success);
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 1.86 1.86L7.54 4.2l.94.94L4.26 9.26 2.3 6.73z'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right calc(0.375em + 0.1875rem) center;
      background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }
    
    .form-control.is-invalid {
      border-color: var(--danger);
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.25 5.25 1.5 1.5m0-1.5-1.5 1.5'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right calc(0.375em + 0.1875rem) center;
      background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }
    
    .form-label {
      font-weight: 600;
      color: #374151;
      margin-bottom: 0.5rem;
      font-size: 0.875rem;
    }
    
    .form-label.required::after {
      content: " *";
      color: var(--danger);
    }
    
    .btn {
      border-radius: 8px;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: var(--transition);
      border: none;
      font-size: 0.875rem;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      color: white;
      box-shadow: 0 4px 12px rgba(11, 59, 99, 0.3);
    }
    
    .btn-primary:hover {
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
      box-shadow: 0 6px 20px rgba(11, 59, 99, 0.4);
      transform: translateY(-2px);
    }
    
    .btn-outline-secondary {
      border: 2px solid #e1e5e9;
      color: #6b7280;
      background: white;
    }
    
    .btn-outline-secondary:hover {
      background: #f9fafb;
      border-color: var(--primary-color);
      color: var(--primary-color);
      transform: translateY(-1px);
    }
    
    .btn-payment {
      border-radius: var(--border-radius);
      border: 2px solid #e1e5e9;
      padding: 1rem 1.25rem;
      background: white;
      display: flex;
      align-items: center;
      gap: 1rem;
      /* min-width: 180px; */
      font-weight: 600;
      color: #374151;
      transition: var(--transition);
      cursor: pointer;
      text-align: left;
      width: 100%;
    }
    
    .btn-payment:hover {
      border-color: var(--primary-color);
      box-shadow: var(--box-shadow);
      transform: translateY(-2px);
    }
    
    .btn-payment.active {
      box-shadow: 0 8px 25px rgba(11, 59, 99, 0.15);
      border-color: var(--primary-color);
      background: rgba(11, 59, 99, 0.02);
    }
    
    .btn-payment .payment-icon {
      font-size: 1.5rem;
      color: var(--primary-color);
    }
    
    .collapsible-toggle {
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0;
      transition: var(--transition);
    }
    
    .collapsible-toggle:hover {
      color: var(--primary-color);
    }
    
    .collapsible-toggle i {
      transition: var(--transition);
    }
    
    .collapsible-toggle.collapsed i {
      transform: rotate(-90deg);
    }
    
    .collapsible-body {
      transition: all 0.3s ease;
      /* overflow: hidden; */
    }
    
    .collapsible-body:not(.show) {
      max-height: 0;
      opacity: 0;
      margin-top: 0 !important;
    }
    
    .collapsible-body.show {
      max-height: 38000px;
      opacity: 1;
    }
    
    .summary-card {
      position: sticky;
      top: 13rem;
      /* box-shadow: var(--box-shadow); */
    }
    
    .summary-card .card-body {
      padding: 1.5rem;
    }
    
    .summary-section-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 1rem;
    }
    
    .summary-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 0;
      border-bottom: 1px solid #f1f3f4;
    }
    
    .summary-item:last-child {
      border-bottom: none;
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--primary-color);
    }
    
    .summary-item small {
      color: var(--muted);
      font-weight: 500;
    }
    
    .price-display {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-color);
    }
    
    .attendee-card {
      border: 2px solid #e1e5e9;
      border-radius: var(--border-radius);
      padding: 1.5rem;
      margin-bottom: 1rem;
      transition: var(--transition);
      background: white;
    }
    
    .attendee-card:hover {
      border-color: var(--primary-color);
      box-shadow: var(--box-shadow);
    }
    
    .attendee-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid #f1f3f4;
    }
    
    .numero-assistent {
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.875rem;
    }
    
    .field-disabled {
      background: #f8f9fa;
      padding: 0.75rem;
      border-radius: 8px;
      border: 2px dashed #dee2e6;
    }
    
    .field-disabled input {
      background: transparent !important;
      border: none !important;
      color: var(--muted) !important;
    }
    
    .gdpr-box {
      background: #f8f9fa;
      border: 1px solid #e1e5e9;
      padding: 1.5rem;
      border-radius: var(--border-radius);
      font-size: 0.875rem;
      line-height: 1.6;
    }
    
    .bank-option {
      background: white;
      border: 2px solid #e1e5e9;
      border-radius: var(--border-radius);
      padding: 1.25rem;
      transition: var(--transition);
      text-align: center;
    }
    
    .bank-option:hover {
      border-color: var(--primary-color);
      box-shadow: var(--box-shadow);
    }
    
    .iban {
      font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
      background: #f8f9fa;
      padding: 0.75rem;
      border-radius: 6px;
      font-size: 0.875rem;
      /* font-weight: 600; */
      letter-spacing: 0.5px;
      /* margin: 0.75rem 0; */
    }
    
    .copy-success {
      background: var(--success) !important;
      color: white !important;
    }
    
    .sponsors .placeholder {
      background: white;
      border: 2px dashed #e1e5e9;
      border-radius: var(--border-radius);
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      font-weight: 600;
      transition: var(--transition);
    }
    
    .sponsors .placeholder:hover {
      border-color: var(--primary-color);
      color: var(--primary-color);
    }
    
    .modal-content {
      border-radius: var(--border-radius);
      border: none;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    .modal-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
      border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .progress-indicator {
      height: 4px;
      background: #e1e5e9;
      border-radius: 2px;
      overflow: hidden;
      margin-bottom: 2rem;
    }
    
    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent) 100%);
      transition: width 0.5s ease;
      border-radius: 2px;
    }
    
    .validation-feedback {
      display: block;
      margin-top: 0.5rem;
      font-size: 0.8rem;
      font-weight: 500;
    }
    
    .invalid-feedback {
      color: var(--danger);
    }
    
    .valid-feedback {
      color: var(--success);
    }
    
    .loading-spinner {
      display: inline-block;
      width: 1rem;
      height: 1rem;
      border: 2px solid transparent;
      border-top: 2px solid currentColor;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    .floating-action {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: var(--primary-color);
      color: white;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      box-shadow: 0 8px 25px rgba(11, 59, 99, 0.3);
      transition: var(--transition);
      z-index: 1000;
    }
    
    .floating-action:hover {
      background: var(--primary-light);
      transform: scale(1.1);
      box-shadow: 0 12px 35px rgba(11, 59, 99, 0.4);
    }
    
    @media (max-width: 767px) {
      .summary-card {
        position: relative;
        top: auto;
        order: -1;
        margin-bottom: 2rem;
      }
      
      .floating-action {
        display: none;
      }
      
      .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
      }
      
      .attendee-card {
        padding: 1rem;
      }
      
      .btn-payment {
        min-width: 140px;
        padding: 0.875rem 1rem;
      }
    }
    
    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .fade-in-up {
      animation: fadeInUp 0.6s ease forwards;
    }
    
    /* Focus styles for accessibility */
    .form-control:focus,
    .form-select:focus,
    .btn:focus,
    .form-check-input:focus {
      outline: 2px solid var(--primary-color);
      outline-offset: 2px;
    }


    .cta-ajuda, .text-muted, .cta-ajuda .summary-section-title {
      color: var(--gray-800) !important;
    }

    .logo-nit svg {
      width: 265px;
    margin-bottom: 14px;
    }

    /* modal */

    .resum-compra {
   
   
      color: #333;
    }
  
    .resum-compra h2 {
 
      margin-bottom: 6px;
      color: var(--primary-color);
    }
  
    .resum-compra .info-event {

      margin-bottom: 16px;
      color: var(--gray-800);
    }
  
    .resum-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 16px;
    }
  
    .resum-table th,
    .resum-table td {
      text-align: left;
      padding: 8px 10px;
      border-bottom: 1px solid #e0e0e0;
    }
  
    .resum-table th {
      width: 40%;
      font-weight: 700;
      background: #f7f9fc;
      color: #2c3e50;
    }
  
    .resum-table td {
      background: #fff;
    }
  
    .resum-table .total {
      font-weight: bold;
      color: var(--primary-color);
    }
  
    .assistents h3 {
      font-size: 16px;
      margin-bottom: 8px;
      color: var(--primary-color);
    }
  
    .assistents ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }
  
    .assistents ul li {
      padding: 8px 10px;
      margin-bottom: 6px;
      background: #f7f9fc;
      border-radius: 6px;
    }
  
    /* --- Responsive --- */
    @media (max-width: 600px) {
      .resum-table th,
      .resum-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
      }
  
      .resum-table th {
        background: none;
        color: var(--primary-color);
        font-weight: 600;
        padding-top: 10px;
      }
  
      .resum-table tr {
        margin-bottom: 12px;
        display: block;
        border-bottom: 1px solid #ddd;
      }
    }


    .sponsors img {
      height:70px;
    }

    .sponsors.nivell2 img {
      height: 50px;
    }

    .sponsors {
      display: flex;
          justify-content: center;
    }

    .text-entrada {
      font-size: 22px;
    }

@media (max-width:400px) {
  .text-entrada{
    font-size: 18px;
  }
}

    .text-alerta {
      font-size: 18px;
    }