/* Notification System Styles */

/* Modal Overlay */
.notification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.notification-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notification-modal {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-30px);
  transition: transform 0.3s;
}

.notification-modal-overlay.active .notification-modal {
  transform: translateY(0);
}

.notification-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.notification-modal-icon {
  font-size: 2rem;
}

.notification-modal-icon.info { color: #0b66c3; }
.notification-modal-icon.success { color: #2ecc71; }
.notification-modal-icon.warning { color: #f39c12; }
.notification-modal-icon.error { color: #e74c3c; }

.notification-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.notification-modal-message {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.notification-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.notification-modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.notification-modal-btn-primary {
  background: #0b66c3;
  color: #fff;
}

.notification-modal-btn-primary:hover {
  background: #094a94;
}

.notification-modal-btn-secondary {
  background: #e6eef5;
  color: #444;
}

.notification-modal-btn-secondary:hover {
  background: #d0e0ef;
}

/* Toast Container */
.notification-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.notification-toast {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(450px);
  opacity: 0;
  transition: all 0.3s;
  border-left: 4px solid;
}

.notification-toast.active {
  transform: translateX(0);
  opacity: 1;
}

.notification-toast.info { border-left-color: #0b66c3; }
.notification-toast.success { border-left-color: #2ecc71; }
.notification-toast.warning { border-left-color: #f39c12; }
.notification-toast.error { border-left-color: #e74c3c; }

.notification-toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-toast-icon.info { color: #0b66c3; }
.notification-toast-icon.success { color: #2ecc71; }
.notification-toast-icon.warning { color: #f39c12; }
.notification-toast-icon.error { color: #e74c3c; }

.notification-toast-message {
  flex: 1;
  color: #333;
  font-size: 0.95rem;
}

.notification-toast-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.notification-toast-close:hover {
  background: #f0f0f0;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .notification-toast-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  
  .notification-modal {
    width: 95%;
  }
}
