.modal  {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease forwards;
  }
  
  #cancel .modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: dropIn 0.5s ease forwards;
  }
  
  #cancel .icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }
  
  #cancel .icon {
    width: 100%;
    height: 100%;
    background-color: red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #cancel .checkmark::before {
    content: '×' !important; /* Cambia el contenido a una X */
    font-size: 4em; /* Ajusta el tamaño según sea necesario */
    line-height: 1; /* Centra verticalmente la X */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 100%;
    height: 100%;
  }
  
  #cancel .icon-decorations span {
    position: absolute;
    background-color: var(--primario);
  }
  
 
  #cancel h2 {
    font-size: 2em !important;
    margin-bottom: 10px;
    color: var(--color3);
  }
  
  #cancel p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1em !important;
  }
  

  
  #cancel .close-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.9em;
    font-family: inherit;
    transition: background-color 0.3s ease;
  }

  @keyframes dropIn {
    0% {
      opacity: 0;
      transform: translateY(-200px);
    }
    60% {
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }