/* Azzet — NiceAdmin / Bootstrap override layer.
   Loaded after assets/css/style.css. Tokens from azzet-tokens.css. */

:root {
  --bs-primary: var(--plum-700);
  --bs-primary-rgb: 112, 3, 66;
  --bs-body-bg: var(--background);
  --bs-body-color: var(--foreground);
  --bs-border-color: var(--border);
  --bs-border-radius: 0.5rem;
  --bs-link-color: var(--plum-700);
  --bs-link-hover-color: var(--plum-800);
  --bs-font-sans-serif: var(--font-sans);
  --bs-body-font-family: var(--font-sans);
  --bs-heading-color: var(--foreground);
  --bs-secondary-color: var(--muted-foreground);
  --bs-tertiary-bg: var(--muted);
  --bs-success: #157552;
  --bs-warning: #a45904;
  --bs-danger: #ba211c;
  --bs-info: #186891;
}

.dark {
  --bs-primary: var(--sand-400);
  --bs-primary-rgb: 222, 194, 156;
  --bs-link-color: var(--sand-300);
  --bs-link-hover-color: var(--sand-200);
  --bs-body-bg: var(--background);
  --bs-body-color: var(--foreground);
  --bs-border-color: var(--border);
  --bs-heading-color: var(--foreground);
}

*,
*::before,
*::after {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

html.dark {
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6,
.content-header h1,
.pagetitle h1,
.card-title,
.brand-text {
  font-family: var(--font-display);
  color: var(--foreground);
}

::selection {
  background: var(--sand-300);
  color: var(--plum-900);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Chrome: header                                                     */
/* ------------------------------------------------------------------ */

.header {
  height: var(--header-height);
  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  padding-left: 1rem;
  padding-right: 1.25rem;
  left: var(--sidebar-width);
  right: 0;
  width: auto;
  transition: left 0.3s;
}

.header.fixed-top {
  left: var(--sidebar-width);
  right: 0;
}

.header .toggle-sidebar-btn {
  color: var(--foreground);
  font-size: 1.35rem;
  padding-left: 0;
  line-height: 1;
}

.header .logo {
  display: none;
}

.header-nav .nav-icon,
.header-nav .nav-profile {
  color: var(--foreground);
}

.header-nav .nav-profile span {
  font-weight: 500;
  font-size: 0.8125rem;
}

.header-nav .nav-profile img {
  display: none;
}

.azzet-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--plum-800);
  color: var(--sand-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.azzet-rate-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  border: 1px solid var(--sand-300);
  background: var(--gold-wash);
  color: var(--gold-ink);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.azzet-rate-chip:hover {
  color: var(--gold-ink);
  border-color: var(--sand-500);
}

.azzet-rate-chip .label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.azzet-rate-chip .value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.azzet-rate-chip .delta {
  font-variant-numeric: tabular-nums;
  font-size: 0.6875rem;
}

.azzet-rate-chip .delta.is-up { color: var(--success); }
.azzet-rate-chip .delta.is-down { color: var(--destructive); }

.azzet-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--foreground);
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.azzet-icon-btn:hover {
  background: var(--muted);
}

.theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: none; }
html.dark .theme-icon-sun { display: inline-block; }

.dropdown-menu {
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: none;
}

.dropdown-menu-arrow::before {
  display: none;
}

.dropdown-menu .dropdown-item {
  color: var(--foreground);
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
}

.dropdown-menu .dropdown-item:hover,
.header-nav .profile .dropdown-item:hover,
.header-nav .notifications .notification-item:hover,
.header-nav .messages .message-item:hover {
  background: var(--muted);
  color: var(--foreground);
}

.dropdown-menu .dropdown-header h6,
.header-nav .profile .dropdown-header h6 {
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.dropdown-divider {
  border-top-color: var(--border);
  color: var(--border);
}

/* ------------------------------------------------------------------ */
/* Chrome: sidebar                                                    */
/* ------------------------------------------------------------------ */

.sidebar {
  top: 0;
  width: var(--sidebar-width);
  padding: 0 0.75rem 1.5rem;
  background: var(--sidebar) !important;
  border-right: 1px solid var(--sidebar-border);
  box-shadow: none;
  scrollbar-color: var(--sidebar-border) transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--sidebar-border); }

.sidebar-brand {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-height);
  margin: 0 -0.75rem;
  padding: 0 1rem;
  background: var(--sidebar);
  border-bottom: 1px solid var(--sidebar-border);
  color: var(--gold);
  text-decoration: none;
}

.sidebar-brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.sidebar-brand__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
}

.sidebar-brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-brand__tag {
  margin-top: 0.28rem;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-brand:hover {
  color: var(--gold);
  opacity: 0.92;
}

.sidebar-nav { padding-top: 0.75rem; }

.sidebar-nav .nav-heading {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  margin: 1.25rem 0 0.35rem;
  padding: 0 0.75rem;
}

.sidebar-nav .nav-item { margin-bottom: 2px; }

.sidebar-nav .nav-link,
.sidebar-nav .nav-link.collapsed {
  position: relative;
  background: transparent !important;
  color: var(--sidebar-foreground) !important;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

.sidebar-nav .nav-link i,
.sidebar-nav .nav-link.collapsed i {
  color: inherit !important;
  font-size: 1rem;
  margin-right: 0.75rem;
  opacity: 0.85;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.collapsed:hover {
  background: var(--sidebar-accent) !important;
  color: var(--sidebar-accent-foreground) !important;
}

.sidebar-nav .nav-link:not(.collapsed) {
  background: var(--sidebar-accent) !important;
  color: var(--sidebar-primary) !important;
  font-weight: 500;
}

.sidebar-nav .nav-link:not(.collapsed)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 999px;
  background: var(--sidebar-primary);
}

.sidebar-nav .nav-content a {
  color: var(--sidebar-foreground) !important;
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.4rem 0.75rem 0.4rem 2.5rem;
}

.sidebar-nav .nav-content a i {
  display: none;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active,
.sidebar-nav .nav-content a.js {
  color: var(--sidebar-primary) !important;
}

@media (min-width: 1200px) {
  #main,
  #footer {
    margin-left: var(--sidebar-width);
  }

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .header,
  .toggle-sidebar .header.fixed-top {
    left: 0;
  }

  .toggle-sidebar .sidebar {
    left: calc(var(--sidebar-width) * -1);
  }
}

@media (max-width: 1199px) {
  .header,
  .header.fixed-top {
    left: 0;
    width: 100%;
  }

  .sidebar {
    left: calc(var(--sidebar-width) * -1);
  }

  .toggle-sidebar .sidebar {
    left: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Main, titles, footer                                               */
/* ------------------------------------------------------------------ */

#main {
  margin-top: var(--header-height);
  padding: 1.5rem;
  min-height: calc(100vh - var(--header-height) - 52px);
  background: var(--background);
}

.pagetitle {
  margin-bottom: 1.5rem;
}

.pagetitle h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin: 0;
}

.pagetitle .breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin: 0 0 0.35rem;
  padding: 0;
}

.pagetitle .breadcrumb a,
.breadcrumb a {
  color: var(--muted-foreground);
  font-weight: 400;
}

.pagetitle .breadcrumb a:hover { color: var(--foreground); }
.breadcrumb .breadcrumb-item::before { color: var(--neutral-400); }
.breadcrumb .active {
  color: var(--foreground);
  font-weight: 500;
}

.footer {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  background: transparent !important;
  color: var(--muted-foreground) !important;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  text-align: left;
}

.footer .copyright,
.footer .copyright a,
.footer .credits,
.footer .credits a,
.footer strong {
  color: var(--muted-foreground);
  font-weight: 400;
}

.footer .credits {
  padding-top: 0.15rem;
  font-size: inherit;
  text-align: left;
}

.footer .credits a {
  color: var(--primary);
  text-decoration: none;
}

.footer .credits a:hover {
  text-decoration: underline;
}

.back-to-top {
  background: var(--primary);
  border-radius: var(--radius);
}

.back-to-top:hover { background: var(--primary-hover); }
.back-to-top i { color: var(--primary-foreground); }

/* ------------------------------------------------------------------ */
/* Buttons, badges, forms, tables, cards                              */
/* ------------------------------------------------------------------ */

.btn {
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  box-shadow: none;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-foreground);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--input);
  background: var(--card);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-success { background: var(--success); border-color: var(--success); color: var(--success-foreground); }
.btn-danger { background: var(--destructive); border-color: var(--destructive); color: var(--destructive-foreground); }
.btn-warning { background: var(--warning); border-color: var(--warning); color: var(--warning-foreground); }
.btn-info { background: var(--info); border-color: var(--info); color: var(--info-foreground); }
.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-foreground);
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; color: var(--primary-foreground) !important; }
.badge.bg-primary,
.badge-primary { background-color: var(--primary) !important; color: var(--primary-foreground) !important; }

.page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.page-link {
  color: var(--foreground);
  background: var(--card);
  border-color: var(--border);
}

.page-link:hover {
  background: var(--muted);
  color: var(--foreground);
  border-color: var(--border);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-control,
.form-select,
.custom-select,
select.form-control {
  border-color: var(--input);
  border-radius: 0.375rem;
  color: var(--foreground);
  background-color: var(--card);
  font-size: 0.875rem;
  min-height: 2.25rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 30%, transparent);
  color: var(--foreground);
  background-color: var(--card);
}

.form-label,
.col-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--destructive);
}

.invalid-feedback { color: var(--destructive); font-size: 0.75rem; }

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.5rem;
}

.card-header,
.card-footer {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.card-title {
  padding: 0 0 0.75rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0;
  text-transform: none;
}

.card-title span {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 400;
}

.card-body {
  padding: 1.25rem;
}

.card-primary:not(.card-outline) > .card-header,
.card-info > .card-header,
.card-success > .card-header,
.card-warning > .card-header,
.card-danger > .card-header {
  background: transparent;
  color: var(--foreground);
  border-top: 2px solid var(--gold);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: var(--muted);
  --bs-table-color: var(--foreground);
  --bs-table-border-color: var(--border);
  font-size: 0.875rem;
}

.table thead th {
  background-color: transparent;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border) !important;
  padding: 0.625rem 1rem;
}

.table td,
.table th {
  border-top: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  padding: 0.625rem 1rem;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) { background-color: transparent; }
.table-hover tbody tr:hover { background-color: color-mix(in srgb, var(--muted) 60%, transparent); }

.nav-tabs-bordered { border-bottom: 1px solid var(--border); }
.nav-tabs-bordered .nav-link {
  color: var(--muted-foreground);
  border: 0;
  border-radius: 0;
}
.nav-tabs-bordered .nav-link.active {
  color: var(--foreground);
  background: transparent;
  border-bottom: 2px solid var(--gold);
}

.alert {
  border-radius: var(--radius);
  border-left-width: 3px;
}

.modal-content {
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.accordion-item { border-color: var(--border); background: var(--card); }
.accordion-button {
  background: var(--card);
  color: var(--foreground);
}
.accordion-button:not(.collapsed) {
  color: var(--foreground);
  background: var(--muted);
  box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Kill NiceAdmin info-card / template tells                          */
/* ------------------------------------------------------------------ */

.dashboard .info-card .card-icon,
.dashboard .card-icon {
  display: none !important;
}

.dashboard .info-card h6 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.dashboard .filter { display: none; }

.dashboard .row > [class*="col-"] > .card {
  overflow: hidden;
}

.dashboard #columnChart {
  overflow: hidden;
  max-width: 100%;
}

.dashboard .table-responsive {
  overflow-x: auto;
  max-width: 100%;
}

.dashboard .activity {
  max-height: 28rem;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
}

.dashboard .activity .activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
  min-width: 0;
}

.dashboard .activity .activity-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 1.15rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.dashboard .activity .activity-item .activite-label {
  grid-column: 2;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  min-width: 0;
  margin-bottom: 0.15rem;
}

.dashboard .activity .activity-item .activite-label::before {
  content: none;
}

.dashboard .activity .activity-item .activity-badge {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 0.35rem;
  font-size: 0.45rem;
  line-height: 1;
  border-color: var(--card);
  color: var(--gold) !important;
}

.dashboard .activity .activity-content {
  grid-column: 2;
  min-width: 0;
  padding-left: 0;
}

.dashboard .activity .activity-content h6 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dashboard .table td:nth-child(n+3),
.dashboard .table th:nth-child(n+3) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

/* ------------------------------------------------------------------ */
/* KPI cards (dashboard)                                              */
/* ------------------------------------------------------------------ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.kpi-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 1.25rem;
  margin-bottom: 0;
}

.kpi-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.kpi-card .kpi-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 0.5rem;
}

.kpi-card .kpi-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0;
}

.kpi-card .kpi-value .unit {
  margin-left: 0.3rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
}

.kpi-card .kpi-meta {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.kpi-card .kpi-meta .is-up { color: var(--success); }
.kpi-card .kpi-meta .is-down { color: var(--destructive); }

.azzet-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.azzet-empty i {
  display: block;
  font-size: 1.5rem;
  color: var(--sand-500);
  margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------------ */
/* Select2 / Toastr                                                   */
/* ------------------------------------------------------------------ */

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-color: var(--input);
  border-radius: 0.375rem;
  background: var(--card);
  min-height: 2.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--foreground);
  line-height: 2.15rem;
}

.select2-dropdown {
  background: var(--popover);
  border-color: var(--border);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--plum-700);
  color: var(--sand-50);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: var(--input);
  background: var(--card);
  color: var(--foreground);
}

#toast-container > .toast-success { background-color: var(--success); }
#toast-container > .toast-error { background-color: var(--destructive); }
#toast-container > .toast-info { background-color: var(--info); }
#toast-container > .toast-warning { background-color: var(--warning); }

/* ------------------------------------------------------------------ */
/* Login — 50/50 split, lockup on plum, form on ivory                 */
/* ------------------------------------------------------------------ */

body.azzet-auth {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.azzet-login {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(9rem, 28vh) minmax(0, 1fr);
  background: var(--background);
  overflow: hidden;
}

.azzet-login__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plum-700);
  border-bottom: 1px solid var(--gold);
  overflow: hidden;
  padding: 0;
}

.azzet-login__lockup {
  display: block;
  width: min(38rem, 92%);
  height: auto;
  flex-shrink: 0;
}

.azzet-login__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  min-height: 0;
  overflow: hidden;
  padding: 1rem 1.5rem 1.5rem;
}

.azzet-login__form {
  align-self: center;
  width: 100%;
  max-width: 22.5rem;
}

.azzet-login__powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 22.5rem;
  margin: 0 0 0.5rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--border);
}

.azzet-login__powered-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.azzet-login__powered-mark {
  display: block;
  width: 5.25rem;
  height: auto;
}

.azzet-login__form h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.azzet-login__form .lede {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1.75rem;
}

.azzet-login__form .form-control {
  height: 2.5rem;
}

.azzet-login__form .btn-primary {
  height: 2.5rem;
  width: 100%;
  margin-top: 0.25rem;
}

@media (min-width: 960px) {
  .azzet-login {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .azzet-login__brand {
    border-bottom: 0;
    border-right: 1px solid var(--gold);
  }

  .azzet-login__lockup {
    width: min(52rem, 92%);
  }

  .azzet-login__panel {
    padding: 1.25rem 4rem 3rem;
  }
}

/* Guest (Laravel app layout) pages */
.azzet-guest {
  min-height: 100vh;
  background: var(--background);
}

.azzet-guest .navbar {
  background: var(--plum-900) !important;
  border-bottom: 1px solid var(--sidebar-border);
  box-shadow: none;
}

.azzet-guest .navbar-brand,
.azzet-guest .nav-link {
  color: var(--sand-200) !important;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.azzet-guest .navbar-brand img {
  height: 28px;
  margin-right: 0.5rem;
}

.azzet-guest .navbar-toggler {
  border-color: var(--sidebar-border);
}

.azzet-guest .navbar-toggler-icon {
  filter: invert(1) brightness(1.4);
}

.azzet-guest main {
  padding: 2.5rem 1rem;
}

/* ------------------------------------------------------------------ */
/* Print                                                              */
/* ------------------------------------------------------------------ */

@media print {
  .sidebar,
  .header,
  .footer,
  .back-to-top,
  .toggle-sidebar-btn,
  .azzet-icon-btn {
    display: none !important;
  }

  #main,
  #footer {
    margin: 0 !important;
  }

  body {
    background: #fff !important;
    color: #221f1b !important;
  }

  .pagetitle h1 {
    color: #590335 !important;
  }

  .hallmark-rule,
  .kpi-card.is-featured::before {
    background: #c1975c !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
