/**
 * SahanICT - Main Style Sheet
 * Powered by Tailwind CSS v4 and Custom Premium Styles
 */

/* Custom Design System Tokens & Adjustments */
:root {
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8fafc; /* slate-50 */
  color: #0f172a; /* slate-900 */
}

/* Custom premium animations & utility styles */
.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glassmorphism {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover micro-interactions */
.btn-interactive {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-interactive:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Admin sidebar material-style tweaks */
.admin-sidebar {
  border-right-width: 1px;
  border-right-color: rgba(2, 6, 23, 0.6);
}
.admin-sidebar .admin-link {
  color: #e6eefb;
}
.admin-sidebar .admin-link:hover {
  background: rgba(30, 58, 138, 0.15);
  color: #ffffff;
}
.admin-sidebar a {
  text-decoration: none;
}

/* Active indicator */
.admin-sidebar .admin-link.active {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.06)
  );
  box-shadow: inset 4px 0 0 0 rgba(99, 102, 241, 0.9);
}

/* Dropdown children */
.admin-sidebar [data-dropdown] a {
  padding-left: 0.6rem;
}

/* Small material elevation for sidebar */
.admin-sidebar {
  box-shadow: 0 6px 18px -6px rgba(2, 6, 23, 0.6);
}
