/**
 * MOBIX - Main Stylesheet
 * Učitava sve CSS komponente
 */

@import url('base.css');
@import url('components/topbar.css');
@import url('components/sidebar.css');
@import url('components/hero.css');
@import url('components/features.css');
@import url('components/auth.css');
@import url('components/profile.css');
@import url('components/planner.css');
@import url('components/travelnote.css');
@import url('components/chat.css');
@import url('components/about.css');
@import url('components/other.css');
@import url('components/mobile.css');

/* Notification System */
.notification-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.notification {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  animation: slide-up 0.3s ease;
}

.notification.success {
  border-left-color: var(--success);
}

.notification.error {
  border-left-color: var(--danger);
}

.notification.warning {
  border-left-color: var(--warning);
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.notification-message {
  font-size: 14px;
  color: var(--text-secondary);
}

.notification-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification-close:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.notification.fade-out {
  animation: fade-out 0.3s ease forwards;
}

@keyframes fade-out {
  to {
    opacity: 0;
    transform: translateX(400px);
  }
}

/* Confirm Modal */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.confirm-modal.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-content {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.2s ease;
  border: 1px solid var(--gray-700);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.confirm-modal.active .confirm-modal-content {
  transform: scale(1);
}

.confirm-modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(239, 68, 68, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ef4444;
}

.confirm-modal-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.confirm-modal-content p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.confirm-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-confirm-cancel {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  color: white;
}

.btn-confirm-cancel:hover {
  background: var(--gray-600);
}

.btn-confirm-ok {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: #ef4444;
  border: none;
  color: white;
}

.btn-confirm-ok:hover {
  background: #dc2626;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10004;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: toast-slide-up 0.3s ease;
  border: 1px solid var(--gray-700);
}

.toast-icon {
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.toast-warning .toast-icon {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.toast-message {
  font-size: 14px;
  color: white;
}

.toast-fade-out {
  animation: toast-fade-out 0.3s ease forwards;
}

@keyframes toast-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-fade-out {
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}
