.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;
  }
  
  #success .modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: dropIn 0.5s ease forwards;
  }
  
  #success .icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }
  
  #success .icon {
    width: 100%;
    height: 100%;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #success .checkmark {
    width: 30%;
    height: 60%;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    position: relative;
    top: -5px;
    left: 5px;
  }
  
  #success .icon-decorations span {
    position: absolute;
    background-color: var(--primario);
  }
  
  #success .dot { width: 10px; height: 10px; border-radius: 50%; top: -5px; left: 50%; }
  #success .plus { width: 10px; height: 2px; }
  #success .plus:nth-child(2) { transform: rotate(90deg); }
  #success .plus:nth-child(2), .plus:nth-child(3) { top: 50%; right: -15px; }
  #success .check { width: 15px; height: 2px; transform: rotate(-45deg); bottom: -5px; left: 10px; }
  
  #success h2 {
    font-size: 2em !important;
    margin-bottom: 10px;
    color: var(--color3);
  }
  
  #success p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1em !important;
  }
  

  
  #success .close-btn {
    background-color: var(--primario);
    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; }
  }