/* Modal/Popup component styles */
/* Note: No existing modal styles found in the main CSS file */
/* This file is prepared for future modal implementations */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: var(--theme-bg);
  border-radius: var(--border-radius-default);
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--theme-text-color);
  transition: var(--transition-default);
}

.modal__close:hover {
  color: var(--theme-primary-text);
}

.popup {
  position: absolute;
  background: var(--theme-bg);
  border: 1px solid var(--theme-border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--theme-border-color);
  padding: 16px;
  z-index: 500;
  display: none;
}

.popup.active {
  display: block;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}

.overlay.active {
  display: block;
}