/* Overlay del modal */
.modal {
    display: none; /* Solo se muestra si se define el GET parameter */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    
    /* Fondo semitransparente con desenfoque y brillo */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(4px) brightness(0.9);
    transition: background 0.4s ease-in-out;
  }
  
  /* Contenedor del contenido del modal */
  .modal-contenido {
    background: #fff;
    margin: 5% auto; 
    padding: 50px 60px; 
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    
    /* Animación de aparición */
    animation: fadeIn 0.5s ease-in-out;
    overflow: hidden; /* Para manejar mejor elementos internos */
  }
  
  /* Animación para la aparición del modal */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Botón de cerrar (la X) */
  .cerrar {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 26px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
  }
  .cerrar:hover {
    color: #666;
    transform: scale(1.2);
  }
  
  /* Encabezado del modal */
  .modal-header {
    margin-bottom: 30px;
  }
  .modal-header img {
    width: 60px;
    margin-bottom: 15px;
  }
  .modal-header h2 {
    font-size: 28px;
    margin: 0;
    margin-bottom: 10px;
    color: #333;
  }
  .modal-header p {
    color: #555;
    margin: 0;
    font-size: 16px;
  }
  
  /* Cuerpo del modal */
  .modal-body {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  }
  .modal-body p {
    margin: 10px 0;
    color: #444;
    font-size: 16px;
  }
  .modal-body p span {
    font-weight: bold;
    color: #222;
  }
  
  /* Botón principal (Ok) */
  .botonConfirmacion {
    display: inline-block;
    background: linear-gradient(135deg, #00c853, #009624);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }

  .botonConfirmacion:hover {
    background: linear-gradient(135deg, #009624, #00c853);
    transform: translateY(-2px) scale(1.03);
  }
  
  /* Pequeña animación en hover para hacerlo más vistoso */
  .botonConfirmacion:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  