/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  .modal.open {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
  }
  
  .modal-content.fullscreen {
    width: 95%;
    max-width: 95%;
    height: 95vh;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background-color: var(--card);
    z-index: 10;
  }
  
  .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .close-modal {
    background: none;
    border: none;
    color: var(--foreground);
    padding: 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
  }
  
  .close-modal:hover {
    background-color: var(--secondary);
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-body > div {
    width: 100%;
    min-height: 300px;
  }
  
  /* Modal Animations */
  @keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  @keyframes modalScaleOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.95); opacity: 0; }
  }
  