/* CSS */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
  }
  
  .alert-box {
    background: #2a1a47;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    transform: translateY(-50px);
    animation: slideIn 0.3s ease-out forwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
  }
  
  .alert-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid #3a336b;
    padding-bottom: 0.5rem;
  }
  
  .alert-title {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
  }
  
  .alert-body {
    margin: 1rem 0;
    line-height: 1.5;
  }
  
  .alert-footer {
    margin-top: 1.5rem;
    text-align: right;
  }
  
  .alert-close {
    background: #3a336b;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .alert-close:hover {
    background: #4a4296;
    transform: translateY(-1px);
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideIn {
    to {
      transform: translateY(0);
      opacity: 1;
    }
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
  }
  
  @keyframes slideOut {
    to {
      transform: translateY(50px);
      opacity: 0;
    }
  }
  
  @media (max-width: 480px) {
    .alert-box {
      padding: 1.5rem;
    }
    
    .alert-title {
      font-size: 1.2rem;
    }
  }

  .custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.custom-alert-box {
    background: #2a1a47;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    transform: translateY(-50px);
    animation: slideIn 0.3s ease-out forwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.custom-alert-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid #3a336b;
    padding-bottom: 0.5rem;
}

.custom-alert-title {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.custom-alert-body {
    margin: 1rem 0;
    line-height: 1.5;
}

.custom-alert-input {
    width: 100%;
    padding: 0.8rem;
    margin-top: 1rem;
    border: 1px solid #3a336b;
    border-radius: 5px;
    background: #1a1033;
    color: white;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.custom-alert-input:focus {
    outline: none;
    border-color: #4a4296;
    box-shadow: 0 0 0 2px rgba(74, 66, 150, 0.3);
}

.custom-alert-footer {
    margin-top: 1.5rem;
    text-align: right;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.custom-alert-close {
    background: #3a336b;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-alert-submit {
    background: #4a4296;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-alert-close:hover {
    background: #4a4296;
    transform: translateY(-1px);
}

.custom-alert-submit:hover {
    background: #5b52b0;
    transform: translateY(-1px);
}

/* Keep existing animations */
@keyframes fadeIn { /* ... */ }
@keyframes slideIn { /* ... */ }
@keyframes slideOut { /* ... */ }

@media (max-width: 480px) {
    .custom-alert-box {
        padding: 1.5rem;
    }
    .custom-alert-title {
        font-size: 1.2rem;
    }
}