﻿@import './tokens.css';
@import './theme.css';
@import './components.css';

/* Utility classes */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.rounded-pill { border-radius: var(--radius-pill) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.cursor-pointer { cursor: pointer; }
.transition { transition: all var(--transition); }
.overflow-hidden { overflow: hidden; }

/* Loader */
.page-loader {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.spinner-brand {
  width: 40px; height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notifications */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }
.toast-custom {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-soft);
  min-width: 280px;
}
.toast-custom.success { border-left-color: var(--color-success); }
.toast-custom.danger { border-left-color: var(--color-danger); }
.toast-custom.warning { border-left-color: var(--color-warning); }

/* Empty state */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--color-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h6 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--color-text-light); }
