*{
    box-sizing: border-box;
  }
  
  body{
      background-color:rgb(250,250,250);   
  }
  
  h2 {
      cursor: pointer;
      padding: 5px;
      border-radius: 10px;
      margin: 3px;
      /* font-weight: bold; */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
      background-color: #fff; 
      transition: box-shadow 0.3s ease, background-color 0.3s ease;
  }
  
  .contenedor {
      min-width: 400px;
      max-width: 1200px;
     
      margin-left: auto;
      margin-right: auto;
      padding: 0.3em;
      /* background-color: rgb(250, 250, 250);
      box-shadow: 0 0 20px 0 rgba(0,0,0,.3); */
  }
  
  .formularioDatos label{
      margin-bottom: 2px;
      font-weight:normal;
      float: left;
  
  }
  
  .formularioDatos p{
      margin: 4px;
  }
  
  .fila_1 form{
      display: grid;
      grid-template-columns: 1fr 1fr;
  }
  
  .logo{
      text-align: center;
  }
  
  .logo span{
      color: #2a971c;
      font-weight: bold;
  }
  
  .contenedor .fila_1 {
      width: 100%;
      /* padding: 1em; */
      /* background-color: rgb(247, 247, 247); */
  }
  
  .fila_1 form input, 
  .fila_1 form select, 
  .fila_1 form textarea, 
  .fila_1 form button{
      padding: 0.5em; 
      width: 98%;
      border-radius: 5px;
      border: 1px solid #cac8c8;
      /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  */
  }
  
  
  .fila_1 textarea {
      resize: none;
  }
  
  
  .fila_1 form button{
      background-color: rgb(55, 56, 55);
      border: 0;
      text-transform: uppercase;
      color: #fff;
      font-size: 14px;
      font-weight: bold;
  }
  
  .fila_1 form button:hover,
  .fila_1 form button:focus{
      background-color: rgb(91, 92, 91);
      box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
      transition: all 1s ease ;
  }
  
  .fila_1 form .block{
      grid-column:  1 / 3;
  }
  
  .fila_1-Col_2 .block button{
      padding: 0.7em;
      width: 98%;
      border-radius: 10px;
      border:none;
      background-color: rgb(10, 95, 60);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
      text-transform: uppercase;
      color: #fff;
      font-size: 14px;
      font-weight: bold;
  }
  
  .fila_1-Col_2 .block button:hover,
  .fila_1-Col_2 .block button:focus{
      background-color: rgb(24, 21, 214);
      box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
      transition: all 1s ease ;
  }
  
  .etiqueta_detalleevento {
      cursor: pointer;
      padding: 15px;
      border-radius: 10px;
      margin: 3px;
      font-weight: bold;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
      background-color: #fff; 
      transition: box-shadow 0.3s ease, background-color 0.3s ease;
  }
  
  .etiqueta_detalleevento:hover {
      box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); 
      transform: skewY(-2deg); 
  }
  
  .etiqueta_detalleevento.selected {
      box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
      background-color: #2e2d2d; 
      color:white;
      font-style: italic;
      transform: skewY(-2deg); 
  }

  .etiqueta_detalleevento[data-enabled="false"] {
    opacity: 0.5; /* Muestra el elemento deshabilitado con menor opacidad */
    pointer-events: none; /* Deshabilita la interacción con el mouse */
 }
  
  
  .fila_1-Col_2{
      position: relative;
      text-align: center;
      margin: 20px 5px 42px 5px;
      box-shadow: 0 8px 12px rgba(100, 100, 100, 0.1);
      border-radius: 10px;
      
  }
  

  .terms {
    grid-column: 1 / 3; /* Ocupa ambas columnas del formulario */
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    gap: 8px; /* Espacio entre el checkbox y el texto */
    margin: 10px 0; /* Espaciado superior e inferior */
    text-align: center; /* Centra el texto */
}

.terms input[type="checkbox"] {
    margin: 0; /* Elimina márgenes adicionales */
    width: 16px; /* Tamaño del checkbox */
    height: 16px; /* Tamaño del checkbox */
    cursor: pointer; /* Muestra el cursor de interacción */
}

.terms label {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el checkbox y el texto */
    cursor: pointer; /* Indica que el label es clicable */
}

/*******/


  p{
      padding: 0.5em;
  }
  .contenedor .fila_2 {
      margin-top: 10px;
      width: 100%;
      background-color: rgb(230, 230, 230);
  }
  
  .fila_1-Col_2 .imagenCarrito img {
      padding: 10px;
      max-width: 50%;
      height: auto;
  }
  
  .styled-table {
      margin: 0.5em;
      width: 97%;
      border-collapse: collapse;
      border: 1px solid #ddd; 
    }
    
    .styled-table th, 
    .styled-table td {
      padding: 2px;
      font-size: 12px;
      text-align: left;
      border-bottom: 1px solid #ddd; 
    }
    
    .styled-table th {
      background-color: #f2f2f2; 
    }
  
    #loading-indicator {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); 
      z-index: 9999;
  }
  .spinner {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 8px solid #f3f3f3;
      border-top: 8px solid #3498db; 
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
  }
  @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  
  #loading-text {
      position: absolute;
      top: calc(50% + 60px);
      left: calc(50% + 30px);
      transform: translateX(-50%);
      font-size: 18px;
      color: #fff;
  }
  
  
  #tablaProductos {
      padding: 8px;
     
  }
  
  #tablaCorredores tr:hover{
      background-color: #f0f0f0;
  }
  
  #tablaProductos tr:hover{
      background-color: #f0f0f0;
  }
  
  #tablaProductos .sumar,
  #tablaProductos .restar   {
      padding: 5px 15px;
      border: none;
      cursor: pointer;
      border-radius: 10px;
      transition: box-shadow 0.3s;
  }
  
  #tablaProductos span   {
      margin: 1em;
  }
  
  #tablaProductos button:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #tablaProductos .sumar {
      background-color: rgb(55,56,55);
      color: rgb(255, 255, 255);
      font-size: 1em;
  }
  
  #tablaProductos .restar {
      background-color: rgb(55,56,55);
      color:  #ffffff;
      font-size: 1em;
  }
  
  /*  Desplazamiento*************/

    html {
        scroll-behavior: smooth;
    }   
  
    #scrollToTopBtn {
        display: none; 
        position: fixed; 
        bottom: 20px; 
        right: 20px; 
        z-index: 99; 
        width: 50px;
        height: 50px; 
        border: none; 
        outline: none; 
        background-color: rgba(0, 0, 0, 0.5); 
        color: white;
        cursor: pointer; 
        border-radius: 50%;
        font-size: 24px; 
        text-align: center; 
        line-height: 40px; 
        transition: background-color 0.3s, transform 0.3s;
    }

    #scrollToTopBtn:hover {
        background-color: rgba(85, 85, 85, 0.7);
        transform: scale(1.1); 
    }

    #scrollToTopBtn::before {
        content: '\2191'; 
        font-weight: bold;
        font-size: 24px; 
    }

  /* Pantallas grandes*/
  @media (min-width: 800px){
      .fila_1{
          display: grid;
          grid-template-columns: 1fr 1fr;
      }
  
  
  }
  
  @media (max-width: 800px){
      .etiqueta_detalleevento {
          width: 100%;
          text-align: center;
      }
  
      .fila_1-Col_2{
          height: 800px;
      }
  
  }
  
  
  
  @media (max-width: 1000px){
      .etiqueta_detalleevento {
          width: 100%;
          text-align: center;
      }
  
  }
  
  
  /* Estilos para el modal */
  .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0,0.4);
      padding-top: 60px;
  }
  
  .modal-content {
      background-color: #fefefe;
      margin: 5% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
      text-align: center;
  }
  
  .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
  }
  
  .modal-content p {
      text-align: justify;
  }
  
  .modal-content button {
    margin: 10px;
}
  /*///////////////////////////////*/

  /*estilos 4-tabla corrpro*/



  .cupDesc1 {
    margin-left: 5px;
    padding: 0px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribuye los elementos equitativamente */
}


.cupDesc1 h4 {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
    font-weight: bold; /* Texto en negrita */
}

.cupDesc1 input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
}

.cupDesc1 button {
    padding: 8px 16px;
    margin-left: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.cupDesc1 button:hover {
    background-color: #0056b3;
}

.cupDesc1 h6 {
    flex-basis: 100%; /* Hace que el h6 ocupe toda la línea */
    width: 100%;      /* También asegura que ocupe el 100% del ancho */
    margin-top: 10px; /* Añade un margen superior si necesitas espacio con los elementos de arriba */
}
