:root {
  --sc-body: #ebeef4;
  --sc-sidebar: #f7f9fc;
  --sc-surface: #ffffff;
  --sc-surface-alt: #f5f7fb;
  --sc-border: #d8dfeb;
  --sc-border-strong: #c9d3e4;
  --sc-text: #212837;
  --sc-muted: #6a7486;
  --sc-muted-soft: #8e98ac;
  --sc-primary: #3d7bfd;
  --sc-primary-dark: #2857d9;
  --sc-success: #00acac;
  --sc-warning: #f59f00;
  --sc-danger: #e8590c;
  --sc-violet: #845ef7;
  --sc-pink: #ea4c89;
  --sc-radius: 10px;
  --sc-radius-sm: 8px;
  --sc-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sc-body);
  color: var(--sc-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

.public-shell,
.app-shell {
  min-height: 100vh;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sc-primary), #6ea8fe);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(61, 123, 253, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1rem;
}

.brand-caption {
  color: var(--sc-muted-soft);
  font-size: 0.76rem;
}

.eyebrow,
.page-breadcrumb,
.metric-label,
.card-meta,
.preset-title,
.sidebar-label,
.sidebar-footer-label {
  color: var(--sc-muted-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.page-heading,
.section-title,
.table-title,
.card-title {
  margin: 0;
  color: var(--sc-text);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-title {
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.page-heading {
  margin-top: 0.25rem;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.02;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.table-title {
  font-size: 1.08rem;
}

.card-title {
  font-size: 1rem;
}

.hero-copy,
.page-subtitle,
.section-copy,
.table-copy,
.card-copy,
.faq-card p,
.timeline-item p {
  color: var(--sc-muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 58ch;
  font-size: 0.98rem;
}

.page-subtitle {
  max-width: 68ch;
  margin: 0.5rem 0 0;
}

.section-copy,
.table-copy {
  margin: 0.45rem 0 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  border-radius: 8px;
  font-weight: 600;
  box-shadow: none !important;
}

.btn-sm {
  border-radius: 7px;
}

.btn-primary {
  border-color: var(--sc-primary);
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
}

.btn-primary:hover {
  border-color: var(--sc-primary-dark);
  background: linear-gradient(135deg, var(--sc-primary-dark), var(--sc-primary));
}

.btn-outline-secondary {
  border-color: var(--sc-border-strong);
  background: var(--sc-surface);
  color: var(--sc-text);
}

.btn-outline-secondary:hover {
  border-color: var(--sc-primary);
  background: #eef4ff;
  color: var(--sc-primary-dark);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--sc-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.public-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.public-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.public-nav a {
  color: var(--sc-muted);
  font-weight: 600;
}

.public-nav a.active,
.public-nav a:hover {
  color: var(--sc-primary-dark);
}

.public-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.language-switcher-select {
  min-width: 8.75rem;
  padding-right: 2rem;
  font-size: 0.84rem;
  background-color: var(--sc-surface);
}

.language-switcher-public .language-switcher-select {
  min-width: 9.25rem;
}

.hero-surface {
  padding: 1.5rem 0 0.8rem;
}

.public-hero-panel,
.sc-card,
.metric-card,
.table-shell,
.side-panel,
.timeline-shell,
.faq-card,
.auth-card,
.preset-card,
.section-nav {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  background: var(--sc-surface);
  box-shadow: var(--sc-shadow);
}

.public-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(61, 123, 253, 0.15), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-highlight {
  padding: 1rem 1.1rem;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-highlight span,
.hero-highlight small {
  display: block;
  color: var(--sc-muted);
}

.hero-highlight strong {
  display: block;
  margin: 0.2rem 0;
  font-size: 1.45rem;
  color: var(--sc-text);
}

.stack-grid {
  display: grid;
  gap: 1rem;
}

.section-shell {
  padding: 1.2rem 0 0;
}

.section-block {
  padding: 1.2rem 0;
}

.section-muted {
  background: transparent;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.public-footer {
  margin-top: 2.25rem;
  padding: 1.5rem 0 2.5rem;
}

.public-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.7rem;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  background: var(--sc-surface);
}

.public-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.sc-card,
.faq-card,
.preset-card,
.section-nav {
  padding: 1.05rem 1.1rem;
}

.card-copy,
.faq-card p {
  margin: 0.7rem 0 0;
}

.card-tone-primary {
  border-top: 3px solid var(--sc-primary);
}

.card-tone-success {
  border-top: 3px solid var(--sc-success);
}

.card-tone-warning {
  border-top: 3px solid var(--sc-warning);
}

.card-tone-info {
  border-top: 3px solid var(--sc-violet);
}

.card-tone-danger {
  border-top: 3px solid var(--sc-pink);
}

.metric-card {
  height: 100%;
  padding: 1.1rem;
}

.metric-value {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1;
}

.metric-change {
  margin: 0;
  color: var(--sc-muted);
}

.metric-card-primary {
  border-top: 3px solid var(--sc-primary);
}

.metric-card-success {
  border-top: 3px solid var(--sc-success);
}

.metric-card-warning {
  border-top: 3px solid var(--sc-warning);
}

.metric-card-info {
  border-top: 3px solid var(--sc-violet);
}

.metric-card-danger {
  border-top: 3px solid var(--sc-pink);
}

.app-shell {
  display: flex;
}

.app-sidebar {
  width: 240px;
  min-height: 100vh;
  border-right: 1px solid var(--sc-border);
  background: var(--sc-sidebar);
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem 0.9rem;
  border-bottom: 1px solid var(--sc-border);
  background: rgba(255, 255, 255, 0.55);
}

.sidebar-group {
  padding: 0.85rem 0;
}

.sidebar-group + .sidebar-group {
  border-top: 1px solid rgba(216, 223, 235, 0.7);
}

.sidebar-label {
  margin: 0 1rem 0.45rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.68rem 1rem;
  border-left: 3px solid transparent;
  color: var(--sc-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.sidebar-link i {
  font-size: 1rem;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--sc-text);
  background: rgba(61, 123, 253, 0.08);
}

.sidebar-link.active {
  border-left-color: var(--sc-primary);
}

.sidebar-footer {
  margin: 0.9rem 1rem 1rem;
  padding: 0.9rem;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  background: #fff;
}

.sidebar-footer strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
}

.app-main {
  flex: 1;
  min-width: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 58px;
  padding: 0 1.4rem;
  border-bottom: 1px solid var(--sc-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.app-topbar-start,
.app-topbar-end {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(420px, 40vw);
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: var(--sc-surface-alt);
}

.public-footer-grid-simple {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.topbar-search i {
  color: var(--sc-muted);
}

.topbar-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sc-text);
}

.topbar-search input::placeholder {
  color: var(--sc-muted-soft);
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-user-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.2rem 0.3rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topbar-user-link:hover {
  border-color: var(--sc-border);
  background: var(--sc-surface);
}

.topbar-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sc-primary), #7aa2ff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.topbar-user strong,
.topbar-user span {
  display: block;
}

.topbar-user strong {
  font-size: 0.88rem;
}

.topbar-user span {
  color: var(--sc-muted);
  font-size: 0.76rem;
}

.app-content {
  padding: 24px 30px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: var(--sc-surface);
  color: var(--sc-text);
}

.admin-icon-action {
  text-decoration: none;
}

.admin-icon-action:hover {
  background: rgba(38, 92, 255, 0.08);
  color: var(--sc-primary);
}

.page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.dashboard-hero {
  display: flex;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--sc-radius);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #2b60ff, #4b84ff);
  color: #fff;
}

.dashboard-hero h2,
.dashboard-hero p,
.dashboard-hero strong,
.dashboard-hero span {
  color: #fff;
}

.dashboard-hero-copy h2 {
  margin: 0.7rem 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.04;
}

.dashboard-pill {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.dashboard-hero-metric {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.dashboard-hero-metric span,
.dashboard-hero-metric strong {
  display: block;
}

.dashboard-hero-metric strong {
  margin-top: 0.35rem;
  font-size: 1rem;
}

.dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quick-widget {
  min-height: 132px;
  padding: 1rem 1.05rem;
  border-radius: var(--sc-radius);
  color: #fff;
}

.quick-widget p,
.quick-widget h3,
.quick-widget span {
  margin: 0;
  color: inherit;
}

.quick-widget p {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.quick-widget h3 {
  margin: 0.7rem 0 0.45rem;
  font-size: 1.8rem;
  line-height: 1;
}

.quick-widget-primary {
  background: linear-gradient(135deg, #2b60ff, #4b84ff);
}

.quick-widget-success {
  background: linear-gradient(135deg, #00acac, #10c6c6);
}

.quick-widget-warning {
  background: linear-gradient(135deg, #f59f00, #ffbf47);
}

.quick-widget-info {
  background: linear-gradient(135deg, #7b61ff, #9b7cff);
}

.quick-widget-danger {
  background: linear-gradient(135deg, #ea4c89, #ff6ba7);
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  background: var(--sc-surface);
}

.tab-strip,
.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-chip,
.pill,
.detail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--sc-border);
  border-radius: 999px;
  background: var(--sc-surface);
  color: var(--sc-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.tab-chip.active {
  border-color: rgba(61, 123, 253, 0.4);
  background: #eef4ff;
  color: var(--sc-primary-dark);
}

.pill-primary,
.detail-status {
  border-color: rgba(61, 123, 253, 0.35);
  background: #eef4ff;
  color: var(--sc-primary-dark);
}

.pill-success {
  border-color: rgba(0, 172, 172, 0.35);
  background: rgba(0, 172, 172, 0.1);
  color: #057c7c;
}

.pill-warning {
  border-color: rgba(245, 159, 0, 0.35);
  background: rgba(245, 159, 0, 0.12);
  color: #9f6500;
}

.pill-info {
  border-color: rgba(132, 94, 247, 0.3);
  background: rgba(132, 94, 247, 0.1);
  color: #5b40bf;
}

.pill-danger {
  border-color: rgba(232, 89, 12, 0.3);
  background: rgba(232, 89, 12, 0.1);
  color: #b54708;
}

.table-shell,
.side-panel,
.timeline-shell,
.auth-card {
  padding: 1.15rem;
}

.auth-card-centered {
  max-width: 100%;
}

.auth-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.table-shell-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.table-shell-actions {
  display: flex;
  gap: 0.6rem;
}

.sc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--sc-border);
}

.sc-pagination-summary {
  margin: 0;
  color: var(--sc-muted);
  font-size: 0.86rem;
}

.sc-pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sc-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.65rem;
  border: 1px solid var(--sc-border);
  border-radius: 999px;
  background: var(--sc-surface);
  color: var(--sc-text);
  font-size: 0.84rem;
  text-decoration: none;
}

.sc-page-link.is-current {
  border-color: var(--sc-primary);
  background: var(--sc-primary);
  color: #fff;
}

.sc-page-link.is-disabled {
  color: var(--sc-muted);
  opacity: 0.55;
}

.sc-table {
  margin-bottom: 0;
  color: var(--sc-text);
}

.sc-table th,
.sc-table td {
  padding: 0.72rem 0.8rem;
  border-color: var(--sc-border);
  vertical-align: middle;
  background: transparent;
}

.sc-table thead th {
  color: var(--sc-muted-soft);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-table tbody tr.table-row-selected td {
  background: rgba(38, 92, 255, 0.08);
}

.sc-table tbody tr.table-row-selected td:first-child {
  box-shadow: inset 3px 0 0 var(--sc-primary);
}

.info-list {
  display: grid;
  gap: 0.8rem;
}

.request-empty-state {
  display: grid;
  gap: 0.9rem;
  padding: 0.35rem 0 0;
}

.request-list-grid {
  display: grid;
  gap: 1rem;
}

.bulk-selection-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.request-row-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--sc-border);
}

.request-row-card:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.request-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.request-row-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.request-title-link {
  color: var(--sc-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.request-title-link:hover {
  color: var(--sc-primary-dark);
}

.request-row-subtitle {
  margin: 0.3rem 0 0;
  color: var(--sc-muted);
  font-size: 0.92rem;
}

.request-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.request-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.table-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-grid,
.compare-selection-grid {
  display: grid;
  gap: 1rem;
}

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

.catalog-card,
.compare-select-card {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  background: var(--sc-surface-alt);
}

.catalog-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-kv-grid,
.pricing-stack {
  display: grid;
  gap: 0.7rem;
}

.catalog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

.compare-select-card {
  cursor: pointer;
}

.compare-select-card input {
  margin-top: 0.15rem;
}

.compare-select-card-selected {
  border-color: rgba(61, 123, 253, 0.35);
  background: #eef4ff;
}

.profile-note-card {
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  background: var(--sc-surface-alt);
}

.info-list.compact {
  gap: 0;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(216, 223, 235, 0.9);
}

.info-row span {
  color: var(--sc-muted);
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(216, 223, 235, 0.9);
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.94rem;
}

.timeline-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.8rem;
  height: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--sc-primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
}

.section-nav-link {
  display: block;
  padding: 0.68rem 0;
  border-top: 1px solid rgba(216, 223, 235, 0.9);
  color: var(--sc-muted);
  font-weight: 600;
}

.section-nav-link:hover {
  color: var(--sc-primary-dark);
}

.preset-value {
  color: var(--sc-text);
  font-weight: 600;
}

.faq-card h3 {
  margin: 0;
  font-size: 1rem;
}

.dashboard-right-stack {
  display: grid;
  gap: 1rem;
}

.priority-action-list,
.delivery-highlight-list {
  display: grid;
  gap: 0.9rem;
}

.priority-action-card,
.delivery-highlight,
.asset-library-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  background: #fff;
}

.priority-action-card h3,
.delivery-highlight h3,
.asset-library-card h3 {
  margin: 0;
  font-size: 1rem;
}

.priority-action-card p,
.delivery-highlight p,
.asset-library-card p {
  margin: 0;
}

.priority-action-card.tone-warning,
.delivery-highlight.tone-warning,
.asset-library-card.tone-warning {
  border-color: rgba(245, 158, 11, 0.35);
}

.priority-action-card.tone-success,
.delivery-highlight.tone-success,
.asset-library-card.tone-success {
  border-color: rgba(16, 185, 129, 0.3);
}

.priority-action-card.tone-info,
.delivery-highlight.tone-info,
.asset-library-card.tone-info {
  border-color: rgba(59, 130, 246, 0.28);
}

.delivery-highlight-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-highlight-actions strong {
  font-size: 1.2rem;
  color: var(--sc-text);
}

.delivery-highlight-meta,
.asset-library-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--sc-muted);
  font-size: 0.82rem;
}

.asset-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.catalog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.catalog-filter-row .form-select {
  min-width: 180px;
  flex: 1 1 180px;
}

.form-control,
.form-select {
  border-color: var(--sc-border);
  border-radius: 8px;
  background: var(--sc-surface-alt);
  color: var(--sc-text);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(61, 123, 253, 0.4);
  background: #fff;
}

.form-label {
  color: var(--sc-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

code {
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: #eef2f8;
  color: var(--sc-primary-dark);
}

@media (max-width: 1199.98px) {
  .page-header,
  .filter-toolbar,
  .app-topbar,
  .public-footer-grid,
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .public-footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .app-shell-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(17, 24, 39, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
  }

  .sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .sidebar-open.app-shell-body::before {
    opacity: 1;
    pointer-events: auto;
  }

  .app-topbar {
    height: auto;
    padding: 0.8rem 1rem;
  }

  .topbar-search {
    width: 100%;
  }

  .app-topbar-start,
  .app-topbar-end {
    width: 100%;
    flex-wrap: wrap;
  }

  .app-content {
    padding: 20px 16px;
  }

  .dashboard-hero-metrics,
  .hero-highlight-grid,
  .dashboard-quick-grid {
    grid-template-columns: 1fr;
  }

  .public-header-inner {
    flex-wrap: wrap;
  }

  .public-nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .public-hero-panel,
  .table-shell,
  .side-panel,
  .timeline-shell,
  .auth-card {
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-actions,
  .public-header-actions,
  .table-shell-actions,
  .public-footer-actions {
    width: 100%;
  }

  .page-actions .btn,
  .public-header-actions .btn,
  .table-shell-actions .btn,
  .public-footer-actions .btn {
    flex: 1 1 100%;
  }

  .topbar-user,
  .tab-chip,
  .pill,
  .detail-status {
    width: 100%;
    justify-content: flex-start;
  }

  .app-content {
    padding: 16px 12px;
  }

  .request-row-card,
  .request-row-heading,
  .catalog-card-head {
    flex-direction: column;
  }

  .request-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .request-row-actions,
  .catalog-card-actions,
  .table-row-actions {
    justify-content: flex-start;
  }

  .catalog-grid,
  .compare-selection-grid,
  .asset-library-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar-user-copy {
    display: none;
  }

  .app-topbar-end {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher-select {
    width: 100%;
  }

  .page-breadcrumb,
  .metric-label,
  .card-meta,
  .preset-title,
  .sidebar-label,
  .sidebar-footer-label {
    letter-spacing: 0.06em;
  }

  .catalog-filter-row,
  .delivery-highlight-actions,
  .asset-library-meta {
    flex-direction: column;
    align-items: stretch;
  }
}
/* ==============================================
   RICH HERO
   ============================================== */

.hero-surface-rich {
  position: relative;
  padding: 1.5rem 0 0.8rem;
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center 20%;
  background-blend-mode: multiply;
}

.hero-surface-rich::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(235, 238, 244, 0.52) 0%, var(--sc-body) 100%),
    radial-gradient(ellipse at 68% 28%, rgba(61, 123, 253, 0.07) 0%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}


/* hero-bg-img: img element removed from HTML; kept as safety net */
.hero-bg-img {
  display: none !important;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(235, 238, 244, 0.45) 0%, var(--sc-body) 100%),
    radial-gradient(ellipse at 68% 28%, rgba(61, 123, 253, 0.06) 0%, transparent 52%);
}

.public-hero-panel-rich {
  position: relative;
  z-index: 1;
  padding: 2.2rem 2rem;
  background:
    radial-gradient(circle at top right, rgba(61, 123, 253, 0.14), transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,0.88) 0%, rgba(243,247,255,0.88) 100%);
  backdrop-filter: blur(2px);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.05),
    0 8px 32px rgba(61, 123, 253, 0.08);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border: 1px solid rgba(61, 123, 253, 0.28);
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.9);
  color: var(--sc-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sc-primary);
  box-shadow: 0 0 0 3px rgba(61, 123, 253, 0.2);
  animation: badge-pulse 2.2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 123, 253, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(61, 123, 253, 0.07); }
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sc-border);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--sc-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-trust-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: var(--sc-primary);
}

/* ==============================================
   RICH CARDS ??icon row
   ============================================== */

.sc-card-rich {
  padding: 1.25rem 1.3rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sc-card-rich:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sc-card-icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.sc-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  padding: 0.38rem;
}

.sc-card-icon svg { width: 100%; height: 100%; }

.sc-card-icon-primary { background: rgba(61, 123, 253, 0.12); }
.sc-card-icon-primary svg { stroke: var(--sc-primary); }
.sc-card-icon-info { background: rgba(132, 94, 247, 0.12); }
.sc-card-icon-info svg { stroke: var(--sc-violet); }
.sc-card-icon-success { background: rgba(0, 172, 172, 0.10); }
.sc-card-icon-success svg { stroke: var(--sc-success); }
.sc-card-icon-warning { background: rgba(245, 159, 0, 0.12); }
.sc-card-icon-warning svg { stroke: var(--sc-warning); }
.sc-card-icon-danger { background: rgba(234, 76, 137, 0.10); }
.sc-card-icon-danger svg { stroke: var(--sc-pink); }

/* ==============================================
   RICH METRIC CARDS ??glow on hover
   ============================================== */

.metric-card-rich { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.metric-card-rich:hover { transform: translateY(-2px); }
.metric-card-rich.metric-card-primary:hover { box-shadow: 0 6px 24px rgba(61, 123, 253, 0.18); }
.metric-card-rich.metric-card-success:hover { box-shadow: 0 6px 24px rgba(0, 172, 172, 0.18); }
.metric-card-rich.metric-card-warning:hover { box-shadow: 0 6px 24px rgba(245, 159, 0, 0.18); }
.metric-card-rich.metric-card-info:hover    { box-shadow: 0 6px 24px rgba(132, 94, 247, 0.18); }
.metric-card-rich.metric-card-danger:hover  { box-shadow: 0 6px 24px rgba(234, 76, 137, 0.18); }

@media (max-width: 767.98px) {
  .hero-trust-strip { gap: 0.85rem; }
  .public-hero-panel-rich { padding: 1.5rem 1.25rem; }
}

/* Hero icon shelf */
.hero-icon-shelf {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sc-border);
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hero-icon-item:hover {
  border-color: rgba(61, 123, 253, 0.3);
  box-shadow: 0 4px 16px rgba(61, 123, 253, 0.1);
  transform: translateY(-1px);
}

.hero-shelf-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 8px;
}

.hero-icon-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sc-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ==============================================
   LOGIN SPLIT LAYOUT  ??Premium v2
   ============================================== */

@keyframes login-float-1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-22px) scale(1.06); }
}
@keyframes login-float-2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(18px) scale(0.94); }
}
@keyframes login-pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.6; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(0.85); opacity: 0; }
}
@keyframes login-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes login-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-split-shell {
  display: flex;
  min-height: 100vh;
  background: #f0f4ff;
}

/* ?? Art (left) side ?? */
.login-art-side {
  position: relative;
  flex: 0 0 52%;
  max-width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  background: #070e1f;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .login-art-side { display: none; }
}

.login-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  animation: none;
}

/* Gradient overlay ??gives depth even with dim image */
.login-art-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(61,123,253,0.18) 0%, transparent 65%),
    linear-gradient(160deg, rgba(7,14,31,0.92) 0%, rgba(7,14,31,0.55) 55%, rgba(7,14,31,0.88) 100%);
}

/* Decorative floating blobs */
.login-art-side::before,
.login-art-side::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.login-art-side::before {
  width: 440px; height: 440px;
  top: -100px; right: -120px;
  background: radial-gradient(circle, rgba(61,123,253,0.30) 0%, transparent 70%);
  animation: login-float-1 9s ease-in-out infinite;
}
.login-art-side::after {
  width: 320px; height: 320px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(132,94,247,0.25) 0%, transparent 70%);
  animation: login-float-2 11s ease-in-out infinite;
}

.login-art-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 500px;
  animation: login-fade-up 0.7s ease both;
}

/* Brand row */
.login-art-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.brand-logo-lg {
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sc-primary) 0%, #7aa3ff 100%);
  box-shadow: 0 0 0 0 rgba(61,123,253,0.6);
  animation: login-pulse-ring 2.8s ease-out infinite;
}

.login-art-brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Headline */
.login-art-headline {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
  background: linear-gradient(120deg, #ffffff 0%, rgba(255,255,255,0.62) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-art-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 3rem;
  max-width: 38ch;
}

/* Feature list */
.login-art-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-art-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.login-art-feature:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.login-art-feature-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.login-art-dot-primary { background: var(--sc-primary);  box-shadow: 0 0 12px var(--sc-primary); }
.login-art-dot-success { background: var(--sc-success);  box-shadow: 0 0 12px var(--sc-success); }
.login-art-dot-info    { background: var(--sc-violet);   box-shadow: 0 0 12px var(--sc-violet); }

.login-art-feature strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #fff;
}

.login-art-feature p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

/* ?? Form (right) side ?? */
.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* subtle background pattern */
.login-form-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(61,123,253,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(132,94,247,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.login-form-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: login-fade-up 0.55s 0.1s ease both;
}

.login-form-header {
  margin-bottom: 2.25rem;
}

.login-form-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(61,123,253,0.08);
  color: var(--sc-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(61,123,253,0.18);
}

.login-form-header .page-heading {
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  color: #0f1729;
  margin-top: 0.85rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.login-form-header .page-subtitle {
  color: #64748b;
  margin-top: 0.5rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Fields */
.login-field {
  margin-bottom: 1.2rem;
}

.login-field .form-label {
  display: block;
  font-size: 0.855rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.45rem;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  stroke: #94a3b8;
  pointer-events: none;
  transition: stroke 0.2s ease;
}

.login-input {
  padding-left: 2.85rem;
  height: 3.1rem;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.97rem;
  color: #0f1729;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.login-input::placeholder {
  color: #b0bac9;
}
.login-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px rgba(61,123,253,0.14);
}
.login-input-wrap:focus-within .login-input-icon {
  stroke: var(--sc-primary);
}

/* Actions */
.login-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.login-btn-primary {
  height: 3.1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--sc-primary) 0%, #2857d9 100%);
  border-color: transparent;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 16px rgba(61,123,253,0.3) !important;
}
.login-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(61,123,253,0.38) !important;
}
.login-btn-primary:active {
  transform: translateY(0);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #b0bac9;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8edf5;
}

.login-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3.1rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.login-btn-google:hover {
  background: #f8fafc;
  border-color: #c9d3e4;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  transform: translateY(-1px);
  color: #1e293b;
}

.google-auth-shell {
  display: grid;
  gap: 0.65rem;
}

.google-auth-button-host {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}

.google-auth-button-host > div {
  margin: 0 auto;
}

.google-auth-error {
  text-align: center;
}

/* Footer note */
.login-footer-note {
  margin-top: 2.25rem;
  text-align: center;
  color: #8e98ac;
  font-size: 0.875rem;
  line-height: 1.7;
}

.login-link {
  color: var(--sc-primary);
  font-weight: 700;
  text-decoration: none;
}
.login-link:hover {
  text-decoration: underline;
}

/* Force layout reset for public shell on login page */
.public-shell-body:has(.login-split-shell) .public-shell {
  display: block;
}
.public-shell-body:has(.login-split-shell) .public-header,
.public-shell-body:has(.login-split-shell) .public-footer {
  display: none !important;
}


.login-art-side {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background-color: #0f1729; /* Dark midnight base for image */
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .login-art-side {
    display: none; /* Hide art sidebar on mobile/tablet */
  }
}

.login-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
}

.login-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 41, 0.6) 0%, rgba(15, 23, 41, 0.2) 100%);
  z-index: 1;
}

.login-art-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 480px;
}

.login-art-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.brand-logo-lg {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.4rem;
  border-radius: 10px;
  background: var(--sc-primary);
  color: #fff;
}

.login-art-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-art-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-art-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
}

.login-art-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-art-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-art-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.login-art-dot-primary { background-color: var(--sc-primary); box-shadow: 0 0 10px var(--sc-primary); }
.login-art-dot-success { background-color: var(--sc-success); box-shadow: 0 0 10px var(--sc-success); }
.login-art-dot-info { background-color: var(--sc-violet); box-shadow: 0 0 10px var(--sc-violet); }

.login-art-feature strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.login-art-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ?? Form Side ?? */
.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-form-inner {
  width: 100%;
  max-width: 440px;
}

.login-form-header {
  margin-bottom: 2.5rem;
}

.login-field {
  margin-bottom: 1.25rem;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--sc-muted);
  pointer-events: none;
}

.login-input {
  padding-left: 2.8rem;
  height: 3rem;
  border-radius: 10px;
  background-color: #fff;
}
.login-input:focus {
  background-color: #fff;
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px rgba(61, 123, 253, 0.15);
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-btn-primary {
  height: 3rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
}

.login-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sc-heading);
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.login-btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.login-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--sc-muted);
  font-size: 0.9rem;
}

.login-link {
  color: var(--sc-primary);
  font-weight: 600;
  text-decoration: none;
}
.login-link:hover {
  text-decoration: underline;
}

/* Force layout reset for public shell on login page */
.public-shell-body:has(.login-split-shell) .public-shell {
  display: block; /* Override flex */
}
.public-shell-body:has(.login-split-shell) .public-header,
.public-shell-body:has(.login-split-shell) .public-footer {
  display: none !important; /* Hide header and footer in split layout */
}

/* ?? Dashboard Premium Overhaul ?? */

.dashboard-hero-wrapper {
  position: relative;
  margin: -24px -30px 2rem;
  padding: 3rem 2rem 4rem;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  filter: saturate(1.2) contrast(1.1);
}

.dashboard-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.dashboard-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.dashboard-hero-content .page-breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.dashboard-hero-content .page-heading {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.dashboard-hero-content .page-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 50ch;
}

.metric-card-rich {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.metric-card-rich:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.metric-card-rich::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at top right, rgba(var(--sc-primary-rgb, 61, 123, 253), 0.05), transparent 70%);
  pointer-events: none;
}

.table-shell-rich {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.table-shell-rich .table-shell-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--sc-border);
  background: #fafbfc;
}

.table-shell-rich .table-responsive {
  padding: 0;
}

.table-shell-rich .sc-table {
  border-collapse: separate;
  border-spacing: 0;
}

.table-shell-rich .sc-table th {
  background: #f1f5f9;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0.85rem 1.5rem;
  border-top: none;
}

.table-shell-rich .sc-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.table-shell-rich .sc-table tr:last-child td {
  border-bottom: none;
}

.table-shell-rich .sc-table tr:hover td {
  background: #f8fafc;
}

/* ==============================================
   SIGNUP SPLIT LAYOUT ??Premium v2
   ============================================== */

@keyframes signup-float-gold {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); opacity: 0.8; }
}

.signup-split-shell {
  display: flex;
  min-height: 100vh;
  background: #ffffff;
}

/* ?? Art (left) side ?? */
.signup-art-side {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  background: #0f1115;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .signup-art-side { display: none; }
}

.signup-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.signup-art-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 40% 50%, rgba(234,179,8,0.12) 0%, transparent 70%),
    linear-gradient(160deg, rgba(15,17,21,0.95) 0%, rgba(15,17,21,0.6) 50%, rgba(15,17,21,0.92) 100%);
}

.signup-art-side::before {
  content: '';
  position: absolute;
  top: 10%; right: 10%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(234,179,8,0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  animation: signup-float-gold 10s infinite ease-in-out;
}

.signup-art-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 480px;
}

.signup-art-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.signup-art-brand .brand-logo-lg {
  background: linear-gradient(135deg, #eab308 0%, #d4a017 100%);
}

.signup-art-headline {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.signup-art-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

.signup-art-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.signup-art-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-art-feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: #eab308;
  box-shadow: 0 0 12px #eab308;
}

.signup-art-feature strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.signup-art-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ?? Form (right) side ?? */
.signup-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: #fff;
}

.signup-form-inner {
  width: 100%;
  max-width: 480px;
}

.signup-header {
  margin-bottom: 2.5rem;
}

.signup-header .page-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.03em;
}

.signup-header .page-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.signup-form .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

.signup-input {
  height: 3.25rem;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.signup-input:focus {
  background: #fff;
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px rgba(61, 123, 253, 0.1);
}

.signup-btn-primary {
  height: 3.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--sc-primary) 0%, #2857d9 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(61, 123, 253, 0.25);
}

.signup-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61, 123, 253, 0.35);
}

.signup-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.signup-footer p {
  color: #64748b;
  font-size: 0.875rem;
}

.signup-link {
  color: var(--sc-primary);
  font-weight: 700;
}

/* UX refresh */
.form-section-label {
  color: var(--sc-text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-section-copy {
  margin: 0.25rem 0 0;
  color: var(--sc-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.advanced-panel {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  background: var(--sc-surface-alt);
  padding: 0.2rem 1rem 1rem;
}

.advanced-panel[open] {
  background: #f8faff;
  border-color: rgba(61, 123, 253, 0.2);
}

.advanced-panel-summary {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 0 0.55rem;
}

.advanced-panel-summary::-webkit-details-marker {
  display: none;
}

.advanced-panel-summary span {
  color: var(--sc-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.advanced-panel-summary small {
  color: var(--sc-muted);
  font-size: 0.84rem;
}

.sticky-summary-toolbar {
  position: sticky;
  top: 72px;
  z-index: 8;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.source-value-cell {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.pill-source {
  padding: 0.28rem 0.55rem;
  border-color: rgba(61, 123, 253, 0.18);
  background: rgba(61, 123, 253, 0.08);
  color: var(--sc-primary-dark);
  font-size: 0.72rem;
}

.raw-json-stack {
  display: grid;
  gap: 0.75rem;
}

.raw-json-panel {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.raw-json-panel summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.raw-json-panel summary span {
  font-weight: 700;
  color: #0f172a;
}

.raw-json-panel summary small {
  color: #64748b;
}

.raw-json-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.raw-json-meta b {
  max-width: 100%;
  padding: 0.16rem 0.42rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 650;
}

.raw-json-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1rem 0.75rem;
}

.spray-run-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.spray-run-form .form-select {
  width: auto;
  min-width: 10rem;
}

.raw-json-panel pre {
  max-height: 34rem;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  background: #eef2f7;
  white-space: pre-wrap;
  word-break: break-word;
}

.request-empty-state .page-actions {
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .sticky-summary-toolbar {
    top: 64px;
  }
}

@media (max-width: 575.98px) {
  .public-header-inner,
  .app-topbar {
    align-items: flex-start;
  }

  .public-header-inner {
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .public-nav,
  .public-header-actions,
  .app-topbar-end {
    width: 100%;
    justify-content: space-between;
  }

  .public-nav {
    gap: 0.85rem;
  }

  .app-topbar {
    flex-direction: column;
    height: auto;
    padding: 0.85rem 1rem;
  }

  .app-topbar-start,
  .app-topbar-end {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-search {
    width: 100%;
  }
}
