/*
 * Modals CSS File
 * Contains styles for custom modals and overlays
 */

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.7);
    display: none; 
    justify-content: center; 
    align-items: center;
    z-index: 9999;
  }
  
  .modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    width: 90%;
    max-width: 500px;
    padding: 30px 20px;
    border-radius: 8px;
    color: #fff;
    position: relative;
    transform: translateY(-30px);
    opacity: 0;
    animation: slideDown 0.4s ease forwards;
  }
  
  .modal-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--gold);
  }
  
  .modal-content p {
    margin-bottom: 20px;
    color: #ccc;
  }
  
  .modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .modal-btn {
    padding: 10px 18px;
    font-weight: 600;
    border: 1px solid var(--gold);
    background-color: var(--gold);
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform 0.2s, box-shadow 0.2s;
  }
  
  .modal-btn:hover {
    background-color: var(--dark-gold);
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
  }
  
  /* Confirm Buttons: Red, Green */
  .btn-red {
    background-color: #e74c3c;
    color: #fff;
    border: 1px solid #e74c3c;
  }
  
  .btn-red:hover {
    background-color: #c0392b;
  }
  
  .btn-green {
    background-color: #27ae60;
    color: #fff;
    border: 1px solid #27ae60;
  }
  
  .btn-green:hover {
    background-color: #1e8c4a;
  }
  
  /* Modal Animations */
  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }