@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap";

/* src/styles.scss */
:root {
  --navy: #1a237e;
  --navy-dark: #0d1454;
  --navy-mid: #283593;
  --navy-light: #3949ab;
  --navy-pale: #e8eaf6;
  --navy-faint: #f3f4fd;
  --gold: #c8960c;
  --gold-dark: #a07a0a;
  --gold-pale: #fff8e1;
  --sb-bg: #1a237e;
  --sb-text: rgba(255,255,255,.90);
  --sb-text-dim: rgba(255,255,255,.55);
  --sb-border: #283593;
  --sb-hover: #283593;
  --sb-active-bg: #c8960c;
  --sb-active: #ffffff;
  --sb-w: 240px;
  --header-h: 82px;
  --bg: #f4f6fb;
  --white: #ffffff;
  --card: #ffffff;
  --border: #e2e6f0;
  --border-light: #eef0f8;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --orange: #ea580c;
  --orange-bg: #ffedd5;
  --blue: #2563eb;
  --blue-bg: #dbeafe;
  --red: #dc2626;
  --red-bg: #fee2e2;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 1px 6px rgba(15,23,42,.08);
  --shadow-md: 0 4px 16px rgba(15,23,42,.10);
  --shadow-lg: 0 8px 32px rgba(15,23,42,.12);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 160ms;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  height: 100%;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow: hidden;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family:
    "Merriweather",
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
p {
  color: var(--text-soft);
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: var(--gold-dark);
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--gold);
}
button {
  cursor: pointer;
  font-family: "Inter", sans-serif;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--text);
}
.app-shell {
  display: flex;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}
.main {
  flex: 1;
  overflow: hidden;
  background: var(--bg);
  min-height: 0;
}
.main > router-outlet + * {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.sidebar {
  width: var(--sb-w);
  min-width: var(--sb-w);
  background: var(--sb-bg);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  border-right: none;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: 2px solid var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}
.sb-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200, 150, 12, 0.35);
}
.sb-logo-text {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.15;
}
.sb-logo-sub {
  font-size: 10px;
  color: var(--sb-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.ask-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 16px 10px;
  padding: 10px 14px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 2px 10px rgba(200, 150, 12, 0.3);
}
.ask-btn:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
}
.ask-btn mat-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.nav {
  padding: 6px 6px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar {
  display: none;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--sb-text);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  margin-bottom: 2px;
}
.nav-link mat-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nav-link:hover {
  background: var(--sb-hover);
  color: #fff;
}
.nav-link.active {
  background: var(--sb-active-bg);
  color: var(--sb-active);
  box-shadow: 0 2px 8px rgba(200, 150, 12, 0.3);
}
.nav-divider {
  height: 1px;
  background: var(--sb-border);
  margin: 8px 8px;
}
.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--sb-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 11px 4px;
}
.sidebar-user {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--sb-border);
  margin-top: auto;
  flex-shrink: 0;
}
.sb-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background var(--dur);
}
.sb-user-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-role {
  font-size: 11px;
  color: var(--sb-text-dim);
  text-align: left;
  margin-top: 1px;
}
.page-header {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-mid) 100%);
  padding: 28px 32px 26px;
  border-bottom: none;
}
.page-header-title {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}
.page-header-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}
.dash-header {
  flex-shrink: 0;
  z-index: 100;
  background: var(--navy);
  height: var(--header-h);
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(26, 35, 126, 0.15);
}
.dash-header-title {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.dash-header-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 3px 0 0;
  letter-spacing: 0.2px;
}
.page-body {
  padding: 28px 32px;
  max-width: 1200px;
  flex: 1;
  overflow-y: auto;
}
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 32px;
  flex: 1;
  overflow-y: auto;
}
.page-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
  flex: 1;
  overflow-y: auto;
}
.page-title {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 4px;
}
.page-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: box-shadow var(--dur) var(--ease);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon-navy {
  background: var(--navy-pale);
}
.stat-icon-gold {
  background: var(--gold-pale);
}
.stat-icon-green {
  background: var(--green-bg);
}
.stat-icon-orange {
  background: var(--orange-bg);
}
.stat-icon-blue {
  background: var(--blue-bg);
}
.stat-value {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin: 10px 0 4px;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background:
    linear-gradient(
      90deg,
      var(--navy) 0%,
      var(--gold) 100%);
  transition: width 0.4s var(--ease);
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 2px 8px rgba(200, 150, 12, 0.25);
}
.btn-navy:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-navy:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 2px 8px rgba(200, 150, 12, 0.25);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.btn-outline:hover {
  background: var(--gold-pale);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.btn-ghost:hover {
  background: var(--bg);
  color: var(--text);
}
.w-full {
  width: 100%;
  justify-content: center;
}
.f-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.f-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c5cad6;
  border-radius: var(--r);
  font-size: 14px;
  background: #f9fafb;
  color: var(--text);
  transition:
    border-color var(--dur),
    box-shadow var(--dur),
    background var(--dur);
  outline: none;
}
.f-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.15);
  background: var(--white);
}
.f-input::placeholder {
  color: #9ca3af;
}
select.f-input {
  appearance: auto;
  cursor: pointer;
}
textarea.f-input {
  line-height: 1.7;
}
.f-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}
.auth-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.auth-left {
  width: 460px;
  min-width: 460px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(200, 150, 12, 0.22) 0%,
      transparent 55%),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%);
}
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg);
  overflow-y: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}
.badge-success {
  background: var(--green-bg);
  color: var(--green);
}
.badge-warning {
  background: var(--orange-bg);
  color: var(--orange);
}
.badge-info {
  background: var(--blue-bg);
  color: var(--blue);
}
.badge-default {
  background: var(--navy-pale);
  color: var(--navy);
}
.badge-error {
  background: var(--red-bg);
  color: var(--red);
}
.badge-gold {
  background: var(--gold-pale);
  color: var(--gold-dark);
}
.s-open {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
}
.s-answered {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--blue-bg);
  color: var(--blue);
}
.s-pending {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--orange-bg);
  color: var(--orange);
}
.s-referred {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--blue-bg);
  color: var(--blue);
}
.s-closed {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
}
.s-confirmed {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
}
.s-completed {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--blue-bg);
  color: var(--blue);
}
.s-cancelled {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--red-bg);
  color: var(--red);
}
.badge-verified {
  background: #d1fae5;
  color: #065f46;
}
.badge-pending {
  background: #fef9c3;
  color: #92400e;
}
.cat-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cat-strip::-webkit-scrollbar {
  display: none;
}
.cat-chip {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-soft);
  transition: all var(--dur) var(--ease);
  font-family: "Inter", sans-serif;
}
.cat-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cat-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.sort-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  font-family: "Inter", sans-serif;
}
.sort-btn:hover {
  background: var(--gold-pale);
  color: var(--gold);
}
.sort-btn.active {
  background: var(--gold);
  color: #fff;
}
.sort-btn mat-icon {
  font-size: 15px;
  width: 15px;
  height: 15px;
}
.post-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.post-item:hover {
  background: var(--navy-faint);
}
.q-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-pale);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.post-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--navy-pale);
  color: var(--navy);
}
.post-cat-green {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
}
.post-cat-orange {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--orange-bg);
  color: var(--orange);
}
.post-cat-teal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: #ccfbf1;
  color: #0d9488;
}
.post-cat-purple {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: #f3e8ff;
  color: #7e22ce;
}
.post-cat-pink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: #fce7f3;
  color: #be185d;
}
.hashtag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 500;
  margin-right: 5px;
  background: var(--navy-faint);
  color: var(--navy-mid);
}
.attachment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.attachment mat-icon {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Inter", sans-serif;
  transition: color var(--dur) var(--ease);
}
.post-action:hover {
  color: var(--navy);
}
.post-action.liked {
  color: var(--gold);
}
.post-action mat-icon {
  font-size: 15px;
  width: 15px;
  height: 15px;
}
.sp {
  flex: 1;
}
.empty {
  text-align: center;
  padding: 64px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.empty mat-icon {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.45;
}
.empty h3 {
  font-family:
    "Merriweather",
    Georgia,
    serif;
  color: var(--text-soft);
  font-size: 1.1rem;
}
.empty p {
  font-size: 13.5px;
  color: var(--text-muted);
}
.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-pill {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-soft);
  transition: all var(--dur) var(--ease);
  font-family: "Inter", sans-serif;
}
.filter-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.sort-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  transition: all var(--dur) var(--ease);
  font-family: "Inter", sans-serif;
}
.sort-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.sort-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.sort-pill mat-icon {
  font-size: 15px;
  width: 15px;
  height: 15px;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}
mat-spinner {
  --mdc-circular-progress-active-indicator-color: currentColor;
}
.snack-ok .mdc-snackbar__surface {
  background: var(--navy) !important;
  border-left: 4px solid var(--gold) !important;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.25) !important;
}
.snack-ok .mdc-snackbar__label {
  color: #fff !important;
  font-weight: 500 !important;
}
.snack-ok .mdc-snackbar__action button {
  color: var(--gold) !important;
}
.snack-err .mdc-snackbar__surface {
  background: #1a1a2e !important;
  border-left: 4px solid var(--red) !important;
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.25) !important;
}
.snack-err .mdc-snackbar__label {
  color: #fff !important;
  font-weight: 500 !important;
}
.snack-err .mdc-snackbar__action button {
  color: #fca5a5 !important;
}
.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  position: sticky;
  top: 20px;
}
body.rtl {
  direction: rtl;
  text-align: right;
  font-family:
    "Tajawal",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}
body.rtl h1,
body.rtl h2,
body.rtl h3 {
  font-family:
    "Tajawal",
    Georgia,
    serif;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
}
body.rtl h1 {
  font-size: 1.65rem;
}
body.rtl h2 {
  font-size: 1.3rem;
}
body.rtl h3 {
  font-size: 1.1rem;
}
body.rtl p {
  line-height: 1.9;
  font-size: 14.5px;
}
body.rtl input,
body.rtl textarea,
body.rtl select,
body.rtl button {
  font-family:
    "Tajawal",
    -apple-system,
    sans-serif;
  font-size: 14.5px;
  letter-spacing: 0;
}
body.rtl .f-label {
  font-family: "Tajawal", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
  display: block;
}
body.rtl .f-input {
  text-align: right;
  font-size: 14.5px;
  line-height: 1.7;
}
body.rtl .f-error {
  text-align: right;
}
body.rtl .sidebar {
  border-right: none;
  border-left: none;
}
body.rtl .sidebar-logo {
  text-align: right;
}
body.rtl .sb-logo-text,
body.rtl .sb-logo-sub {
  text-align: right;
}
body.rtl .nav-link {
  text-align: right;
  padding-right: 16px;
  padding-left: 12px;
}
body.rtl .nav-link mat-icon {
  margin-right: 0;
  margin-left: 10px;
}
body.rtl .nav-section-label {
  text-align: right;
  padding-right: 16px;
  padding-left: 0;
}
body.rtl .sb-user-btn {
  text-align: right;
}
body.rtl .user-name,
body.rtl .user-role {
  text-align: right;
}
body.rtl .main {
  direction: rtl;
  text-align: right;
}
body.rtl .dash-header {
  direction: rtl;
  text-align: right;
}
body.rtl .dash-header h1,
body.rtl .dash-header p {
  text-align: right;
}
body.rtl .card {
  text-align: right;
}
body.rtl .badge {
  direction: ltr;
}
body.rtl .snack-ok .mdc-snackbar__surface {
  border-left: none !important;
  border-right: 4px solid var(--gold) !important;
}
body.rtl .snack-err .mdc-snackbar__surface {
  border-left: none !important;
  border-right: 4px solid var(--red) !important;
}
body.rtl .auth-left {
  text-align: right;
  direction: rtl;
}
body.rtl .auth-left h1,
body.rtl .auth-left h2 {
  font-family:
    "Tajawal",
    Georgia,
    serif;
  font-weight: 800;
  line-height: 1.5;
}
body.rtl .auth-left p {
  line-height: 1.9;
}
body.rtl .auth-right {
  direction: rtl;
  text-align: right;
}
body.rtl .auth-right h1 {
  font-family:
    "Tajawal",
    Georgia,
    serif;
  font-weight: 800;
}
body.rtl [style*="display:flex"][style*=gap] {
}
body.rtl .user-popup-menu {
  text-align: right;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sb-text-dim);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
  background: transparent;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
}
.lang-btn:hover {
  color: var(--sb-text);
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn.active {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 1px 4px rgba(200, 150, 12, 0.35);
}
.lang-switch-light {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.lang-switch-light .lang-btn {
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}
.lang-switch-light .lang-btn:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}
.lang-switch-light .lang-btn.active {
  background: var(--gold);
  color: #fff;
}

/* angular:styles/global:styles */
