/* Novaza Admin Console Theme — shadcn-inspired */

/* === Lexend Font (self-hosted) === */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Lexend-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Lexend-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Lexend-700.woff2') format('woff2');
}

/* === PatternFly 5 Variable Overrides === */
:root {
  --pf-v5-global--primary-color--100: #18181B;
  --pf-v5-global--primary-color--200: #27272A;
  --pf-v5-global--BackgroundColor--100: #FFFFFF;
  --pf-v5-global--BackgroundColor--200: #F4F4F5;
  --pf-v5-global--BorderColor--100: #E4E4E7;
  --pf-v5-global--BorderColor--200: #E4E4E7;
  --pf-v5-global--FontFamily--text: 'Lexend', system-ui, -apple-system, sans-serif;
  --pf-v5-global--FontFamily--heading: 'Lexend', system-ui, -apple-system, sans-serif;
  --pf-v5-global--FontFamily--sans-serif: 'Lexend', system-ui, -apple-system, sans-serif;
  --pf-v5-global--BorderRadius--sm: 6px;
  --pf-v5-global--BorderRadius--lg: 8px;
}

/* === Global Font === */
body,
.pf-v5-c-page,
.pf-v5-c-nav,
.pf-v5-c-page__header,
.pf-v5-c-breadcrumb,
.pf-v5-c-title,
.pf-v5-c-button,
.pf-v5-c-form-control,
.pf-v5-c-table,
.pf-v5-c-tabs,
.pf-v5-c-card {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif !important;
}

/* === Masthead / Header === */
.pf-v5-c-masthead {
  --pf-v5-c-masthead--BackgroundColor: #FFFFFF !important;
  border-bottom: 1px solid #E4E4E7 !important;
}

.pf-v5-c-masthead__brand img {
  height: 28px !important;
  width: auto !important;
}

/* === Sidebar Nav === */
.pf-v5-c-page__sidebar {
  --pf-v5-c-page__sidebar--BackgroundColor: #F4F4F5 !important;
  border-right: 1px solid #E4E4E7 !important;
}

.pf-v5-c-nav__link {
  font-weight: 500 !important;
  border-radius: 6px !important;
}

.pf-v5-c-nav__link.pf-m-current,
.pf-v5-c-nav__link:hover {
  background-color: #FFFFFF !important;
  color: #09090B !important;
}

/* === Buttons === */
.pf-v5-c-button.pf-m-primary {
  background-color: #18181B !important;
  border-color: #18181B !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}
.pf-v5-c-button.pf-m-primary:hover {
  background-color: #27272A !important;
}

.pf-v5-c-button.pf-m-secondary,
.pf-v5-c-button.pf-m-tertiary {
  border-radius: 6px !important;
}

/* === Cards === */
.pf-v5-c-card {
  border: 1px solid #E4E4E7 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* === Tables === */
.pf-v5-c-table thead th {
  font-weight: 500 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #71717A !important;
}

/* === Form Controls === */
.pf-v5-c-form-control {
  border-radius: 6px !important;
}

/* === Page Background === */
.pf-v5-c-page__main-section {
  --pf-v5-c-page__main-section--BackgroundColor: #FFFFFF !important;
}
