:root {
  color-scheme: light;
  --rt-color-theme: #635bff;
  --rt-bg: #f6f8ff;
  --rt-surface: rgba(255, 255, 255, 0.82);
  --rt-surface-solid: #ffffff;
  --rt-surface-muted: rgba(248, 250, 252, 0.88);
  --rt-text: #101828;
  --rt-muted: #667085;
  --rt-border: rgba(15, 23, 42, 0.1);
  --rt-primary: #635bff;
  --rt-primary-rgb: 99, 91, 255;
  --rt-primary-2: #00b8ff;
  --rt-accent: #ff7a59;
  --rt-accent-rgb: 255, 122, 89;
  --rt-success: #16a34a;
  --rt-success-rgb: 22, 163, 74;
  --rt-warning: #f59e0b;
  --rt-warning-rgb: 245, 158, 11;
  --rt-danger: #ef4444;
  --rt-danger-rgb: 239, 68, 68;
  --rt-purple: #6d28d9;
  --rt-purple-rgb: 109, 40, 217;
  --rt-white: #fff;
  --rt-dark-bg: #070a12;
  --rt-dark-surface: rgba(17, 24, 39, 0.74);
  --rt-dark-surface-solid: #101828;
  --rt-dark-surface-muted: rgba(15, 23, 42, 0.88);
  --rt-dark-text: #f8fafc;
  --rt-dark-muted: #aab3c5;
  --rt-dark-border: rgba(255, 255, 255, 0.12);
  --rt-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --rt-shadow-soft: 0 14px 42px rgba(15, 23, 42, 0.08);
  --rt-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --rt-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --rt-dark-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --rt-dark-shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.26);
  --rt-dark-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --rt-ring: 0 0 0 3px rgba(var(--rt-primary-rgb), 0.14);
  --rt-radius-xl: 34px;
  --rt-radius-lg: 26px;
  --rt-radius-md: 18px;
  --rt-radius-sm: 10px;
  --rt-round: 12px;
  --rt-radius: var(--rt-round);
  --rt-page-gutter: clamp(14px, 2vw, 32px);
  --rt-shell-padding: clamp(24px, 4vw, 46px);
  --rt-panel-padding: clamp(16px, 2vw, 22px);
  --rt-nav-height: 72px;
  --admin-sidebar-w: 260px;
  --rt-grid-columns: 12;
  --rt-grid-gutter-x: 1.5rem;
  --rt-grid-gutter-y: 0;
  --rt-container-padding-x: 0.75rem;
  --rt-margin-0: 0;
  --rt-margin-1: 0.5rem;
  --rt-margin-2: 1rem;
  --rt-margin-3: 1.5rem;
  --rt-margin-4: 2rem;
  --rt-margin-5: 2.5rem;
  --rt-margin-6: 3rem;
  --rt-padding-0: 0;
  --rt-padding-1: 0.5rem;
  --rt-padding-2: 1rem;
  --rt-padding-3: 1.5rem;
  --rt-padding-4: 2rem;
  --rt-padding-5: 2.5rem;
  --rt-padding-6: 3rem;
  --rt-gap-1: 0.5rem;
  --rt-gap-2: 0.75rem;
  --rt-gap-3: 1rem;
  --rt-gap-4: 1.5rem;
}

html[data-theme=dark] {
  color-scheme: dark;
  --rt-bg: var(--rt-dark-bg);
  --rt-surface: var(--rt-dark-surface);
  --rt-surface-solid: var(--rt-dark-surface-solid);
  --rt-surface-muted: var(--rt-dark-surface-muted);
  --rt-text: var(--rt-dark-text);
  --rt-muted: var(--rt-dark-muted);
  --rt-border: var(--rt-dark-border);
  --rt-shadow: var(--rt-dark-shadow);
  --rt-shadow-soft: var(--rt-dark-shadow-soft);
  --rt-shadow-sm: var(--rt-dark-shadow-sm);
  --rt-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--rt-text);
  background: var(--rt-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(var(--rt-primary-rgb), 0.22);
}

/* ============================================
           TYPOGRAPHY
        ============================================ */
body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--rt-text);
}

h1 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
}

h4 {
  font-size: clamp(1.15rem, 1.5vw, 1.5rem);
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--rt-text);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--rt-text);
}

ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

li + li {
  margin-top: 0.35rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

strong,
b {
  font-weight: 900;
  color: var(--rt-text);
}

em {
  font-style: italic;
}

small {
  font-size: 0.875em;
  color: var(--rt-muted);
}

mark {
  padding: 0.08em 0.28em;
  border-radius: 0;
  background: rgba(var(--rt-warning-rgb), 0.18);
  color: var(--rt-text);
}

u {
  text-decoration-color: rgba(var(--rt-primary-rgb), 0.75);
  text-underline-offset: 0.14em;
}

hr {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px solid var(--rt-border);
}

blockquote {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--rt-primary);
  border-radius: 0;
  background: rgba(var(--rt-primary-rgb), 0.06);
  color: var(--rt-text);
}

blockquote p {
  margin-bottom: 0;
}

code,
kbd,
samp {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
}

code {
  padding: 0.16em 0.42em;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: rgba(var(--rt-primary-rgb), 0.08);
  color: var(--rt-primary);
  word-break: break-word;
}

pre {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  overflow: auto;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
}

pre code {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  white-space: pre;
}

kbd {
  display: inline-block;
  padding: 0.14em 0.45em;
  border: 1px solid var(--rt-border);
  border-bottom-width: 2px;
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
}

sub,
sup {
  font-size: 0.75em;
  line-height: 0;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

::selection {
  background: rgba(var(--rt-primary-rgb), 0.22);
  color: var(--rt-text);
}

.rt {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: -0.125em;
  fill: currentColor;
  stroke: currentColor;
  overflow: visible;
}

.rt-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.rt-lg {
  width: 1.25rem;
  height: 1.25rem;
}

.rt-xl {
  width: 1.5rem;
  height: 1.5rem;
}

.rt svg,
svg.rt {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

svg.rt {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rt-m0 {
  margin: 0 !important;
}

.rt-m1 {
  margin: var(--rt-margin-1) !important;
}

.rt-m2 {
  margin: var(--rt-margin-2) !important;
}

.rt-m3 {
  margin: var(--rt-margin-3) !important;
}

.rt-m4 {
  margin: var(--rt-margin-4) !important;
}

.rt-m5 {
  margin: var(--rt-margin-5) !important;
}

.rt-m6 {
  margin: var(--rt-margin-6) !important;
}

.rt-mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.rt-ml-auto {
  margin-left: auto !important;
}

.rt-mr-auto {
  margin-right: auto !important;
}

.rt-mt0 {
  margin-top: var(--rt-margin-0) !important;
}

.rt-mt1 {
  margin-top: var(--rt-margin-1) !important;
}

.rt-mt2 {
  margin-top: var(--rt-margin-2) !important;
}

.rt-mt3 {
  margin-top: var(--rt-margin-3) !important;
}

.rt-mt4 {
  margin-top: var(--rt-margin-4) !important;
}

.rt-mt5 {
  margin-top: var(--rt-margin-5) !important;
}

.rt-mt6 {
  margin-top: var(--rt-margin-6) !important;
}

.rt-mb0 {
  margin-bottom: var(--rt-margin-0) !important;
}

.rt-mb1 {
  margin-bottom: var(--rt-margin-1) !important;
}

.rt-mb2 {
  margin-bottom: var(--rt-margin-2) !important;
}

.rt-mb3 {
  margin-bottom: var(--rt-margin-3) !important;
}

.rt-mb4 {
  margin-bottom: var(--rt-margin-4) !important;
}

.rt-mb5 {
  margin-bottom: var(--rt-margin-5) !important;
}

.rt-mb6 {
  margin-bottom: var(--rt-margin-6) !important;
}

.rt-ml0 {
  margin-left: var(--rt-margin-0) !important;
}

.rt-ml1 {
  margin-left: var(--rt-margin-1) !important;
}

.rt-ml2 {
  margin-left: var(--rt-margin-2) !important;
}

.rt-ml3 {
  margin-left: var(--rt-margin-3) !important;
}

.rt-ml4 {
  margin-left: var(--rt-margin-4) !important;
}

.rt-mr0 {
  margin-right: var(--rt-margin-0) !important;
}

.rt-mr1 {
  margin-right: var(--rt-margin-1) !important;
}

.rt-mr2 {
  margin-right: var(--rt-margin-2) !important;
}

.rt-mr3 {
  margin-right: var(--rt-margin-3) !important;
}

.rt-mr4 {
  margin-right: var(--rt-margin-4) !important;
}

.rt-my0 {
  margin-top: var(--rt-margin-0) !important;
  margin-bottom: var(--rt-margin-0) !important;
}

.rt-my1 {
  margin-top: var(--rt-margin-1) !important;
  margin-bottom: var(--rt-margin-1) !important;
}

.rt-my2 {
  margin-top: var(--rt-margin-2) !important;
  margin-bottom: var(--rt-margin-2) !important;
}

.rt-my3 {
  margin-top: var(--rt-margin-3) !important;
  margin-bottom: var(--rt-margin-3) !important;
}

.rt-my4 {
  margin-top: var(--rt-margin-4) !important;
  margin-bottom: var(--rt-margin-4) !important;
}

.rt-mx0 {
  margin-left: var(--rt-margin-0) !important;
  margin-right: var(--rt-margin-0) !important;
}

.rt-mx1 {
  margin-left: var(--rt-margin-1) !important;
  margin-right: var(--rt-margin-1) !important;
}

.rt-mx2 {
  margin-left: var(--rt-margin-2) !important;
  margin-right: var(--rt-margin-2) !important;
}

.rt-mx3 {
  margin-left: var(--rt-margin-3) !important;
  margin-right: var(--rt-margin-3) !important;
}

.rt-mx4 {
  margin-left: var(--rt-margin-4) !important;
  margin-right: var(--rt-margin-4) !important;
}

.rt-p0 {
  padding: 0 !important;
}

.rt-p1 {
  padding: var(--rt-padding-1) !important;
}

.rt-p2 {
  padding: var(--rt-padding-2) !important;
}

.rt-p3 {
  padding: var(--rt-padding-3) !important;
}

.rt-p4 {
  padding: var(--rt-padding-4) !important;
}

.rt-p5 {
  padding: var(--rt-padding-5) !important;
}

.rt-p6 {
  padding: var(--rt-padding-6) !important;
}

.rt-pt0 {
  padding-top: var(--rt-padding-0) !important;
}

.rt-pt1 {
  padding-top: var(--rt-padding-1) !important;
}

.rt-pt2 {
  padding-top: var(--rt-padding-2) !important;
}

.rt-pt3 {
  padding-top: var(--rt-padding-3) !important;
}

.rt-pt4 {
  padding-top: var(--rt-padding-4) !important;
}

.rt-pb0 {
  padding-bottom: var(--rt-padding-0) !important;
}

.rt-pb1 {
  padding-bottom: var(--rt-padding-1) !important;
}

.rt-pb2 {
  padding-bottom: var(--rt-padding-2) !important;
}

.rt-pb3 {
  padding-bottom: var(--rt-padding-3) !important;
}

.rt-pb4 {
  padding-bottom: var(--rt-padding-4) !important;
}

.rt-pl0 {
  padding-left: var(--rt-padding-0) !important;
}

.rt-pl1 {
  padding-left: var(--rt-padding-1) !important;
}

.rt-pl2 {
  padding-left: var(--rt-padding-2) !important;
}

.rt-pl3 {
  padding-left: var(--rt-padding-3) !important;
}

.rt-pl4 {
  padding-left: var(--rt-padding-4) !important;
}

.rt-pr0 {
  padding-right: var(--rt-padding-0) !important;
}

.rt-pr1 {
  padding-right: var(--rt-padding-1) !important;
}

.rt-pr2 {
  padding-right: var(--rt-padding-2) !important;
}

.rt-pr3 {
  padding-right: var(--rt-padding-3) !important;
}

.rt-pr4 {
  padding-right: var(--rt-padding-4) !important;
}

.rt-py0 {
  padding-top: var(--rt-padding-0) !important;
  padding-bottom: var(--rt-padding-0) !important;
}

.rt-py1 {
  padding-top: var(--rt-padding-1) !important;
  padding-bottom: var(--rt-padding-1) !important;
}

.rt-py2 {
  padding-top: var(--rt-padding-2) !important;
  padding-bottom: var(--rt-padding-2) !important;
}

.rt-py3 {
  padding-top: var(--rt-padding-3) !important;
  padding-bottom: var(--rt-padding-3) !important;
}

.rt-py4 {
  padding-top: var(--rt-padding-4) !important;
  padding-bottom: var(--rt-padding-4) !important;
}

.rt-px0 {
  padding-left: var(--rt-padding-0) !important;
  padding-right: var(--rt-padding-0) !important;
}

.rt-px1 {
  padding-left: var(--rt-padding-1) !important;
  padding-right: var(--rt-padding-1) !important;
}

.rt-px2 {
  padding-left: var(--rt-padding-2) !important;
  padding-right: var(--rt-padding-2) !important;
}

.rt-px3 {
  padding-left: var(--rt-padding-3) !important;
  padding-right: var(--rt-padding-3) !important;
}

.rt-px4 {
  padding-left: var(--rt-padding-4) !important;
  padding-right: var(--rt-padding-4) !important;
}

.rt-round {
  border-radius: var(--rt-radius) !important;
}

.rt-round-sm {
  border-radius: var(--rt-radius-sm) !important;
}

.rt-round-lg {
  border-radius: var(--rt-radius-lg) !important;
}

.rt-round-full {
  border-radius: 9999px !important;
}

.rt-rounded-sm {
  border-radius: var(--rt-radius-sm) !important;
}

.rt-rounded-md {
  border-radius: var(--rt-radius-md) !important;
}

.rt-rounded-xl {
  border-radius: var(--rt-radius-xl) !important;
}

.rt-rounded-pill {
  border-radius: 9999px !important;
}

.rt-d-block {
  display: block !important;
}

.rt-d-inline-flex {
  display: inline-flex !important;
}

.rt-flex {
  display: flex !important;
}

.rt-grid {
  display: grid !important;
}

.rt-flex-col {
  flex-direction: column !important;
}

.rt-flex-wrap {
  flex-wrap: wrap !important;
}

.rt-items-start {
  align-items: flex-start !important;
}

.rt-items-center {
  align-items: center !important;
}

.rt-items-end {
  align-items: flex-end !important;
}

.rt-flex-start {
  justify-content: flex-start !important;
}

.rt-flex-center {
  justify-content: center !important;
}

.rt-flex-end {
  justify-content: flex-end !important;
}

.rt-flex-between {
  justify-content: space-between !important;
}

.rt-justify-center {
  justify-content: center !important;
}

.rt-justify-end {
  justify-content: flex-end !important;
}

.rt-gap-1 {
  gap: var(--rt-gap-1) !important;
}

.rt-gap-2 {
  gap: var(--rt-gap-2) !important;
}

.rt-gap-3 {
  gap: var(--rt-gap-3) !important;
}

.rt-gap-4 {
  gap: var(--rt-gap-4) !important;
}

.rt-gap-x-1 {
  column-gap: var(--rt-gap-1) !important;
}

.rt-gap-x-2 {
  column-gap: var(--rt-gap-2) !important;
}

.rt-gap-x-3 {
  column-gap: var(--rt-gap-3) !important;
}

.rt-gap-x-4 {
  column-gap: var(--rt-gap-4) !important;
}

.rt-gap-y-1 {
  row-gap: var(--rt-gap-1) !important;
}

.rt-gap-y-2 {
  row-gap: var(--rt-gap-2) !important;
}

.rt-gap-y-3 {
  row-gap: var(--rt-gap-3) !important;
}

.rt-gap-y-4 {
  row-gap: var(--rt-gap-4) !important;
}

.rt-grid-auto-fit {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.rt-grid-auto-fill {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

.rt-w-full {
  width: 100% !important;
}

.rt-h-full {
  height: 100% !important;
}

.rt-text-left {
  text-align: left !important;
}

.rt-text-center {
  text-align: center !important;
}

.rt-text-right {
  text-align: right !important;
}

.rt-text-primary {
  color: var(--rt-primary) !important;
}

.rt-text-secondary {
  color: var(--rt-primary-2) !important;
}

.rt-text-accent {
  color: var(--rt-accent) !important;
}

.rt-text-success {
  color: var(--rt-success) !important;
}

.rt-text-warning {
  color: var(--rt-warning) !important;
}

.rt-text-danger {
  color: var(--rt-danger) !important;
}

.rt-text-purple {
  color: var(--rt-purple) !important;
}

.rt-text-muted {
  color: var(--rt-muted) !important;
}

.rt-text-body {
  color: var(--rt-text) !important;
}

.rt-text-white {
  color: var(--rt-white) !important;
}

.rt-surface {
  background: var(--rt-surface) !important;
  border: 1px solid var(--rt-border) !important;
}

.rt-surface-muted {
  background: var(--rt-surface-muted) !important;
  border: 1px solid var(--rt-border) !important;
}

.rt-shadow-sm {
  box-shadow: var(--rt-shadow-sm) !important;
}

.rt-shadow {
  box-shadow: var(--rt-shadow) !important;
}

.rt-divider {
  width: 100%;
  height: 1px;
  background: var(--rt-border);
}

.rt-anishow {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, opacity 0.24s ease !important;
}

.rt-anishow:hover,
.rt-anishow:focus-visible {
  border-color: rgba(var(--rt-primary-rgb), 0.4) !important;
  box-shadow: 0 0 0 4px rgba(var(--rt-primary-rgb), 0.14) !important;
}

.rt-anishow:hover {
  transform: translateY(-1px);
}

.rt-anishow:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rt-anishow {
    transition: none !important;
    transform: none !important;
  }
}
.rt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rt-container,
.rt-container-fluid,
[class*=rt-container-] {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--rt-container-padding-x);
  padding-left: var(--rt-container-padding-x);
}

.rt-container-fluid {
  max-width: none;
}

@media (min-width: 576px) {
  .rt-container,
  .rt-container-sm {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .rt-container,
  .rt-container-md {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .rt-container,
  .rt-container-lg {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .rt-container,
  .rt-container-xl {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .rt-container,
  .rt-container-xxl {
    max-width: 1320px;
  }
}
.rt-row {
  --rt-grid-gutter-x: 1.5rem;
  --rt-grid-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--rt-grid-gutter-y) * -1);
  margin-right: calc(var(--rt-grid-gutter-x) * -0.5);
  margin-left: calc(var(--rt-grid-gutter-x) * -0.5);
}

.rt-row > * {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding-right: calc(var(--rt-grid-gutter-x) * 0.5);
  padding-left: calc(var(--rt-grid-gutter-x) * 0.5);
  margin-top: var(--rt-grid-gutter-y);
  min-width: 0;
}

.rt-col {
  flex: 1 0 0%;
  width: 0;
}

.rt-col-auto {
  flex: 0 0 auto;
  width: auto;
}

.rt-col-1 {
  flex: 0 0 auto;
  width: 8.3333333333%;
}

.rt-offset-1 {
  margin-left: 8.3333333333%;
}

.rt-col-2 {
  flex: 0 0 auto;
  width: 16.6666666667%;
}

.rt-offset-2 {
  margin-left: 16.6666666667%;
}

.rt-col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.rt-offset-3 {
  margin-left: 25%;
}

.rt-col-4 {
  flex: 0 0 auto;
  width: 33.3333333333%;
}

.rt-offset-4 {
  margin-left: 33.3333333333%;
}

.rt-col-5 {
  flex: 0 0 auto;
  width: 41.6666666667%;
}

.rt-offset-5 {
  margin-left: 41.6666666667%;
}

.rt-col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.rt-offset-6 {
  margin-left: 50%;
}

.rt-col-7 {
  flex: 0 0 auto;
  width: 58.3333333333%;
}

.rt-offset-7 {
  margin-left: 58.3333333333%;
}

.rt-col-8 {
  flex: 0 0 auto;
  width: 66.6666666667%;
}

.rt-offset-8 {
  margin-left: 66.6666666667%;
}

.rt-col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.rt-offset-9 {
  margin-left: 75%;
}

.rt-col-10 {
  flex: 0 0 auto;
  width: 83.3333333333%;
}

.rt-offset-10 {
  margin-left: 83.3333333333%;
}

.rt-col-11 {
  flex: 0 0 auto;
  width: 91.6666666667%;
}

.rt-offset-11 {
  margin-left: 91.6666666667%;
}

.rt-col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.rt-offset-12 {
  margin-left: 100%;
}

.rt-row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.rt-row-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.rt-row-cols-3 > * {
  flex: 0 0 auto;
  width: 33.3333333333%;
}

.rt-row-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}

.rt-row-cols-5 > * {
  flex: 0 0 auto;
  width: 20%;
}

.rt-row-cols-6 > * {
  flex: 0 0 auto;
  width: 16.6666666667%;
}

.rt-row-cols-auto > * {
  flex: 0 0 auto;
  width: auto;
}

@media (min-width: 576px) {
  .rt-col-sm {
    flex: 1 0 0%;
    width: 0;
  }
  .rt-col-sm-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .rt-col-sm-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
  }
  .rt-offset-sm-1 {
    margin-left: 8.3333333333%;
  }
  .rt-col-sm-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-offset-sm-2 {
    margin-left: 16.6666666667%;
  }
  .rt-col-sm-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-offset-sm-3 {
    margin-left: 25%;
  }
  .rt-col-sm-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-offset-sm-4 {
    margin-left: 33.3333333333%;
  }
  .rt-col-sm-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
  }
  .rt-offset-sm-5 {
    margin-left: 41.6666666667%;
  }
  .rt-col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-offset-sm-6 {
    margin-left: 50%;
  }
  .rt-col-sm-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
  }
  .rt-offset-sm-7 {
    margin-left: 58.3333333333%;
  }
  .rt-col-sm-8 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
  .rt-offset-sm-8 {
    margin-left: 66.6666666667%;
  }
  .rt-col-sm-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .rt-offset-sm-9 {
    margin-left: 75%;
  }
  .rt-col-sm-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
  }
  .rt-offset-sm-10 {
    margin-left: 83.3333333333%;
  }
  .rt-col-sm-11 {
    flex: 0 0 auto;
    width: 91.6666666667%;
  }
  .rt-offset-sm-11 {
    margin-left: 91.6666666667%;
  }
  .rt-col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-offset-sm-12 {
    margin-left: 100%;
  }
  .rt-row-cols-sm-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-row-cols-sm-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-row-cols-sm-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-row-cols-sm-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-row-cols-sm-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .rt-row-cols-sm-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-row-cols-sm-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
}
@media (min-width: 768px) {
  .rt-col-md {
    flex: 1 0 0%;
    width: 0;
  }
  .rt-col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .rt-col-md-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
  }
  .rt-offset-md-1 {
    margin-left: 8.3333333333%;
  }
  .rt-col-md-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-offset-md-2 {
    margin-left: 16.6666666667%;
  }
  .rt-col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-offset-md-3 {
    margin-left: 25%;
  }
  .rt-col-md-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-offset-md-4 {
    margin-left: 33.3333333333%;
  }
  .rt-col-md-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
  }
  .rt-offset-md-5 {
    margin-left: 41.6666666667%;
  }
  .rt-col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-offset-md-6 {
    margin-left: 50%;
  }
  .rt-col-md-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
  }
  .rt-offset-md-7 {
    margin-left: 58.3333333333%;
  }
  .rt-col-md-8 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
  .rt-offset-md-8 {
    margin-left: 66.6666666667%;
  }
  .rt-col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .rt-offset-md-9 {
    margin-left: 75%;
  }
  .rt-col-md-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
  }
  .rt-offset-md-10 {
    margin-left: 83.3333333333%;
  }
  .rt-col-md-11 {
    flex: 0 0 auto;
    width: 91.6666666667%;
  }
  .rt-offset-md-11 {
    margin-left: 91.6666666667%;
  }
  .rt-col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-offset-md-12 {
    margin-left: 100%;
  }
  .rt-row-cols-md-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-row-cols-md-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-row-cols-md-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .rt-row-cols-md-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-row-cols-md-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
}
@media (min-width: 992px) {
  .rt-col-lg {
    flex: 1 0 0%;
    width: 0;
  }
  .rt-col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .rt-col-lg-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
  }
  .rt-offset-lg-1 {
    margin-left: 8.3333333333%;
  }
  .rt-col-lg-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-offset-lg-2 {
    margin-left: 16.6666666667%;
  }
  .rt-col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-offset-lg-3 {
    margin-left: 25%;
  }
  .rt-col-lg-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-offset-lg-4 {
    margin-left: 33.3333333333%;
  }
  .rt-col-lg-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
  }
  .rt-offset-lg-5 {
    margin-left: 41.6666666667%;
  }
  .rt-col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-offset-lg-6 {
    margin-left: 50%;
  }
  .rt-col-lg-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
  }
  .rt-offset-lg-7 {
    margin-left: 58.3333333333%;
  }
  .rt-col-lg-8 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
  .rt-offset-lg-8 {
    margin-left: 66.6666666667%;
  }
  .rt-col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .rt-offset-lg-9 {
    margin-left: 75%;
  }
  .rt-col-lg-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
  }
  .rt-offset-lg-10 {
    margin-left: 83.3333333333%;
  }
  .rt-col-lg-11 {
    flex: 0 0 auto;
    width: 91.6666666667%;
  }
  .rt-offset-lg-11 {
    margin-left: 91.6666666667%;
  }
  .rt-col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-offset-lg-12 {
    margin-left: 100%;
  }
  .rt-row-cols-lg-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-row-cols-lg-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-row-cols-lg-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .rt-row-cols-lg-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-row-cols-lg-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
}
@media (min-width: 1200px) {
  .rt-col-xl {
    flex: 1 0 0%;
    width: 0;
  }
  .rt-col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .rt-col-xl-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
  }
  .rt-offset-xl-1 {
    margin-left: 8.3333333333%;
  }
  .rt-col-xl-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-offset-xl-2 {
    margin-left: 16.6666666667%;
  }
  .rt-col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-offset-xl-3 {
    margin-left: 25%;
  }
  .rt-col-xl-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-offset-xl-4 {
    margin-left: 33.3333333333%;
  }
  .rt-col-xl-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
  }
  .rt-offset-xl-5 {
    margin-left: 41.6666666667%;
  }
  .rt-col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-offset-xl-6 {
    margin-left: 50%;
  }
  .rt-col-xl-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
  }
  .rt-offset-xl-7 {
    margin-left: 58.3333333333%;
  }
  .rt-col-xl-8 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
  .rt-offset-xl-8 {
    margin-left: 66.6666666667%;
  }
  .rt-col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .rt-offset-xl-9 {
    margin-left: 75%;
  }
  .rt-col-xl-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
  }
  .rt-offset-xl-10 {
    margin-left: 83.3333333333%;
  }
  .rt-col-xl-11 {
    flex: 0 0 auto;
    width: 91.6666666667%;
  }
  .rt-offset-xl-11 {
    margin-left: 91.6666666667%;
  }
  .rt-col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-offset-xl-12 {
    margin-left: 100%;
  }
  .rt-row-cols-xl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-row-cols-xl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-row-cols-xl-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-row-cols-xl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-row-cols-xl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .rt-row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-row-cols-xl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
}
@media (min-width: 1400px) {
  .rt-col-xxl {
    flex: 1 0 0%;
    width: 0;
  }
  .rt-col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .rt-col-xxl-1 {
    flex: 0 0 auto;
    width: 8.3333333333%;
  }
  .rt-offset-xxl-1 {
    margin-left: 8.3333333333%;
  }
  .rt-col-xxl-2 {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-offset-xxl-2 {
    margin-left: 16.6666666667%;
  }
  .rt-col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-offset-xxl-3 {
    margin-left: 25%;
  }
  .rt-col-xxl-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-offset-xxl-4 {
    margin-left: 33.3333333333%;
  }
  .rt-col-xxl-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
  }
  .rt-offset-xxl-5 {
    margin-left: 41.6666666667%;
  }
  .rt-col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-offset-xxl-6 {
    margin-left: 50%;
  }
  .rt-col-xxl-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
  }
  .rt-offset-xxl-7 {
    margin-left: 58.3333333333%;
  }
  .rt-col-xxl-8 {
    flex: 0 0 auto;
    width: 66.6666666667%;
  }
  .rt-offset-xxl-8 {
    margin-left: 66.6666666667%;
  }
  .rt-col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .rt-offset-xxl-9 {
    margin-left: 75%;
  }
  .rt-col-xxl-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
  }
  .rt-offset-xxl-10 {
    margin-left: 83.3333333333%;
  }
  .rt-col-xxl-11 {
    flex: 0 0 auto;
    width: 91.6666666667%;
  }
  .rt-offset-xxl-11 {
    margin-left: 91.6666666667%;
  }
  .rt-col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-offset-xxl-12 {
    margin-left: 100%;
  }
  .rt-row-cols-xxl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .rt-row-cols-xxl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .rt-row-cols-xxl-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .rt-row-cols-xxl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .rt-row-cols-xxl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .rt-row-cols-xxl-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .rt-row-cols-xxl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
}
.rt-g-0 {
  --rt-grid-gutter-x: 0;
  --rt-grid-gutter-y: 0;
}

.rt-gx-0 {
  --rt-grid-gutter-x: 0;
}

.rt-gy-0 {
  --rt-grid-gutter-y: 0;
}

.rt-g-1 {
  --rt-grid-gutter-x: 0.25rem;
  --rt-grid-gutter-y: 0.25rem;
}

.rt-gx-1 {
  --rt-grid-gutter-x: 0.25rem;
}

.rt-gy-1 {
  --rt-grid-gutter-y: 0.25rem;
}

.rt-g-2 {
  --rt-grid-gutter-x: 0.5rem;
  --rt-grid-gutter-y: 0.5rem;
}

.rt-gx-2 {
  --rt-grid-gutter-x: 0.5rem;
}

.rt-gy-2 {
  --rt-grid-gutter-y: 0.5rem;
}

.rt-g-3 {
  --rt-grid-gutter-x: 1rem;
  --rt-grid-gutter-y: 1rem;
}

.rt-gx-3 {
  --rt-grid-gutter-x: 1rem;
}

.rt-gy-3 {
  --rt-grid-gutter-y: 1rem;
}

.rt-g-4 {
  --rt-grid-gutter-x: 1.5rem;
  --rt-grid-gutter-y: 1.5rem;
}

.rt-gx-4 {
  --rt-grid-gutter-x: 1.5rem;
}

.rt-gy-4 {
  --rt-grid-gutter-y: 1.5rem;
}

.rt-g-5 {
  --rt-grid-gutter-x: 3rem;
  --rt-grid-gutter-y: 3rem;
}

.rt-gx-5 {
  --rt-grid-gutter-x: 3rem;
}

.rt-gy-5 {
  --rt-grid-gutter-y: 3rem;
}

@media (min-width: 576px) {
  .rt-g-sm-0 {
    --rt-grid-gutter-x: 0;
    --rt-grid-gutter-y: 0;
  }
  .rt-gx-sm-0 {
    --rt-grid-gutter-x: 0;
  }
  .rt-gy-sm-0 {
    --rt-grid-gutter-y: 0;
  }
  .rt-g-sm-1 {
    --rt-grid-gutter-x: 0.25rem;
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-gx-sm-1 {
    --rt-grid-gutter-x: 0.25rem;
  }
  .rt-gy-sm-1 {
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-g-sm-2 {
    --rt-grid-gutter-x: 0.5rem;
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-gx-sm-2 {
    --rt-grid-gutter-x: 0.5rem;
  }
  .rt-gy-sm-2 {
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-g-sm-3 {
    --rt-grid-gutter-x: 1rem;
    --rt-grid-gutter-y: 1rem;
  }
  .rt-gx-sm-3 {
    --rt-grid-gutter-x: 1rem;
  }
  .rt-gy-sm-3 {
    --rt-grid-gutter-y: 1rem;
  }
  .rt-g-sm-4 {
    --rt-grid-gutter-x: 1.5rem;
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-gx-sm-4 {
    --rt-grid-gutter-x: 1.5rem;
  }
  .rt-gy-sm-4 {
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-g-sm-5 {
    --rt-grid-gutter-x: 3rem;
    --rt-grid-gutter-y: 3rem;
  }
  .rt-gx-sm-5 {
    --rt-grid-gutter-x: 3rem;
  }
  .rt-gy-sm-5 {
    --rt-grid-gutter-y: 3rem;
  }
}
@media (min-width: 768px) {
  .rt-g-md-0 {
    --rt-grid-gutter-x: 0;
    --rt-grid-gutter-y: 0;
  }
  .rt-gx-md-0 {
    --rt-grid-gutter-x: 0;
  }
  .rt-gy-md-0 {
    --rt-grid-gutter-y: 0;
  }
  .rt-g-md-1 {
    --rt-grid-gutter-x: 0.25rem;
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-gx-md-1 {
    --rt-grid-gutter-x: 0.25rem;
  }
  .rt-gy-md-1 {
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-g-md-2 {
    --rt-grid-gutter-x: 0.5rem;
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-gx-md-2 {
    --rt-grid-gutter-x: 0.5rem;
  }
  .rt-gy-md-2 {
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-g-md-3 {
    --rt-grid-gutter-x: 1rem;
    --rt-grid-gutter-y: 1rem;
  }
  .rt-gx-md-3 {
    --rt-grid-gutter-x: 1rem;
  }
  .rt-gy-md-3 {
    --rt-grid-gutter-y: 1rem;
  }
  .rt-g-md-4 {
    --rt-grid-gutter-x: 1.5rem;
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-gx-md-4 {
    --rt-grid-gutter-x: 1.5rem;
  }
  .rt-gy-md-4 {
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-g-md-5 {
    --rt-grid-gutter-x: 3rem;
    --rt-grid-gutter-y: 3rem;
  }
  .rt-gx-md-5 {
    --rt-grid-gutter-x: 3rem;
  }
  .rt-gy-md-5 {
    --rt-grid-gutter-y: 3rem;
  }
}
@media (min-width: 992px) {
  .rt-g-lg-0 {
    --rt-grid-gutter-x: 0;
    --rt-grid-gutter-y: 0;
  }
  .rt-gx-lg-0 {
    --rt-grid-gutter-x: 0;
  }
  .rt-gy-lg-0 {
    --rt-grid-gutter-y: 0;
  }
  .rt-g-lg-1 {
    --rt-grid-gutter-x: 0.25rem;
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-gx-lg-1 {
    --rt-grid-gutter-x: 0.25rem;
  }
  .rt-gy-lg-1 {
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-g-lg-2 {
    --rt-grid-gutter-x: 0.5rem;
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-gx-lg-2 {
    --rt-grid-gutter-x: 0.5rem;
  }
  .rt-gy-lg-2 {
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-g-lg-3 {
    --rt-grid-gutter-x: 1rem;
    --rt-grid-gutter-y: 1rem;
  }
  .rt-gx-lg-3 {
    --rt-grid-gutter-x: 1rem;
  }
  .rt-gy-lg-3 {
    --rt-grid-gutter-y: 1rem;
  }
  .rt-g-lg-4 {
    --rt-grid-gutter-x: 1.5rem;
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-gx-lg-4 {
    --rt-grid-gutter-x: 1.5rem;
  }
  .rt-gy-lg-4 {
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-g-lg-5 {
    --rt-grid-gutter-x: 3rem;
    --rt-grid-gutter-y: 3rem;
  }
  .rt-gx-lg-5 {
    --rt-grid-gutter-x: 3rem;
  }
  .rt-gy-lg-5 {
    --rt-grid-gutter-y: 3rem;
  }
}
@media (min-width: 1200px) {
  .rt-g-xl-0 {
    --rt-grid-gutter-x: 0;
    --rt-grid-gutter-y: 0;
  }
  .rt-gx-xl-0 {
    --rt-grid-gutter-x: 0;
  }
  .rt-gy-xl-0 {
    --rt-grid-gutter-y: 0;
  }
  .rt-g-xl-1 {
    --rt-grid-gutter-x: 0.25rem;
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-gx-xl-1 {
    --rt-grid-gutter-x: 0.25rem;
  }
  .rt-gy-xl-1 {
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-g-xl-2 {
    --rt-grid-gutter-x: 0.5rem;
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-gx-xl-2 {
    --rt-grid-gutter-x: 0.5rem;
  }
  .rt-gy-xl-2 {
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-g-xl-3 {
    --rt-grid-gutter-x: 1rem;
    --rt-grid-gutter-y: 1rem;
  }
  .rt-gx-xl-3 {
    --rt-grid-gutter-x: 1rem;
  }
  .rt-gy-xl-3 {
    --rt-grid-gutter-y: 1rem;
  }
  .rt-g-xl-4 {
    --rt-grid-gutter-x: 1.5rem;
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-gx-xl-4 {
    --rt-grid-gutter-x: 1.5rem;
  }
  .rt-gy-xl-4 {
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-g-xl-5 {
    --rt-grid-gutter-x: 3rem;
    --rt-grid-gutter-y: 3rem;
  }
  .rt-gx-xl-5 {
    --rt-grid-gutter-x: 3rem;
  }
  .rt-gy-xl-5 {
    --rt-grid-gutter-y: 3rem;
  }
}
@media (min-width: 1400px) {
  .rt-g-xxl-0 {
    --rt-grid-gutter-x: 0;
    --rt-grid-gutter-y: 0;
  }
  .rt-gx-xxl-0 {
    --rt-grid-gutter-x: 0;
  }
  .rt-gy-xxl-0 {
    --rt-grid-gutter-y: 0;
  }
  .rt-g-xxl-1 {
    --rt-grid-gutter-x: 0.25rem;
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-gx-xxl-1 {
    --rt-grid-gutter-x: 0.25rem;
  }
  .rt-gy-xxl-1 {
    --rt-grid-gutter-y: 0.25rem;
  }
  .rt-g-xxl-2 {
    --rt-grid-gutter-x: 0.5rem;
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-gx-xxl-2 {
    --rt-grid-gutter-x: 0.5rem;
  }
  .rt-gy-xxl-2 {
    --rt-grid-gutter-y: 0.5rem;
  }
  .rt-g-xxl-3 {
    --rt-grid-gutter-x: 1rem;
    --rt-grid-gutter-y: 1rem;
  }
  .rt-gx-xxl-3 {
    --rt-grid-gutter-x: 1rem;
  }
  .rt-gy-xxl-3 {
    --rt-grid-gutter-y: 1rem;
  }
  .rt-g-xxl-4 {
    --rt-grid-gutter-x: 1.5rem;
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-gx-xxl-4 {
    --rt-grid-gutter-x: 1.5rem;
  }
  .rt-gy-xxl-4 {
    --rt-grid-gutter-y: 1.5rem;
  }
  .rt-g-xxl-5 {
    --rt-grid-gutter-x: 3rem;
    --rt-grid-gutter-y: 3rem;
  }
  .rt-gx-xxl-5 {
    --rt-grid-gutter-x: 3rem;
  }
  .rt-gy-xxl-5 {
    --rt-grid-gutter-y: 3rem;
  }
}
.rt-admin {
  display: grid;
  grid-template-columns: var(--admin-sidebar-w) 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.28s ease;
}

.rt-admin.is-collapsed {
  grid-template-columns: 88px 1fr;
}

/* ============================================
           SIDEBAR
        ============================================ */
.rt-sbr {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--admin-sidebar-w);
  padding: 22px 14px;
  border-right: 1px solid var(--rt-border);
  background: var(--rt-surface);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.28s ease, width 0.28s ease, padding 0.28s ease;
}

.rt-admin.is-collapsed .rt-sbr {
  width: 88px;
  padding-left: 10px;
  padding-right: 10px;
}

.rt-sbr-toggle {
  position: absolute;
  top: 58px;
  right: -20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-purple));
  color: var(--rt-white);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, opacity 0.22s ease, right 0.28s ease;
}

.rt-sbr-toggle:hover {
  transform: translateY(-1px);
}

.rt-sbr-toggle .rt {
  width: 18px;
  height: 18px;
}

.rt-admin.is-collapsed .rt-sbr-toggle {
  right: -20px;
}

.rt-admin.is-collapsed .rt-sbr-toggle .rt {
  transform: rotate(180deg);
}

.rt-sbr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.05em;
  font-size: 1.08rem;
  padding: 8px 10px 20px;
  border-bottom: 1px solid var(--rt-border);
  margin-bottom: 14px;
  min-height: 58px;
}

.rt-sbr-brand-text {
  display: inline-block;
  white-space: nowrap;
}

.rt-sbr-brand .rt-brand-dot,
.rt-brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
}

.rt-sbr-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rt-muted);
  padding: 14px 12px 6px;
}

.rt-sbr-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--rt-primary-rgb), 0.35) transparent;
}

.rt-sbr-nav::-webkit-scrollbar {
  width: 10px;
}

.rt-sbr-nav::-webkit-scrollbar-track {
  background: transparent;
}

.rt-sbr-nav::-webkit-scrollbar-thumb {
  background: rgba(var(--rt-primary-rgb), 0.35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.rt-sbr-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--rt-primary-rgb), 0.5);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.rt-sbr-nav::-webkit-scrollbar-button,
.rt-sbr-nav::-webkit-scrollbar-corner {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.rt-sbr-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 0;
  color: var(--rt-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
}

.rt-sbr-link-text,
.rt-nav-dropdown-text,
.rt-nav-dropdown-item-text {
  min-width: 0;
  white-space: nowrap;
}

.rt-sbr-link:hover {
  color: var(--rt-text);
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-sbr-link.is-active {
  color: var(--rt-primary);
  background: rgba(var(--rt-primary-rgb), 0.1);
  border-color: rgba(var(--rt-primary-rgb), 0.18);
}

.rt-sbr-link svg,
.rt-sbr-link .rt {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.rt-sbr-badge {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  background: var(--rt-primary);
  color: var(--rt-white);
  font-size: 0.68rem;
  font-weight: 900;
}

.rt-sbr-footer {
  padding-top: 14px;
  border-top: 1px solid var(--rt-border);
  margin-top: 10px;
}

.rt-sbr-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  transition: background 0.2s ease;
  cursor: pointer;
}

.rt-sbr-user:hover {
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-sbr-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
  display: grid;
  place-items: center;
  color: var(--rt-white);
  font-weight: 900;
  font-size: 0.82rem;
  flex: 0 0 auto;
}

.rt-sbr-avatar.rt-avatar-secondary,
.rt-avatar-secondary {
  background: linear-gradient(135deg, var(--rt-muted), var(--rt-border));
}

.rt-sbr-avatar.rt-avatar-accent,
.rt-avatar-accent {
  background: linear-gradient(135deg, var(--rt-accent), var(--rt-warning));
}

.rt-sbr-avatar.rt-avatar-danger,
.rt-avatar-danger {
  background: linear-gradient(135deg, var(--rt-danger), var(--rt-accent));
}

.rt-sbr-user-info {
  flex: 1;
  min-width: 0;
}

.rt-sbr-user-name {
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-sbr-user-role {
  font-size: 0.72rem;
  color: var(--rt-muted);
  font-weight: 600;
}

/* ============================================
           SIDEBAR DROPDOWN (rt-nav-dropdown)
        ============================================ */
.rt-nav-dropdown {
  display: flex;
  flex-direction: column;
}

.rt-nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 0;
  color: var(--rt-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
}

.rt-nav-dropdown-toggle:hover {
  color: var(--rt-text);
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-nav-dropdown-toggle svg,
.rt-nav-dropdown-toggle .rt {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.rt-nav-dropdown-toggle .rt-nav-dropdown-chevron {
  margin-left: auto;
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.rt-nav-dropdown.is-open .rt-nav-dropdown-toggle,
.rt-nav-dropdown.show .rt-nav-dropdown-toggle {
  color: var(--rt-primary);
  background: rgba(var(--rt-primary-rgb), 0.08);
}

.rt-nav-dropdown.is-open .rt-nav-dropdown-chevron,
.rt-nav-dropdown.show .rt-nav-dropdown-chevron {
  transform: rotate(180deg);
}

.rt-nav-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 18px;
}

.rt-nav-dropdown.is-open .rt-nav-dropdown-menu,
.rt-nav-dropdown.show .rt-nav-dropdown-menu {
  max-height: 500px;
}

.rt-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--rt-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
  position: relative;
}

.rt-nav-dropdown-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: var(--rt-border);
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.rt-nav-dropdown-item:hover {
  color: var(--rt-text);
  background: rgba(var(--rt-primary-rgb), 0.05);
}

.rt-nav-dropdown-item:hover::before,
.rt-nav-dropdown-item.is-active::before {
  background: var(--rt-primary);
}

.rt-nav-dropdown-item.is-active {
  color: var(--rt-primary);
  font-weight: 800;
}

.rt-nav-dropdown-item svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.rt-admin.is-collapsed .rt-sbr-brand {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.rt-admin.is-collapsed .rt-sbr-brand-text,
.rt-admin.is-collapsed .rt-sbr-label,
.rt-admin.is-collapsed .rt-sbr-link-text,
.rt-admin.is-collapsed .rt-nav-dropdown-text,
.rt-admin.is-collapsed .rt-nav-dropdown-item-text,
.rt-admin.is-collapsed .rt-sbr-user-info,
.rt-admin.is-collapsed .rt-sbr-badge,
.rt-admin.is-collapsed .rt-nav-dropdown-chevron,
.rt-admin.is-collapsed .rt-sbr-footer {
  display: none;
}

.rt-admin.is-collapsed .rt-sbr-link,
.rt-admin.is-collapsed .rt-nav-dropdown-toggle {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.rt-admin.is-collapsed .rt-nav-dropdown-menu {
  display: none;
}

/* ============================================
           MAIN
        ============================================ */
.rt-main {
  grid-column: 2;
  padding: 0 var(--rt-page-gutter) 40px;
  min-width: 0;
}

/* ============================================
           TOPBAR
        ============================================ */
.rt-topbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  padding: 12px 0 22px;
}

.rt-topbar-menu-tbl {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.88));
  color: var(--rt-text);
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--rt-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rt-topbar-menu-tbl:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--rt-primary-rgb), 0.24);
  color: var(--rt-primary);
}

.rt-topbar-menu-tbl .rt {
  width: 18px;
  height: 18px;
}

.rt-topbar-title {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 1.65rem;
  margin: 8px 0 0.18em;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--rt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}

.rt-topbar-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 320px;
  max-width: 100%;
  gap: 0;
  min-height: 42px;
  justify-content: center;
}

.rt-topbar-breadcrumb {
  display: block;
  max-width: 100%;
  color: var(--rt-muted);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.rt-topbar-search {
  flex: 0 1 420px;
  max-width: 420px;
  position: relative;
  min-width: 220px;
  margin-left: auto;
}

.rt-topbar-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  color: var(--rt-text);
  outline: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.2s ease;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 0;
}

.rt-topbar-search input:focus {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-topbar-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--rt-muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0.95;
  pointer-events: none;
}

.rt-topbar-search .rt {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--rt-muted);
  fill: currentColor;
  stroke: none;
  pointer-events: none;
  z-index: 1;
}

html[data-theme=dark] .rt-topbar-search .rt {
  color: var(--rt-dark-muted);
}

html[data-theme=dark] .rt-topbar-search svg {
  color: var(--rt-dark-muted);
  stroke: currentColor;
  fill: none;
}

.rt-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.rt-topbar-icon-tbl {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  color: var(--rt-text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.rt-topbar-icon-tbl:hover {
  transform: translateY(-1px);
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-topbar-icon-tbl svg,
.rt-topbar-icon-tbl .rt {
  width: 18px;
  height: 18px;
}

.rt-topbar-icon-tbl .rt {
  width: 18px;
  height: 18px;
  z-index: 1;
}

.rt-topbar-icon-tbl .rt-topbar-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--rt-accent);
  border: 2px solid var(--rt-surface-solid);
}

/* ============================================
           STAT CARDS
        ============================================ */
.rt-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.rt-stat {
  padding: 20px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.22s ease;
  position: relative;
  overflow: hidden;
}

.rt-stat:hover {
  transform: translateY(-2px);
}

.rt-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rt-stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rt-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rt-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--rt-white);
}

.rt-stat-icon svg,
.rt-stat-icon .rt {
  width: 18px;
  height: 18px;
}

.rt-stat-icon--primary {
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
}

.rt-stat-icon--accent {
  background: linear-gradient(135deg, var(--rt-accent), var(--rt-warning));
}

.rt-stat-icon--success {
  background: linear-gradient(135deg, var(--rt-success), #22d3ee);
}

.rt-stat-icon--purple {
  background: linear-gradient(135deg, var(--rt-purple), var(--rt-primary));
}

.rt-stat-value {
  font-size: 1.8rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.rt-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}

.rt-stat-trend--up {
  color: var(--rt-success);
}

.rt-stat-trend--down {
  color: var(--rt-danger);
}

.rt-stat-trend svg,
.rt-stat-trend .rt {
  width: 14px;
  height: 14px;
}

.rt-stat-sub {
  color: var(--rt-muted);
  font-size: 0.76rem;
  font-weight: 600;
  margin-left: 4px;
}

/* ============================================
           GRID LAYOUT
        ============================================ */
.rt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

/* ============================================
           PANEL
        ============================================ */
.rt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  min-width: 0;
}

.rt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rt-border);
}

.rt-card-header > :first-child {
  flex: 1 1 220px;
  min-width: 0;
}

.rt-card-header > .rt-btn,
.rt-card-header > .rt-card-actions {
  flex: 0 0 auto;
  max-width: 100%;
}

.rt-card-title {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.rt-card-subtitle {
  font-size: 0.78rem;
  color: var(--rt-muted);
  font-weight: 600;
  margin-top: 2px;
}

.rt-card-actions {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.rt-card-body {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  padding: 18px 20px;
}

.rt-card-body-flush {
  padding: 0;
}

.rt-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, opacity 0.24s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

button[type=submit] {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, opacity 0.24s ease;
}

.rt-btn-block {
  width: 100%;
}

.rt-btn svg,
.rt-btn .rt {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.rt-btn:hover,
button[type=submit]:hover {
  transform: translateY(-1px);
}

.rt-btn:active,
button[type=submit]:active {
  transform: translateY(0);
}

.rt-btn:focus-visible,
button[type=submit]:focus-visible {
  outline: none;
  border-color: rgba(var(--rt-primary-rgb), 0.4);
  box-shadow: 0 0 0 4px rgba(var(--rt-primary-rgb), 0.14);
}

.rt-btn:disabled,
button[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.rt-btn.is-loading,
button.is-loading {
  cursor: wait;
}

.rt-btn.is-loading .rt-spinner,
button.is-loading .rt-spinner {
  display: inline-block;
}

.rt-btn-primary {
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
  color: var(--rt-white);
}

.rt-btn-secondary {
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  border-color: var(--rt-border);
}

.rt-btn-secondary:hover {
  border-color: rgba(var(--rt-primary-rgb), 0.3);
  color: var(--rt-primary);
}

.rt-btn-success {
  background: linear-gradient(135deg, var(--rt-success), #22d3ee);
  color: var(--rt-white);
}

.rt-btn-warning {
  background: linear-gradient(135deg, var(--rt-warning), #fbbf24);
  color: var(--rt-white);
}

.rt-btn-danger {
  background: linear-gradient(135deg, var(--rt-danger), var(--rt-accent));
  color: var(--rt-white);
}

.rt-btn-accent {
  background: linear-gradient(135deg, var(--rt-accent), var(--rt-warning));
  color: var(--rt-white);
}

.rt-btn-purple {
  background: linear-gradient(135deg, var(--rt-purple), var(--rt-primary));
  color: var(--rt-white);
}

.rt-btn-ghost {
  background: transparent;
  color: var(--rt-text);
  border-color: var(--rt-border);
}

.rt-btn-ghost:hover {
  background: rgba(var(--rt-primary-rgb), 0.08);
  color: var(--rt-primary);
  border-color: rgba(var(--rt-primary-rgb), 0.2);
}

.rt-btn-outline-primary,
.rt-btn-outline {
  background: transparent;
  color: var(--rt-primary);
  border-color: rgba(var(--rt-primary-rgb), 0.3);
}

.rt-btn-outline-primary:hover,
.rt-btn-outline:hover {
  background: rgba(var(--rt-primary-rgb), 0.08);
  border-color: var(--rt-primary);
}

.rt-btn-sm {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.76rem;
  border-radius: 0;
}

.rt-btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 0.92rem;
  border-radius: 0;
}

.rt-btn-icon {
  width: 40px;
  min-height: 40px;
  padding: 0;
}

.rt-btn-icon.rt-btn-sm {
  width: 32px;
  min-height: 32px;
}

.rt-btn-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rt-btn-group--nowrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.rt-btn-group--nowrap > .rt-btn {
  min-width: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.rt-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 10, 18, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rt-modal.is-open,
.rt-modal.show {
  display: flex;
}

.rt-modal.is-closing {
  display: flex;
}

@keyframes rtFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rtFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}
.rt-modal.is-open,
.rt-modal.show {
  animation: none;
}

.rt-modal.is-closing {
  animation: none;
}

@media (max-width: 640px) {
  .rt-modal.is-open,
  .rt-modal.show,
  .rt-modal.is-closing {
    margin: 0 -1px;
  }
}
.rt-modal-content,
.rt-modal-dialog {
  width: 100%;
  max-height: 85vh;
  border: 0;
  border-radius: 0;
  background: var(--rt-surface-solid);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}

.rt-modal.is-open .rt-modal-content,
.rt-modal.show .rt-modal-content {
  opacity: 1;
  transform: translateY(0);
}

.rt-modal.is-open .rt-modal-content,
.rt-modal.show .rt-modal-content {
  animation: rtFadeIn 0.22s ease both;
}

.rt-modal.is-closing .rt-modal-content {
  animation: rtFadeOut 0.18s ease both;
}

/* Size variants */
.rt-modal-sm .rt-modal-content {
  max-width: 420px;
}

.rt-modal-md .rt-modal-content {
  max-width: 600px;
}

.rt-modal-lg .rt-modal-content {
  max-width: 820px;
}

.rt-modal-xl .rt-modal-content {
  max-width: 1080px;
}

.rt-modal-fullscreen .rt-modal-content {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  border-radius: 0;
}

.rt-modal-fullscreen {
  padding: 0;
}

.rt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--rt-border);
  background: linear-gradient(135deg, rgba(var(--rt-primary-rgb), 0.08), rgba(0, 184, 255, 0.04));
}

.rt-modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.rt-modal-subtitle {
  margin: 6px 0 0;
  color: var(--rt-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.rt-modal-embed,
.rt-modal-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface-solid);
  min-height: 220px;
  aspect-ratio: 16/9;
}

.rt-modal-embed--map,
.rt-modal-embed--map {
  aspect-ratio: 4/3;
  min-height: 260px;
}

.rt-modal-embed--video,
.rt-modal-embed--video {
  min-height: 280px;
}

.rt-modal-iframe,
.rt-modal-embed iframe,
.rt-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rt-modal-close,
.rt-modal-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  color: var(--rt-text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: all 0.2s ease;
  position: relative;
}

.rt-modal-close::before,
.rt-modal-close::after,
.rt-modal-close::before,
.rt-modal-close::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
}

.rt-modal-close::before,
.rt-modal-close::before {
  transform: rotate(45deg);
}

.rt-modal-close::after,
.rt-modal-close::after {
  transform: rotate(-45deg);
}

.rt-modal-close:hover,
.rt-modal-close:hover {
  background: rgba(var(--rt-primary-rgb), 0.08);
  color: var(--rt-primary);
}

.rt-modal-close svg,
.rt-modal-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.rt-modal-body {
  padding: 20px 22px;
  overflow: auto;
  flex: 1;
}

.rt-modal-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--rt-border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body.rt-modal-open {
  overflow: hidden;
}

.rt-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rt-alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
}

.rt-alert-icon .rt {
  width: 1em;
  height: 1em;
}

.rt-alert-content {
  min-width: 0;
}

.rt-alert-title {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rt-alert-text {
  margin-top: 3px;
  color: var(--rt-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.rt-alert--primary .rt-alert-icon {
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
}

.rt-alert--success .rt-alert-icon {
  background: linear-gradient(135deg, var(--rt-success), #22d3ee);
}

.rt-alert--warning .rt-alert-icon {
  background: linear-gradient(135deg, var(--rt-warning), #fbbf24);
}

.rt-alert--danger .rt-alert-icon {
  background: linear-gradient(135deg, var(--rt-danger), var(--rt-accent));
}

.rt-alert--primary .rt-alert-icon .rt {
  color: #fff;
}

.rt-alert--success .rt-alert-icon .rt {
  color: #fff;
}

.rt-alert--warning .rt-alert-icon .rt {
  color: #fff;
}

.rt-alert--danger .rt-alert-icon .rt {
  color: #fff;
}

.rt-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12000;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: min(360px, 100vw - 40px);
  padding: 14px 16px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rt-toast--top-left {
  top: 20px;
  left: 20px;
  right: auto;
  bottom: auto;
}

.rt-toast--top-center {
  top: 20px;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -14px);
}

.rt-toast--top-right {
  top: 20px;
  right: 20px;
  bottom: auto;
}

.rt-toast--bottom-left {
  left: 20px;
  right: auto;
}

.rt-toast--bottom-center {
  left: 50%;
  right: auto;
  transform: translate(-50%, 14px);
}

.rt-toast--bottom-right {
  right: 20px;
}

.rt-toast.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rt-toast--top-left.is-open,
.rt-toast--top-right.is-open,
.rt-toast--bottom-left.is-open,
.rt-toast--bottom-right.is-open {
  transform: translateY(0);
}

.rt-toast--top-center.is-open,
.rt-toast--bottom-center.is-open {
  transform: translate(-50%, 0);
}

.rt-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
}

.rt-toast-icon .rt {
  width: 1em;
  height: 1em;
}

.rt-toast--success .rt-toast-icon {
  background: linear-gradient(135deg, var(--rt-success), #22d3ee);
}

.rt-toast--warning .rt-toast-icon {
  background: linear-gradient(135deg, var(--rt-warning), #fbbf24);
}

.rt-toast--danger .rt-toast-icon {
  background: linear-gradient(135deg, var(--rt-danger), var(--rt-accent));
}

.rt-toast-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rt-toast-title {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rt-toast-text {
  margin-top: 2px;
  color: var(--rt-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.rt-toast-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: transparent;
  color: var(--rt-muted);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.rt-toast-close:hover {
  color: var(--rt-text);
  background: rgba(var(--rt-primary-rgb), 0.08);
}

@media (max-width: 640px) {
  .rt-toast {
    left: 50%;
    right: auto;
    bottom: 16px;
    top: auto;
    transform: translate(-50%, 14px);
  }
  .rt-toast.is-open {
    transform: translate(-50%, 0);
  }
}
/* ============================================
           LOADING
        ============================================ */
.rt-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  box-sizing: border-box;
  border: 2px solid rgba(100, 116, 139, 0.28);
  border-top-color: currentColor;
  border-radius: 999px !important;
  animation: rtSpin 0.7s linear infinite;
  flex: 0 0 auto;
  font-size: 0;
  line-height: 0;
  background: transparent;
  transform-origin: center center;
  vertical-align: middle;
}

.rt-spinner.is-active {
  display: inline-block;
}

.rt-skeleton-page {
  width: 100%;
  animation: rtSkeletonFadeIn 0.2s ease-in-out;
}

.rt-skeleton-card,
.rt-skeleton-line,
.rt-skeleton-title,
.rt-skeleton-button,
.rt-skeleton-input,
.rt-skeleton-cell,
.rt-skeleton-avatar,
.rt-skeleton-chart {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: rgba(148, 163, 184, 0.18);
}

.rt-skeleton-card::after,
.rt-skeleton-line::after,
.rt-skeleton-title::after,
.rt-skeleton-button::after,
.rt-skeleton-input::after,
.rt-skeleton-cell::after,
.rt-skeleton-avatar::after,
.rt-skeleton-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: rtSkeletonShimmer 1.3s infinite;
}

.rt-skeleton-header,
.rt-skeleton-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rt-skeleton-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rt-skeleton-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rt-skeleton-grid[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rt-skeleton-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rt-skeleton-title {
  width: min(220px, 80%);
  height: 28px;
}

.rt-skeleton-line {
  height: 14px;
  margin-bottom: 0.75rem;
}

.rt-skeleton-button {
  width: 120px;
  height: 38px;
}

.rt-skeleton-input {
  width: 100%;
  height: 42px;
}

.rt-skeleton-card {
  min-height: 120px;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.rt-skeleton-table {
  display: grid;
  gap: 0.75rem;
}

.rt-skeleton-row {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.rt-skeleton-cell {
  height: 16px;
}

.rt-skeleton-avatar {
  width: 96px;
  height: 96px;
  border-radius: 0;
}

.rt-skeleton-chart {
  min-height: 260px;
}

.rt-skeleton-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@keyframes rtSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rtSkeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}
@keyframes rtSkeletonFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .rt-skeleton-grid,
  .rt-skeleton-grid[data-cols="2"],
  .rt-skeleton-grid[data-cols="3"],
  .rt-skeleton-grid[data-cols="4"] {
    grid-template-columns: 1fr;
  }
  .rt-skeleton-header,
  .rt-skeleton-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .rt-skeleton-row {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rt-skeleton-page,
  .rt-skeleton-card::after,
  .rt-skeleton-line::after,
  .rt-skeleton-title::after,
  .rt-skeleton-button::after,
  .rt-skeleton-input::after,
  .rt-skeleton-cell::after,
  .rt-skeleton-avatar::after,
  .rt-skeleton-chart::after,
  .rt-spinner {
    animation: none !important;
  }
}
.rt-dropdown {
  position: relative;
  display: inline-block;
}

.rt-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.rt-dropdown.is-open .rt-dropdown-menu,
.rt-dropdown.show .rt-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rt-dropdown-menu--left {
  right: auto;
  left: 0;
}

.rt-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 0;
  color: var(--rt-text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.rt-dropdown-item:hover {
  background: rgba(var(--rt-primary-rgb), 0.08);
  color: var(--rt-primary);
}

.rt-dropdown-item svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex: 0 0 auto;
  color: var(--rt-muted);
}

.rt-dropdown-item:hover svg {
  color: var(--rt-primary);
}

.rt-dropdown-item--danger:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--rt-danger);
}

.rt-dropdown-item--danger:hover svg {
  color: var(--rt-danger);
}

.rt-dropdown-divider {
  height: 1px;
  background: var(--rt-border);
  margin: 4px 0;
}

.rt-dropdown-label {
  padding: 8px 12px 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt-muted);
}

.rt-table-responsive {
  overflow-x: auto;
}

.rt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.rt-table th,
.rt-table td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rt-border);
  white-space: nowrap;
}

.rt-table th {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rt-muted);
  background: rgba(var(--rt-primary-rgb), 0.03);
}

.rt-table tr:last-child td {
  border-bottom: none;
}

.rt-table tbody tr:hover td {
  background: rgba(var(--rt-primary-rgb), 0.03);
}

.rt-table-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rt-table-avatar {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--rt-white);
  font-weight: 900;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.rt-table-name {
  font-weight: 800;
}

.rt-table-email {
  font-size: 0.76rem;
  color: var(--rt-muted);
}

.rt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 900;
}

.rt-badge--success {
  background: rgba(22, 163, 74, 0.12);
  color: var(--rt-success);
}

.rt-badge--warning {
  background: rgba(245, 158, 11, 0.12);
  color: var(--rt-warning);
}

.rt-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: var(--rt-danger);
}

.rt-badge--primary {
  background: rgba(var(--rt-primary-rgb), 0.12);
  color: var(--rt-primary);
}

.rt-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: currentColor;
}

/* Table toolbar: search + info */
.rt-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rt-border);
  flex-wrap: wrap;
}

.rt-table-search {
  display: block;
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 200px;
}

.rt-table-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  color: var(--rt-text);
  outline: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.rt-table-search input:focus {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-table-search .rt {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: rgba(102, 112, 133, 0.95);
  fill: currentColor;
  stroke: currentColor;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.rt-table-search .rt::before {
  color: currentColor;
}

.rt-table-search:focus-within .rt {
  color: var(--rt-primary);
}

html[data-theme=dark] .rt-table-search .rt {
  color: rgba(170, 179, 197, 0.95);
  fill: currentColor;
  stroke: currentColor;
  opacity: 1;
}

html[data-theme=dark] .rt-table-search .rt::before {
  color: currentColor;
}

html[data-theme=dark] .rt-table-search:focus-within .rt {
  color: var(--rt-primary-2);
}

.rt-table-filters {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

.rt-table-filter {
  min-width: 168px;
  min-height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background-color: var(--rt-surface-solid);
  color: var(--rt-text);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.rt-table-filter:focus {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-table-info {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rt-muted);
}

.rt-table-info strong {
  color: var(--rt-text);
  font-weight: 900;
}

/* Table pagination */
.rt-table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--rt-border);
  flex-wrap: wrap;
}

.rt-table-pagination-info {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rt-muted);
}

.rt-table-pagination-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rt-table-pagination-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--rt-text);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rt-table-pagination-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.rt-table-pagination-btn:hover:not(:disabled) {
  background: rgba(var(--rt-primary-rgb), 0.08);
  color: var(--rt-primary);
}

.rt-table-pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rt-table-pagination-text {
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--rt-text);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .rt-table-pagination {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .rt-table-info {
    width: 100%;
    text-align: center;
  }
  .rt-table-pagination-nav {
    justify-content: center;
    width: 100%;
  }
}
/* Small rt-table variant */
.rt-table--sm th,
.rt-table--sm td {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.rt-table--sm .rt-table-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.66rem;
}

.rt-chart {
  position: relative;
  height: 260px;
  padding: 10px 0;
}

.rt-chart-svg {
  width: 100%;
  height: 100%;
}

/* ============================================
           ACTIVITY
        ============================================ */
.rt-activity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rt-activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rt-border);
}

.rt-activity-item:last-child {
  border-bottom: none;
}

.rt-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--rt-white);
}

.rt-activity-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.rt-activity-content {
  flex: 1;
  min-width: 0;
}

.rt-activity-text {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.rt-activity-text strong {
  font-weight: 900;
}

.rt-activity-time {
  font-size: 0.72rem;
  color: var(--rt-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ============================================
           PROGRESS
        ============================================ */
.rt-progress {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rt-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.rt-progress-label {
  font-size: 0.82rem;
  font-weight: 800;
}

.rt-progress-value {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--rt-muted);
}

.rt-progress-bar {
  height: 8px;
  border-radius: 0;
  background: var(--rt-border);
  overflow: hidden;
}

.rt-progress-fill {
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, var(--rt-primary), var(--rt-primary-2));
  transition: width 0.6s ease;
}

.rt-progress-fill--accent {
  background: linear-gradient(90deg, var(--rt-accent), var(--rt-warning));
}

.rt-progress-fill--success {
  background: linear-gradient(90deg, var(--rt-success), #22d3ee);
}

.rt-progress-fill--purple {
  background: linear-gradient(90deg, var(--rt-purple), var(--rt-primary));
}

/* ============================================
           QUICK ACTIONS
        ============================================ */
.rt-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.rt-quick-btn {
  padding: 14px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rt-quick-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--rt-primary-rgb), 0.3);
}

.rt-quick-btn svg {
  width: 20px;
  height: 20px;
  color: var(--rt-primary);
  stroke-width: 2;
}

.rt-quick-btn span {
  font-size: 0.8rem;
  font-weight: 800;
}

/* ============================================
           FORM CONTROLS
        ============================================ */
.rt-form-stack {
  display: grid;
  gap: 14px;
}

.rt-form-grid {
  display: grid;
  gap: 12px;
}

.rt-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rt-form-control,
.rt-form-select,
.rt-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
  color: var(--rt-text);
  outline: none;
  font: inherit;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.rt-form-control,
.rt-form-select {
  min-height: 42px;
  padding: 0 14px;
}

.rt-form-textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.rt-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--rt-muted) 50%), linear-gradient(135deg, var(--rt-muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  line-height: 1.2;
}

.rt-form-select::-ms-expand {
  display: none;
}

.rt-form-control:focus,
.rt-form-select:focus,
.rt-form-textarea:focus {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.rt-form-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--rt-primary);
  flex: 0 0 auto;
}

.rt-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rt-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.rt-flow--sm {
  gap: 8px;
}

.rt-flow--lg {
  gap: 16px;
}

.rt-flow--x {
  column-gap: 12px;
  row-gap: 0;
}

.rt-flow--y {
  row-gap: 12px;
  column-gap: 0;
}

.rt-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.rt-select-native {
  display: none !important;
}

.rt-select-toggle {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  color: var(--rt-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.rt-select-toggle:focus,
.rt-select-toggle:focus-visible,
.rt-select.is-open .rt-select-toggle {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-select-toggle:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.rt-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  flex: 1 1 auto;
}

.rt-select-caret {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--rt-muted);
  border-bottom: 2px solid var(--rt-muted);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.rt-select.is-open .rt-select-caret {
  transform: rotate(-135deg) translateY(1px);
}

.rt-select-menu {
  position: fixed;
  z-index: 10020;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-sizing: border-box;
  max-height: min(260px, 100vh - 24px);
}

.rt-select-search {
  position: relative;
}

.rt-select-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 1.75px solid var(--rt-muted);
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.9;
}

.rt-select-search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.75px;
  border-radius: 0;
  background: var(--rt-muted);
  transform: rotate(45deg);
  transform-origin: center;
}

.rt-select-search-input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  font: inherit;
  outline: none;
  box-sizing: border-box;
}

.rt-select-search-input:focus {
  border-color: rgba(var(--rt-primary-rgb), 0.4);
}

.rt-select-list {
  display: grid;
  gap: 6px;
  max-height: min(260px, 100vh - 128px);
  overflow: auto;
  padding-right: 2px;
}

.rt-select-option {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rt-text);
  text-align: left;
  font: inherit;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.rt-select-option:hover,
.rt-select-option:focus-visible {
  outline: none;
  background: rgba(var(--rt-primary-rgb), 0.08);
}

.rt-select-option.is-selected {
  background: rgba(var(--rt-primary-rgb), 0.14);
  color: var(--rt-primary);
  font-weight: 700;
}

.rt-select-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rt-select-empty {
  padding: 10px 12px;
  color: var(--rt-muted);
  font-size: 0.92rem;
}

/* ============================================
           TERMINAL WINDOW
        ============================================ */
.rt-terminal-window {
  position: relative;
  display: grid;
  gap: 0;
  border: 1px solid rgba(var(--rt-primary-rgb), 0.2);
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%), linear-gradient(180deg, rgba(8, 12, 22, 0.96), rgba(5, 8, 16, 0.98));
}

.rt-terminal-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.045) 50%, rgba(0, 0, 0, 0) 50%), linear-gradient(90deg, rgba(var(--rt-primary-rgb), 0.04), rgba(var(--rt-accent-rgb), 0.02));
  background-size: 100% 4px, 100% 100%;
  opacity: 0.26;
}

.rt-terminal-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
}

.rt-terminal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rt-terminal-title .rt {
  width: 16px;
  height: 16px;
  color: #8fdcff;
}

.rt-terminal-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.rt-terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 0;
}

.rt-terminal-dot--danger {
  background: #ff5f57;
  border-radius: 999px !important;
}

.rt-terminal-dot--warning {
  background: #febc2e;
  border-radius: 999px !important;
}

.rt-terminal-dot--success {
  background: #28c840;
  border-radius: 999px !important;
}

.rt-terminal-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(99, 91, 255, 0.08);
}

.rt-terminal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
}

.rt-terminal-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 20px;
  color: #d9ecff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
}

.rt-terminal-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.rt-terminal-prompt {
  color: #56f0a9;
  font-weight: 700;
}

.rt-terminal-command {
  color: #eff6ff;
}

.rt-terminal-response {
  grid-column: 2;
  color: #9ec6e8;
}

.rt-terminal-response--success {
  color: #68f0a5;
}

.rt-terminal-response--warning {
  color: #ffd166;
}

.rt-terminal-response--danger {
  color: #ff8b8b;
}

.rt-terminal-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85em;
  min-height: 1.85em;
  padding: 0 0.5em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-width: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 0.86em;
  font-weight: 700;
}

.rt-terminal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.rt-terminal-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

.rt-terminal-card-title {
  margin-bottom: 6px;
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rt-terminal-card-text {
  color: #9ec6e8;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .rt-select-menu {
    max-height: min(48vh, 100vh - 24px);
  }
  .rt-terminal-header,
  .rt-terminal-toolbar,
  .rt-terminal-body {
    padding-left: 14px;
    padding-right: 14px;
  }
  .rt-terminal-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rt-terminal-response {
    grid-column: 1;
    padding-left: 0;
  }
}
/* ============================================
           ACCORDION
        ============================================ */
.rt-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rt-accordion-item {
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  overflow: hidden;
  transition: all 0.2s ease;
}

.rt-accordion-item:hover {
  border-color: rgba(var(--rt-primary-rgb), 0.3);
}

.rt-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--rt-text);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.rt-accordion-trigger:hover {
  background: rgba(var(--rt-primary-rgb), 0.04);
}

.rt-accordion-trigger.is-active {
  color: var(--rt-primary);
  font-weight: 800;
}

.rt-accordion-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
  color: var(--rt-muted);
}

.rt-accordion-trigger.is-active .rt-accordion-icon {
  transform: rotate(180deg);
  color: var(--rt-primary);
}

.rt-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.rt-accordion-item.is-open .rt-accordion-content {
  max-height: 500px;
}

.rt-accordion-body {
  padding: 0 16px 16px;
  color: var(--rt-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Accordion flush style */
.rt-accordion--flush .rt-accordion-item {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--rt-border);
}

.rt-accordion--flush .rt-accordion-item:last-child {
  border-bottom: none;
}

/* ============================================
           CAROUSEL
        ============================================ */
.rt-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
}

.rt-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.rt-carousel-slide {
  min-width: 100%;
  position: relative;
}

.rt-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.rt-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(7, 10, 18, 0.85), transparent);
  color: var(--rt-white);
}

.rt-carousel-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.rt-carousel-text {
  font-size: 0.84rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Navigation buttons */
.rt-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(7, 10, 18, 0.6);
  backdrop-filter: blur(8px);
  color: var(--rt-white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.rt-carousel-btn:hover {
  background: rgba(7, 10, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.rt-carousel-btn svg,
.rt-carousel-btn .rt {
  width: 18px;
  height: 18px;
}

.rt-carousel-btn--prev {
  left: 16px;
}

.rt-carousel-btn--next {
  right: 16px;
}

/* Indicators */
.rt-carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.rt-carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 0;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.rt-carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

.rt-carousel-indicator.is-active {
  background: var(--rt-white);
  width: 24px;
  border-radius: 0;
}

/* Carousel variants */
.rt-carousel--card {
  border-radius: 0;
}

.rt-carousel--card .rt-carousel-slide img {
  border-radius: 0;
}

.rt-carousel--thumb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  padding: 8px;
}

.rt-carousel--thumb .rt-carousel-slide {
  min-width: auto;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.rt-carousel--thumb .rt-carousel-slide img {
  aspect-ratio: 4/3;
}

.rt-carousel--thumb .rt-carousel-slide.is-active {
  border-color: var(--rt-primary);
}

/* ============================================
           NAVBAR
        ============================================ */
.rt-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--rt-border);
  background: var(--rt-surface);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  transition: all 0.2s ease;
}

.rt-navbar-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Brand */
.rt-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: var(--rt-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.rt-navbar-brand:hover {
  opacity: 0.8;
}

.rt-navbar-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
}

/* Navigation menu */
.rt-navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.rt-navbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 0;
  color: var(--rt-muted);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rt-navbar-link:hover {
  color: var(--rt-text);
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-navbar-link.is-active {
  color: var(--rt-primary);
  background: rgba(var(--rt-primary-rgb), 0.1);
}

/* Navbar actions */
.rt-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.rt-navbar-rt-btn {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.rt-navbar-rt-btn:hover {
  background: rgba(var(--rt-primary-rgb), 0.08);
  border-color: rgba(var(--rt-primary-rgb), 0.3);
}

.rt-navbar-rt-btn svg,
.rt-navbar-rt-btn .rt {
  width: 18px;
  height: 18px;
}

/* Mobile toggle */
.rt-navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.rt-navbar-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 0;
  transition: all 0.25s ease;
}

.rt-navbar-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rt-navbar-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.rt-navbar-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .rt-navbar-toggle {
    display: flex;
  }
  .rt-navbar-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--rt-surface);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .rt-navbar-menu.is-open {
    transform: translateX(0);
  }
  .rt-navbar-link {
    padding: 14px 16px;
    border-radius: 0;
    font-size: 0.95rem;
  }
  .rt-navbar-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    background: var(--rt-surface);
    padding: 12px 20px;
    border-radius: 0;
    border: 1px solid var(--rt-border);
  }
}
/* Navbar variants */
.rt-navbar--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.rt-navbar--dark {
  background: rgba(7, 10, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.rt-navbar--dark .rt-navbar-link {
  color: rgba(255, 255, 255, 0.7);
}

.rt-navbar--dark .rt-navbar-link:hover,
.rt-navbar--dark .rt-navbar-link.is-active {
  color: var(--rt-white);
}

/* ============================================
           FORM VALIDATION
        ============================================ */
.rt-form-group {
  position: relative;
  margin-bottom: 1rem;
}

.rt-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--rt-text);
}

.rt-form-input,
.rt-form-select,
.rt-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.rt-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface-solid);
  color: var(--rt-text);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.rt-form-input:focus {
  outline: none;
  border-color: var(--rt-primary);
}

.rt-form-input-sm {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 0;
}

.rt-form-input:focus,
.rt-form-select:focus,
.rt-form-textarea:focus {
  outline: none;
  border-color: var(--rt-primary);
}

.rt-form-input.rt-is-invalid,
.rt-form-select.rt-is-invalid,
.rt-form-textarea.rt-is-invalid {
  border-color: var(--rt-danger);
}

.rt-form-input.rt-is-valid,
.rt-form-select.rt-is-valid,
.rt-form-textarea.rt-is-valid {
  border-color: var(--rt-success);
}

.rt-form-message {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.rt-form-message.is-visible {
  display: block;
}

.rt-form-message--error {
  color: var(--rt-danger);
}

.rt-form-message--success {
  color: var(--rt-success);
}

.rt-form-icon {
  position: absolute;
  right: 12px;
  top: 38px;
  width: 18px;
  height: 18px;
  display: none;
}

.rt-form-icon.is-visible {
  display: block;
}

.rt-form-icon--error {
  color: var(--rt-danger);
}

.rt-form-icon--success {
  color: var(--rt-success);
}

/* Validation state wrapper */
.rt-form-group.rt-is-invalid .rt-form-message--error,
.rt-form-group.rt-is-invalid .rt-form-icon--error {
  display: block;
}

.rt-form-group.rt-is-valid .rt-form-message--success,
.rt-form-group.rt-is-valid .rt-form-icon--success {
  display: block;
}

.rt-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.rt-form-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--rt-primary);
  flex: 0 0 auto;
}

.rt-link {
  color: var(--rt-primary);
  font-weight: 800;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.rt-link:hover {
  color: var(--rt-primary-2);
  opacity: 0.9;
}

/* ============================================
           LANDING PAGE COMPONENTS
        ============================================ */
.rt-landing {
  overflow-x: hidden;
  width: 100%;
}

/* Hero Section */
.rt-hero {
  position: relative;
  padding: 100px 0 60px;
  background: radial-gradient(circle at 12% 18%, rgba(var(--rt-primary-rgb), 0.18), transparent 38rem), radial-gradient(circle at 88% 12%, rgba(0, 184, 255, 0.14), transparent 30rem), radial-gradient(circle at 82% 88%, rgba(255, 122, 89, 0.12), transparent 32rem), radial-gradient(circle at 18% 82%, rgba(109, 40, 217, 0.1), transparent 28rem), var(--rt-bg);
  overflow: hidden;
}

.rt-hero-shape {
  position: absolute;
  border-radius: 0;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: rtFloat 14s ease-in-out infinite;
}

.rt-hero-shape--1 {
  width: 320px;
  height: 320px;
  background: rgba(var(--rt-primary-rgb), 0.22);
  top: -80px;
  left: -80px;
}

.rt-hero-shape--2 {
  width: 260px;
  height: 260px;
  background: rgba(0, 184, 255, 0.18);
  bottom: -60px;
  right: -60px;
  animation-delay: -5s;
}

.rt-hero-shape--3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 122, 89, 0.16);
  top: 30%;
  right: 10%;
  animation-delay: -9s;
}

@keyframes rtFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
.rt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.rt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 0;
  background: rgba(var(--rt-primary-rgb), 0.1);
  border: 1px solid rgba(var(--rt-primary-rgb), 0.18);
  color: var(--rt-primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.rt-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--rt-text);
}

.rt-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--rt-muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.rt-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Feature Cards */
.rt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 22px 0;
}

.rt-feature-card {
  padding: 28px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: var(--rt-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.rt-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--rt-primary-rgb), 0.3);
}

.rt-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-2));
  color: var(--rt-white);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.rt-feature-icon svg,
.rt-feature-icon .rt {
  width: 24px;
  height: 24px;
}

.rt-feature-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--rt-text);
}

.rt-feature-desc {
  font-size: 0.9rem;
  color: var(--rt-muted);
  line-height: 1.6;
}

/* CTA Section */
.rt-cta {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(var(--rt-primary-rgb), 0.08), rgba(var(--rt-accent), 0.06));
  border-radius: 0;
  margin: 22px 0;
}

.rt-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--rt-text);
}

.rt-cta p {
  font-size: 1.1rem;
  color: var(--rt-muted);
  margin-bottom: 28px;
}

/* Timeline Section */
.rt-timeline {
  position: relative;
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.rt-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--rt-border);
}

.rt-timeline-item {
  position: relative;
  padding: 20px 40px;
  margin-bottom: 30px;
}

.rt-timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: var(--rt-primary);
  border: 3px solid var(--rt-bg);
  z-index: 1;
}

.rt-timeline-content {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: 0;
  padding: 20px;
}

.rt-timeline-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.rt-timeline-desc {
  font-size: 0.9rem;
  color: var(--rt-muted);
}

/* Footer */
.rt-footer {
  padding: 40px 0;
  border-top: 1px solid var(--rt-border);
  margin-top: 60px;
  background: var(--rt-surface);
}

.rt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 30px;
  border-bottom: 1px solid var(--rt-border);
}

.rt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rt-footer-brand strong {
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--rt-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-footer-brand p {
  color: var(--rt-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.rt-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rt-footer-links h4 {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-muted);
  margin: 0 0 8px;
}

.rt-footer-links a {
  color: var(--rt-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.rt-footer-links a:hover {
  color: var(--rt-primary);
}

.rt-footer-bottom {
  text-align: center;
  padding: 20px;
  color: var(--rt-muted);
  font-size: 0.85rem;
}

.rt-footer-bottom p {
  margin: 0;
}

/* Theme Toggle for Landing */
.rt-theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
  color: var(--rt-text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  border-radius: 0;
}

.rt-theme-toggle:hover {
  transform: translateY(-1px);
  color: var(--rt-primary);
  background: rgba(var(--rt-primary-rgb), 0.06);
}

.rt-theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.rt-theme-toggle .sun-icon {
  display: none;
}

html[data-theme=dark] .rt-theme-toggle .moon-icon {
  display: none;
}

html[data-theme=dark] .rt-theme-toggle .sun-icon {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rt-hero {
    padding: 60px 0 40px;
  }
  .rt-timeline::before {
    left: 20px;
  }
  .rt-timeline-dot {
    left: 20px;
  }
  .rt-timeline-item {
    padding-left: 50px;
  }
  .rt-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .rt-hero-actions .rt-btn {
    width: 100%;
    justify-content: center;
  }
  .rt-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .rt-footer-brand {
    align-items: center;
  }
  .rt-footer-links h4 {
    margin-top: 10px;
  }
}
/* Section styles */
.rt-section {
  padding: 60px 0;
}

.rt-section-alt {
  background: var(--rt-surface);
}

.rt-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.rt-section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--rt-text);
}

.rt-section-header p {
  font-size: 1.1rem;
  color: var(--rt-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid layouts */
.rt-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Stats grid */
.rt-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.rt-stat-card {
  padding: 30px 20px;
  border-radius: 0;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
}

.rt-stat-value {
  font-size: 2.5rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--rt-primary);
  margin-bottom: 8px;
}

.rt-stat-label {
  font-size: 0.9rem;
  color: var(--rt-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA actions */
.rt-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Login page styles */
.rt-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--rt-primary-rgb), 0.08), rgba(var(--rt-accent), 0.06));
}

.rt-login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.rt-login-card {
  border-radius: 0;
  overflow: hidden;
}

.rt-login-header {
  text-align: center;
  margin-bottom: 28px;
}

.rt-login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rt-login-logo h1 {
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--rt-text);
}

.rt-login-subtitle {
  color: var(--rt-muted);
  font-size: 0.95rem;
  margin: 0;
}

.rt-login-form .rt-form-group {
  margin-bottom: 20px;
}

.rt-form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.rt-form-input-icon {
  position: absolute;
  left: 14px;
  color: var(--rt-muted);
  pointer-events: none;
  z-index: 1;
}

.rt-form-input-wrapper .rt-form-input,
.rt-form-input-wrapper .rt-form-input {
  padding-left: 44px;
}

.rt-login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.rt-login-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.rt-login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rt-border);
}

.rt-login-divider span {
  position: relative;
  background: var(--rt-surface);
  padding: 0 16px;
  color: var(--rt-muted);
  font-size: 0.85rem;
}

.rt-login-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.rt-login-footer {
  text-align: center;
  color: var(--rt-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* CRUD Table styles */
.rt-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rt-form-input-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.rt-form-input-search-wrapper .rt-search {
  position: absolute;
  left: 12px;
  color: var(--rt-muted);
  pointer-events: none;
}

.rt-form-input-search-wrapper .rt-form-input,
.rt-form-input-search-wrapper .rt-form-input {
  padding-left: 40px;
  width: 260px;
}

.rt-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rt-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.rt-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 640px) {
  .rt-login-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rt-login-social {
    grid-template-columns: 1fr;
  }
  .rt-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .rt-form-input-search-wrapper .rt-form-input,
  .rt-form-input-search-wrapper .rt-form-input {
    width: 100%;
  }
  .rt-pagination {
    flex-direction: column;
    text-align: center;
  }
}
.rt-sbr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 18, 0.5);
  backdrop-filter: blur(6px);
  z-index: 99;
}

@media (max-width: 1024px) {
  .rt-admin {
    grid-template-columns: 1fr;
  }
  .rt-main {
    grid-column: 1;
  }
  .rt-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .rt-grid {
    grid-template-columns: 1fr;
  }
  .rt-sbr {
    transform: translateX(-100%);
  }
  .rt-sbr-toggle {
    display: none;
  }
  .rt-sbr.is-open {
    transform: translateX(0);
  }
  .rt-sbr-overlay.is-open {
    display: block;
  }
  .rt-topbar-menu-tbl {
    display: inline-grid;
  }
}
@media (min-width: 621px) {
  .rt-topbar-title-wrap {
    flex: 0 1 450px;
    max-width: 450px;
    min-width: 0;
  }
  .rt-topbar-search {
    flex: 0 0 clamp(280px, 34vw, 420px);
    min-width: 280px;
  }
}
@media (max-width: 620px) {
  .rt-topbar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    padding-top: 10px;
    padding-bottom: 18px;
  }
  .rt-topbar-menu-tbl {
    display: inline-grid;
    width: 44px;
    height: 44px;
  }
  .rt-topbar-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
  }
  .rt-topbar-breadcrumb {
    font-size: 0.72rem;
  }
  .rt-topbar-actions {
    justify-self: end;
    gap: 6px;
  }
  .rt-topbar-icon-tbl {
    width: 40px;
    height: 40px;
  }
  .rt-stats {
    grid-template-columns: 1fr;
  }
  .rt-topbar-search {
    display: none;
  }
  .rt-quick {
    grid-template-columns: 1fr;
  }
  .rt-topbar-title {
    font-size: 1rem;
  }
  .rt-table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .rt-table-search {
    max-width: 100%;
  }
}
/* ============================================
           FLAT MODE
        ============================================ */
.rt-sbr,
.rt-card,
.rt-stat,
.rt-topbar-icon-tbl,
.rt-topbar-search input,
.rt-sbr-link,
.rt-sbr-user,
.rt-nav-dropdown-toggle,
.rt-nav-dropdown-item,
.rt-table-search input {
  border-radius: 0;
  box-shadow: none !important;
}

/* Buttons keep slight radius for affordance */
.rt-btn,
.rt-btn {
  border-radius: 0;
}

.rt-stat,
.rt-card,
.rt-sbr-link,
.rt-topbar-icon-tbl,
.rt-sbr-user,
.rt-btn,
.rt-btn,
.rt-nav-dropdown-toggle,
.rt-nav-dropdown-item,
.rt-quick-btn {
  transition-duration: 0.25s !important;
  transition-timing-function: ease !important;
}

.rt-sbr,
.rt-card,
.rt-stat,
.rt-topbar-icon-tbl,
.rt-topbar-search input,
.rt-table-search input {
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}

/* Popup keeps radius for rt-modal feel */
.rt-modal-content {
  border-radius: 0;
}

/* Demo section spacing */
.rt-section {
  padding: 22px 0;
  border: 1px solid var(--rt-border);
  margin-top: 22px;
}

.rt-section h2 {
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.rt-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rt-muted);
  width: 100%;
  margin-bottom: -4px;
}

/* Terminal components opt out from flat reset to preserve shell identity */
.rt-terminal-window {
  border-radius: 0;
}

.rt-terminal-kbd,
.rt-terminal-card {
  border-radius: 0;
  box-shadow: none !important;
}
