.form-control::-webkit-input-placeholder {
  color: silver;
}
.form-control-lg::-webkit-input-placeholder {
  color: silver;
}
.form-control-lg{
  border:1 px solid silver !important;
}

:root {
  --bs-blue: #ffccff;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #ffccff;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  top: 7px;
}
.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.btn-xs{
  padding: 0.20rem 0.3rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #52ab52;
}

input:focus + .slider {
  box-shadow: 0 0 1px #52ab52;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.fullpage {
  position: absolute;
  top: 0px;
  left: 0px;
  background: black;
  opacity: 0.2;
  width: 100%;
  height: 100%;
  z-index: 999999998;
}
.fullpagespinner {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999999;
  text-align: center;
  padding-top: 300px;
  color: white;
}

.action-modal {
  background: rgba(22, 36, 52, 0.16);
  backdrop-filter: blur(6px);
}

.action-modal-dialog {
  width: min(100%, calc(100vw - 1rem));
  max-width: none;
  margin: 0.5rem auto;
}

@media (min-width: 576px) {
  .action-modal-dialog {
    width: 432px;
  }
}

@media (min-width: 768px) {
  .action-modal-dialog {
    width: 576px;
  }
}

@media (min-width: 992px) {
  .action-modal-dialog {
    width: 768px;
  }
}

@media (min-width: 1200px) {
  .action-modal-dialog {
    width: 912px;
  }
}

.action-modal-content {
  border: 1px solid rgba(28, 52, 74, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(29, 53, 78, 0.18);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.97));
}

.action-modal-header {
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(28, 52, 74, 0.08);
  background: linear-gradient(135deg, rgba(238, 243, 248, 0.95), rgba(220, 230, 242, 0.82));
}

.default-modal-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.default-modal-title-stack {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex-wrap: wrap;
}

.action-modal-header .modal-title {
  font-family: "Lora", serif;
  color: #18324b;
  margin-bottom: 0;
}

.default-modal-project-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.28rem 0.8rem;
  border: 1px solid rgba(24, 50, 75, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #4f657a;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.default-modal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-left: auto;
}

.default-modal-save-btn {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
}

.action-modal-close {
  opacity: 0.55;
  font-size: 1.8rem;
  text-shadow: none;
}

.action-modal-body {
  min-height: min(78vh, 920px);
  max-height: 82vh;
  overflow: auto;
  padding: 1.5rem;
}

.action-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(28, 52, 74, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

#default_message,
#error_message,
#success_message {
  min-height: 100%;
}

.content-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 18rem;
  padding: 2rem 1rem;
}

.content-loading-spinner {
  width: 4.5rem;
  height: 4.5rem;
  border-width: 0.35rem;
  color: #2b6ea6;
}

.alert {
  position: relative;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(28, 52, 74, 0.1);
  border-radius: 1.2rem;
  box-shadow: 0 14px 34px rgba(29, 53, 78, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.94));
  color: #1f3850;
}

.alert hr {
  border-top-color: rgba(28, 52, 74, 0.1);
}

.alert a,
.alert .alert-link {
  color: inherit;
  font-weight: 700;
}

.alert.alert-dismissible {
  padding-right: 3.25rem;
}

.alert .close {
  opacity: 0.45;
  text-shadow: none;
}

.alert .close:hover,
.alert .close:focus {
  opacity: 0.75;
}

.alert-success {
  border-color: rgba(51, 138, 84, 0.18);
  background: linear-gradient(180deg, rgba(240, 251, 244, 0.98), rgba(232, 246, 237, 0.96));
  color: #1f6a3f;
}

.alert-danger {
  border-color: rgba(163, 52, 62, 0.16);
  background: linear-gradient(180deg, rgba(255, 244, 246, 0.98), rgba(251, 231, 235, 0.96));
  color: #8f2430;
}

.alert-warning {
  border-color: rgba(176, 118, 16, 0.18);
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(252, 241, 210, 0.96));
  color: #8f6415;
}

.alert-info {
  border-color: rgba(42, 102, 145, 0.16);
  background: linear-gradient(180deg, rgba(241, 248, 253, 0.98), rgba(227, 239, 248, 0.96));
  color: #24587d;
}

.alert-secondary {
  border-color: rgba(90, 107, 125, 0.14);
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.98), rgba(236, 242, 247, 0.96));
  color: #465b70;
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(28, 52, 74, 0.12);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 252, 0.92));
  color: #18324b !important;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(29, 53, 78, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-cta-btn:hover,
.page-cta-btn:focus {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 250, 0.95));
  border-color: rgba(28, 52, 74, 0.2);
  color: #102c44 !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 53, 78, 0.12);
}

.app-toast-copy-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.app-toast-copy-text {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.app-toast-copy-btn {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: 700;
}

.action-panel-callout {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(28, 52, 74, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.64);
}

.action-panel-callout-label {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a8097;
}

.action-panel-callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-panel-link {
  color: #1f537c;
  word-break: break-all;
}

.action-modal pre {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(236, 242, 248, 0.82);
  color: #16324a;
  white-space: pre-wrap;
}

.subscription-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(28, 52, 74, 0.08);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.94));
}

.subscription-hero-copy {
  flex: 1;
  min-width: 0;
}

.subscription-hero-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d8194;
  margin-bottom: 0.55rem;
}

.subscription-hero-title {
  color: #1c344a;
  font-weight: 700;
}

.subscription-hero-text {
  color: #5d7184;
  max-width: 42rem;
}

.subscription-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.85rem;
  min-width: 420px;
}

.subscription-hero-stat {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: #f5f8fb;
  border: 1px solid #dbe4ec;
}

.subscription-hero-stat-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #738598;
  margin-bottom: 0.45rem;
}

.subscription-hero-stat strong {
  color: #20384e;
  font-size: 1.1rem;
}

.subscription-hero-stat-value {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.subscription-hero-status-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.subscription-hero-status-icon.is-positive {
  color: #237645;
  background: #e7f6ec;
  border: 1px solid #c8e8d3;
}

.subscription-hero-status-icon.is-negative {
  color: #b33a4f;
  background: #f9e6ea;
  border: 1px solid #efcfd7;
}

.subscription-kpi-action {
  margin-top: 0.7rem;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.subscription-action-card {
  border: 1px solid #d4deea;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(29, 53, 78, 0.05);
  background: #fff;
}

.subscription-tabs-wrap {
  margin-top: 0.25rem;
}

.subscription-tabs {
  border-bottom: 1px solid #d7e1ea;
  margin-bottom: 1rem;
}

.subscription-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.8rem;
  border-top-right-radius: 0.8rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #5b7188;
  font-weight: 700;
  padding: 0.75rem 1rem;
  background: transparent;
  margin-bottom: -1px;
}

.subscription-tabs .nav-link:hover,
.subscription-tabs .nav-link:focus {
  border-color: transparent transparent #c5d4e2 transparent;
  color: #28445e;
}

.subscription-tabs .nav-link.active {
  color: #203b55;
  background: #ffffff;
  border-color: #d7e1ea #d7e1ea #ffffff #d7e1ea;
  box-shadow: none;
}

.subscription-tab-content {
  min-height: 220px;
}

.subscription-action-card-header {
  background: linear-gradient(180deg, #eef4fa 0%, #e7eef6 100%);
  border-bottom: 1px solid rgba(28, 52, 74, 0.12);
  font-size: 0.98rem;
  font-weight: 700;
  color: #233d57;
  padding: 1rem 1.3rem;
}

.subscription-action-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  gap: 1rem;
}

.subscription-info-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dbe4ec;
  border-radius: 0.95rem;
  background: #f9fbfd;
  color: #23425d;
}

.subscription-info-main {
  min-width: 0;
}

.subscription-info-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7b8da0;
  margin-bottom: 0.35rem;
}

.subscription-info-title {
  color: #1e3a52;
  font-weight: 700;
  font-size: 1rem;
}

.subscription-info-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.subscription-info-meta {
  color: #627689;
  margin-top: 0.15rem;
}

.subscription-info-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.subscription-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.subscription-status-badge.is-active {
  background: #e7f6ec;
  color: #237645;
  border-color: #c8e8d3;
}

.subscription-status-badge.is-warning {
  background: #fff4de;
  color: #9a6a10;
  border-color: #f2dfb0;
}

.subscription-status-badge.is-inactive {
  background: #f7eaec;
  color: #984255;
  border-color: #ecd0d7;
}

.subscription-empty-state {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px dashed #cfdae5;
  background: #fbfcfd;
}

.subscription-empty-title {
  font-weight: 700;
  color: #284159;
  margin-bottom: 0.25rem;
}

.subscription-empty-copy {
  color: #677b8f;
}

.subscription-copy-block {
  color: #4e5f71;
}

.subscription-copy-title {
  font-weight: 700;
  color: #223b54;
  margin-bottom: 0.35rem;
}

.subscription-copy-block ul {
  padding-left: 1.15rem;
  margin: 0.6rem 0 0;
}

.subscription-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.subscription-card-actions-top {
  justify-content: space-between;
  align-items: flex-start;
}

.subscription-inline-action {
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #516c86;
}

.subscription-inline-action:hover,
.subscription-inline-action:focus {
  color: #1f3d58;
  text-decoration: none;
}

.subscription-inline-primary-btn {
  padding: 0.52rem 1rem;
  font-size: 0.92rem;
}

.subscription-primary-btn {
  border-radius: 0.8rem;
  padding: 0.78rem 1.15rem;
  font-weight: 700;
}

.subscription-secondary-btn {
  border-radius: 0.8rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.subscription-credit-select {
  height: calc(1.5em + 1.5rem + 2px);
  border-radius: 0.85rem;
  border-color: #d3dee8;
}

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

.subscription-metric-card {
  padding: 1rem 1.05rem;
  border: 1px solid #dbe4ec;
  border-radius: 0.95rem;
  background: #f9fbfd;
}

.subscription-metric-label {
  display: block;
  color: #708398;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.subscription-usage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subscription-range-group {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.subscription-usage-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subscription-range-btn {
  border-radius: 999px;
  font-weight: 700;
  min-width: 64px;
}

.subscription-project-filter {
  min-width: 220px;
  border-radius: 0.8rem;
  border-color: #d3dee8;
}

.subscription-usage-metric-grid {
  margin-bottom: 1rem;
}

.subscription-usage-section {
  margin-top: 1.15rem;
}

.subscription-table-wrap {
  border: 1px solid #dbe4ec;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #fff;
}

.subscription-usage-table {
  margin-bottom: 0;
}

.subscription-usage-table thead th {
  border-top: 0;
  background: #f7fafc;
  color: #5f7489;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subscription-usage-table td,
.subscription-usage-table th {
  padding: 0.7rem 0.75rem;
  vertical-align: middle;
}

.subscription-usage-table {
  font-size: 0.8rem;
}

.subscription-usage-table tbody tr:last-child td {
  border-bottom: 0;
}

.subscription-metric-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #1f3951;
}

.subscription-metric-foot {
  display: block;
  margin-top: 0.35rem;
  color: #66798d;
}

.public-auth-shell {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #eef3f8 0%, #dce6f2 52%, #c9d6e6 100%);
}

.public-auth-hero {
  min-height: 100vh;
  padding: 4rem 4.5rem;
  color: #17324d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.15)),
    linear-gradient(135deg, #d7e5f4 0%, #afc9df 100%);
  position: relative;
  overflow: hidden;
}

.public-auth-hero:before,
.public-auth-hero:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.public-auth-hero:before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
}

.public-auth-hero:after {
  width: 240px;
  height: 240px;
  bottom: 40px;
  left: -80px;
}

.public-auth-hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.public-auth-logo {
  max-width: 240px;
  margin-bottom: 2rem;
}

.public-auth-badge {
  padding: 0.55rem 0.9rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #35536f;
}

.public-auth-title {
  font-family: "Lora", serif;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.public-auth-copy {
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(23, 50, 77, 0.82);
}

.public-auth-panel {
  max-width: 560px;
  padding: 2rem;
}

.public-auth-mobile-brand {
  margin-bottom: 1.5rem;
}

.public-auth-mobile-logo {
  max-width: 220px;
  margin-bottom: 0.75rem;
}

.public-auth-mobile-tagline {
  color: #5b7085;
  font-size: 0.98rem;
}

.public-auth-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(43, 68, 95, 0.14);
}

.public-auth-card-body {
  padding: 3rem;
}

.public-auth-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6a829a;
}

.public-auth-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3e556d;
}

.public-auth-social {
  margin-bottom: 1.5rem;
}

.public-auth-social-list {
  display: grid;
  gap: 0.75rem;
}

.public-auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border-color: #d3dce8;
  background: #fff;
  color: #27435e;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.public-auth-social-btn:hover {
  background: #f6f9fc;
  border-color: #b7c7d8;
  color: #1e3954;
  text-decoration: none;
  transform: translateY(-1px);
}

.public-auth-social-btn i {
  font-size: 1rem;
}

.public-auth-divider {
  position: relative;
  margin: 1.25rem 0 0;
  text-align: center;
}

.public-auth-divider:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #dce5ee;
}

.public-auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  color: #7a8da1;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.public-auth-input {
  height: auto;
  padding: 0.95rem 1rem;
  border: 1px solid #d6e0ea !important;
  border-radius: 0.95rem;
  background: #f9fbfd;
  box-shadow: none !important;
}

.public-auth-input:focus {
  border-color: #9bb6cf !important;
  background: #fff;
}

.public-auth-submit {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  font-weight: 600;
}

.public-auth-toggle {
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.public-auth-link {
  color: #597792;
}

.public-auth-link:hover {
  color: #294865;
  text-decoration: none;
}

.public-auth-footer {
  padding: 1.25rem 0 0.5rem;
  color: #55697d;
}

.public-auth-footer a {
  color: #35536f;
}

.app-shell.app-shell-grid {
  max-width: none;
  width: 100%;
}

.app-shell-grid > .container-fluid {
  max-width: none;
}

.esp-grid-page {
  --esp-grid-font-scale: 0.75;
  height: calc(100vh - 104px);
  height: calc(100dvh - 104px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0 1rem;
}

.esp-grid-control-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0.5rem;
  border: 1px solid rgba(28, 52, 74, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(29, 53, 78, 0.08);
}

.esp-project-toolbar {
  flex-wrap: nowrap;
  overflow: visible;
}

.esp-project-title {
  flex: 1 1 230px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #18314a;
  line-height: 1;
}

.esp-project-title i {
  color: #111827;
  font-size: 1rem;
}

.esp-project-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.3rem;
}

.esp-project-stats {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34495f;
  font-size: 0.78rem;
  white-space: nowrap;
}

.esp-project-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(28, 52, 74, 0.1);
  border-radius: 0.5rem;
  background: #f8fbfd;
}

.esp-project-stats b {
  color: #172f49;
}

.esp-project-tabs {
  flex: 0 0 auto;
}

.esp-project-tabs .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  border: 1px solid rgba(28, 52, 74, 0.1);
  color: #30465d;
  font-weight: 700;
  white-space: nowrap;
}

.esp-project-tabs .btn.active {
  color: #1f68e5;
  background: #eef5ff;
}

.esp-project-search {
  flex: 0 1 360px;
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.esp-project-search > i {
  position: absolute;
  left: 0.8rem;
  color: #7b8b9d;
  pointer-events: none;
  z-index: 2;
}

.esp-project-search .esp-grid-search-input {
  min-width: 150px;
  height: 2.35rem;
  padding-left: 2.05rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.esp-project-search .esp-grid-filter-select {
  width: 8.2rem;
  height: 2.35rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.esp-grid-icon-btn {
  flex: 0 0 auto;
  width: 2.35rem;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
}

.esp-project-menu {
  min-width: 16rem;
  border-radius: 0.5rem;
  border-color: rgba(28, 52, 74, 0.12);
  box-shadow: 0 18px 44px rgba(26, 48, 70, 0.18);
}

.esp-project-menu .dropdown-item,
.esp-project-menu .dropdown-item-text {
  font-size: 0.92rem;
  white-space: nowrap;
}

.esp-grid-control-title {
  flex: 1 1 auto;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0.5rem;
  line-height: 1.12;
}

.esp-grid-control-title span {
  color: #66798d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.esp-grid-control-title strong {
  color: #153049;
  font-size: 1.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esp-grid-control-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  border-radius: 0.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.esp-grid-font-controls {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
}

.esp-grid-font-btn {
  width: 2.35rem;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border-radius: 0.75rem;
}

.esp-grid-font-btn .fa-font {
  font-size: 0.95rem;
}

.esp-grid-font-btn .fa-minus,
.esp-grid-font-btn .fa-plus {
  font-size: 0.62rem;
}

.esp-grid-shell {
  flex: 1 1 auto;
  min-height: 0;
}

.esp-grid-fragment-wrap {
  height: 100%;
  min-height: 0;
}

.esp-grid-board {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: auto;
  font-size: calc(1rem * var(--esp-grid-font-scale, 0.75));
  border: 1px solid rgba(28, 52, 74, 0.12);
  border-radius: 0.9rem;
  background: #f7fafc;
  box-shadow: 0 16px 42px rgba(29, 53, 78, 0.1);
}

.esp-grid-head,
.esp-grid-body {
  display: grid;
  min-width: max(100%, 1120px);
}

.esp-grid-head {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid #d8e2ec;
  background: #edf3f8;
}

.esp-grid-head-cell {
  min-height: 3rem;
  padding: 0.85rem 0.9rem;
  border-right: 1px solid #d8e2ec;
  color: #30475f;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.esp-grid-source-head {
  position: sticky;
  left: 0;
  z-index: 7;
  width: var(--esp-source-column-width, 340px);
  background: #edf3f8;
}

.esp-grid-body {
  grid-auto-rows: minmax(88px, 100px);
}

.esp-grid-source-cell,
.esp-grid-cell {
  min-width: 0;
  height: 100px;
  max-height: 100px;
  border-right: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
  background: #fff;
  overflow: auto;
}

.esp-grid-source-cell {
  position: sticky;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  column-gap: 0.45rem;
  align-items: start;
  width: var(--esp-source-column-width, 340px);
  padding: 0.85rem 0.9rem;
  background: #f9fbfd;
  overflow: auto;
}

.esp-grid-source-button {
  display: block;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.esp-grid-source-lock-btn {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #607286;
  cursor: pointer;
}

.esp-grid-source-lock-btn:hover {
  color: #17324d;
}

.esp-grid-source-lock-btn:disabled {
  cursor: wait;
  opacity: 0.55;
}

.esp-grid-source-button:hover .esp-grid-source-title {
  color: #1f6feb;
  text-decoration: underline;
}

.esp-grid-source-title {
  color: #17324d;
  font-weight: 800;
  font-size: 1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esp-grid-source-meta {
  margin-top: 0.45rem;
}

.esp-grid-placeholder-row,
.esp-grid-cell-empty {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 251, 0.92));
}

.esp-grid-placeholder-row {
  display: block;
}

.esp-grid-cell {
  position: relative;
  padding: 0.78rem 0.85rem;
  color: #18324b;
  font-size: 1em;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.esp-grid-cell-editable {
  cursor: text;
  outline: 0;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.esp-grid-cell-editable:hover,
.esp-grid-cell-editable:focus {
  background: #f4fbf8;
  box-shadow: inset 0 0 0 2px rgba(14, 118, 110, 0.24);
}

.esp-grid-cell-popout-btn {
  position: sticky;
  top: 0.15rem;
  right: 0.15rem;
  float: right;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0 0 0.25rem 0.35rem;
  padding: 0;
  border: 1px solid rgba(48, 71, 95, 0.16);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  color: #486176;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 4px 10px rgba(29, 53, 78, 0.12);
  transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.esp-grid-cell:hover .esp-grid-cell-popout-btn,
.esp-grid-cell:focus-within .esp-grid-cell-popout-btn {
  opacity: 1;
}

.esp-grid-cell-popout-btn:hover,
.esp-grid-cell-popout-btn:focus {
  color: #17324d;
  border-color: rgba(48, 71, 95, 0.32);
}

.esp-grid-cell-locked {
  cursor: not-allowed;
  background: #f8fafc;
}

.esp-grid-cell-locked:hover,
.esp-grid-cell-locked:focus {
  background: #f8fafc;
  box-shadow: none;
}

.esp-grid-cell-editable:empty:before {
  content: attr(data-placeholder);
  color: #9aabba;
}

.esp-grid-system-cell {
  cursor: default;
}

.esp-grid-system-text-cell {
  cursor: text;
}

.esp-grid-system-muted {
  color: #9aabba;
}

.esp-grid-show-more {
  display: block;
  margin-top: 0.2rem;
  color: #607286;
  font-size: 0.82em;
}

.esp-grid-board .esp-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75em;
}

.esp-grid-row-extracting {
  opacity: 0.5;
}

.esp-grid-row-hidden {
  display: none !important;
}

.esp-grid-cell-editable.is-saving {
  background: #fff8e5;
}

.esp-grid-cell-editable.is-saved {
  background: #edf9f0;
}

.esp-grid-cell-editable.is-error {
  background: #fff0f2;
  box-shadow: inset 0 0 0 2px rgba(190, 52, 65, 0.24);
}

.esp-grid-cell-modal-textarea {
  min-height: min(58vh, 620px);
  font-size: 1rem;
  line-height: 1.45;
}

.esp-source-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 8px;
}

.esp-source-summary strong,
.esp-source-summary span {
  display: block;
}

.esp-source-summary strong {
  margin-bottom: 8px;
  color: #52677d;
}

.esp-source-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e0e7ef;
}

.esp-source-field-row {
  margin-bottom: 18px;
}

.esp-source-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 700;
  color: #1e3550;
}

.esp-source-file-lock-btn,
.esp-source-field-lock-btn {
  border: 0;
  background: transparent;
  color: #17324d;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.esp-source-file-lock-btn:hover,
.esp-source-field-lock-btn:hover {
  color: #1f6feb;
}

.esp-source-file-lock-btn:disabled,
.esp-source-field-lock-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.esp-source-field-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.esp-source-save-file,
.esp-source-save-field {
  min-height: 48px;
}

.esp-source-save-file.is-saving,
.esp-source-save-field.is-saving {
  opacity: 0.6;
}

.esp-grid-drop-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 45, 67, 0.54);
  color: #fff;
  pointer-events: none;
}

.esp-grid-drop-layer div {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  background: rgba(10, 26, 42, 0.72);
  font-weight: 800;
}

.esp-grid-drop-layer i {
  font-size: 1.4rem;
}

.esp-grid-board.is-dragging .esp-grid-drop-layer,
.esp-grid-board.is-uploading .esp-grid-drop-layer {
  display: flex;
}

.esp-add-data-dropzone {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
  padding: 1.5rem;
  border: 2px dashed #c7d6e4;
  border-radius: 0.9rem;
  background: #f8fbfd;
  text-align: center;
}

.esp-add-data-dropzone i {
  color: #0e766e;
  font-size: 2.4rem;
}

.esp-add-data-dropzone h3,
.esp-wizard-panel h3 {
  margin: 0;
  color: #17324d;
  font-size: 1.1rem;
}

.esp-add-data-dropzone p {
  max-width: 32rem;
  margin: 0;
  color: #607286;
}

.esp-wizard-grid {
  display: grid;
  gap: 1rem;
}

.esp-wizard-panel {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #d9e3ee;
  border-radius: 0.9rem;
  background: #fbfdff;
}

.esp-wizard-panel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: #0e766e;
  color: #fff;
  font-weight: 800;
}

.esp-wizard-panel-body label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  color: #53697e;
  font-weight: 700;
}

.esp-wizard-textarea {
  min-height: 10rem;
}

.esp-check-row {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
}

.esp-check-row input {
  flex: 0 0 auto;
}

.esp-wizard-upload-callout {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  margin: 0.85rem 0;
  border-radius: 0.75rem;
  background: #eef6f5;
  color: #234a48;
  font-weight: 700;
}

.esp-export-modal-actions {
  display: grid;
  gap: 0.75rem;
}

.esp-modal-table thead th {
  border-top: 0;
  color: #53697e;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .esp-grid-page {
    height: calc(100vh - 90px);
    height: calc(100dvh - 90px);
  }

  .esp-grid-control-row {
    flex-wrap: wrap;
  }

  .esp-grid-control-title {
    order: -1;
    flex-basis: 100%;
  }

  .esp-grid-font-controls {
    margin-left: 0;
  }

  .esp-grid-board {
    height: 100%;
  }
}

.app-shell {
  background: transparent !important;
  border-radius: 0 !important;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #eef3f8 0%, #dde7f2 55%, #d5e0eb 100%) !important;
}

.app-navbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0;
  padding-right: 0;
}

.app-navbar .nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: #17324d !important;
  font-weight: 600;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.app-navbar .nav-link.dropdown-toggle:hover,
.app-navbar .nav-link.dropdown-toggle:focus,
.app-navbar .show > .nav-link.dropdown-toggle {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(30, 57, 82, 0.08);
  color: #102c44 !important;
}

.app-navbar-menu {
  min-width: 14rem;
  margin-top: 0.7rem;
  padding: 0.45rem;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
  box-shadow: 0 24px 50px rgba(29, 53, 78, 0.16);
}

.app-navbar-menu .dropdown-divider {
  margin: 0.35rem 0;
  border-top-color: rgba(23, 50, 77, 0.08);
}

.app-navbar-menu .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  color: #23415d;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.app-navbar-menu .dropdown-item:hover,
.app-navbar-menu .dropdown-item:focus {
  background: #edf4fa;
  color: #17324d;
  transform: translateY(-1px);
}

.app-navbar-menu .dropdown-item:active {
  background: #ddeaf5;
  color: #102c44;
}

@media (max-width: 991.98px) {
  .public-auth-shell {
    padding: 1.5rem 1rem;
  }

  .action-modal-dialog {
    width: calc(100vw - 0.5rem);
    margin: 0.25rem auto;
  }

  .action-modal-body {
    min-height: 68vh;
    max-height: 82vh;
    padding: 1rem;
  }

  .action-modal-header,
  .action-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .public-auth-panel {
    max-width: 100%;
    padding: 0;
  }

  .public-auth-card-body {
    padding: 2rem 1.5rem;
  }

  .public-auth-footer {
    padding-top: 1rem;
  }

  .public-auth-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem;
  }

  .public-auth-actions .ml-auto {
    margin-left: 0 !important;
  }

  .public-auth-toggle {
    width: 100%;
  }
}

.dashboard-shell {
  padding: 1rem 0 2rem;
}

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

.dashboard-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d8094;
}

.dashboard-title {
  font-family: "Lora", serif;
  color: #19324b;
}

.dashboard-subtitle {
  color: #627487;
  max-width: 46rem;
}

.dashboard-create-btn {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
}

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

.dashboard-density-toggle {
  background: rgba(255, 255, 255, 0.28);
  padding: 0.14rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(28, 52, 74, 0.12);
  backdrop-filter: blur(6px);
}

.dashboard-density-btn {
  border-radius: 999px !important;
  min-width: 4.7rem;
  padding: 0.32rem 0.72rem;
  font-size: 0.82rem;
  line-height: 1.2;
  border-color: transparent !important;
  background: transparent !important;
  color: #5a7086;
  box-shadow: none !important;
}

.dashboard-density-btn.active,
.dashboard-density-btn.btn-primary {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #18324b !important;
}

.dashboard-project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-row-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 254, 0.84));
  border: 1px solid rgba(28, 52, 74, 0.05);
  border-radius: 1.35rem;
  box-shadow: 0 10px 24px rgba(29, 53, 78, 0.05);
  margin-bottom: 1rem;
}

.project-row-card.is-drop-target .project-row-main {
  box-shadow: inset 0 0 0 2px rgba(22, 119, 241, 0.38), 0 18px 34px rgba(22, 119, 241, 0.14);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(232, 242, 255, 0.94));
}

.project-row-card.is-drop-target .project-row-files {
  border-top-color: rgba(22, 119, 241, 0.22);
}

.project-row-card.is-drop-target::after {
  content: "Drop files to add new sources";
  position: absolute;
  inset: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(22, 119, 241, 0.55);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  color: #1259b8;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
  z-index: 3;
}

.project-row-card.is-uploading-files .project-row-main {
  opacity: 0.78;
}

.project-row-card-enter {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.project-row-card-enter.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 260ms ease;
}

.project-row-placeholder-card {
  overflow: hidden;
}

.project-row-placeholder-card .project-row-main {
  position: relative;
}

.project-row-placeholder-card .project-row-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: dashboardProjectPlaceholderShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

.project-row-placeholder-top,
.project-row-placeholder-metrics,
.project-row-placeholder-files {
  position: relative;
  z-index: 1;
}

.project-row-placeholder-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.project-row-placeholder-title {
  color: #19324b;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.project-row-placeholder-subtitle {
  color: #73869a;
  font-size: 0.95rem;
}

.project-row-placeholder-badge {
  flex: 0 0 auto;
}

.project-row-placeholder-pill,
.project-row-placeholder-line,
.project-row-placeholder-block {
  display: block;
  background: linear-gradient(180deg, rgba(225, 233, 241, 0.95), rgba(214, 224, 235, 0.9));
  border-radius: 999px;
}

.project-row-placeholder-pill {
  width: 110px;
  height: 32px;
}

.project-row-placeholder-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.project-row-placeholder-line {
  width: 180px;
  height: 18px;
}

.project-row-placeholder-line.is-short {
  width: 120px;
}

.project-row-placeholder-line.is-medium {
  width: 150px;
}

.project-row-placeholder-files {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-row-placeholder-block {
  width: 100%;
  height: 72px;
  border-radius: 1rem;
}

.project-row-placeholder-card.is-load-error .project-row-main::after {
  animation: none;
  display: none;
}

@keyframes dashboardProjectPlaceholderShimmer {
  100% {
    transform: translateX(100%);
  }
}

.project-row-main {
  padding: 1.4rem;
}

.project-row-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.project-row-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-row-line-primary {
  align-items: flex-start;
}

.project-row-line-secondary {
  align-items: flex-end;
}

.project-row-title-block,
.project-row-settings {
  min-width: 0;
}

.project-row-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-row-title {
  font-size: 1.45rem;
  color: #19324b;
}

.project-status-badge,
.project-file-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.project-status-badge.is-ready,
.project-file-status.is-ready {
  background: #e7f7ec;
  color: #16733a;
}

.project-status-badge.is-indexing,
.project-file-status.is-indexing {
  background: #eef4fb;
  color: #476887;
}

.project-status-badge.is-empty,
.project-file-status.is-empty {
  background: #f3f5f7;
  color: #6b7d8f;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-metric-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(237, 243, 248, 0.78);
  color: #4b6278;
  font-size: 0.88rem;
}

.project-metric-pill strong {
  margin-right: 0.35rem;
  color: #18324b;
}

.project-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 34rem;
  margin-left: auto;
}

.project-row-settings {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-left: auto;
}

.dashboard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border-radius: 999px;
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  font-size: 0.84rem;
  line-height: 1.1;
  border-color: rgba(79, 102, 125, 0.68);
  background: rgba(255, 255, 255, 0.56);
  color: #33506b;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-action-btn.btn-primary {
  border-color: #1677f1;
  background: linear-gradient(180deg, #2d8cff, #1677f1);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 119, 241, 0.22);
}

.dashboard-action-btn i {
  font-size: 0.95em;
}

.dashboard-action-btn.btn-primary:hover:not(:disabled),
.dashboard-action-btn.btn-primary:focus:not(:disabled) {
  background: linear-gradient(180deg, #4699ff, #1d82fb);
  border-color: #1677f1;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(22, 119, 241, 0.28);
}

.dashboard-action-btn:hover:not(:disabled),
.dashboard-action-btn:focus:not(:disabled) {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(51, 80, 107, 0.72);
  color: #1f3f5a;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(29, 53, 78, 0.04);
}

.dashboard-action-btn:disabled,
.dashboard-action-btn.disabled {
  border-color: rgba(110, 126, 143, 0.38);
  background: rgba(219, 227, 235, 0.72);
  color: #8b99a7;
  opacity: 1;
  box-shadow: none;
  cursor: not-allowed;
}

.dashboard-action-btn:disabled i,
.dashboard-action-btn.disabled i {
  opacity: 0.72;
}

.project-row-files {
  border-top: 1px solid rgba(28, 52, 74, 0.08);
  padding-top: 1.15rem;
}

.project-row-files-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-files-title {
  font-size: 1rem;
  color: #1d3852;
}

.project-files-copy {
  color: #6a7f93;
  font-size: 0.92rem;
}

.project-upload-trigger {
  border-radius: 999px;
  font-weight: 600;
}

.project-upload-hidden {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.project-upload-form input[type="file"],
.project-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.project-settings-tab-content {
  padding-top: 0.25rem;
}

#global\\[fields\\]\\[agent_specificationISsmallplaintextbox\\] {
  min-height: 640px;
  font-family: "Courier New", Courier, monospace;
  font-size: 9pt;
  line-height: 1.45;
}

.project-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.project-source-card {
  position: relative;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 254, 0.88));
  border: 1px solid rgba(203, 216, 229, 0.95);
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(29, 53, 78, 0.08);
}

.project-source-top-controls {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 1;
}

.project-source-settings-trigger,
.project-source-summary-trigger {
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d6e0ea;
  background: #f7f9fc;
  color: #71859a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-source-summary-trigger:hover,
.project-source-summary-trigger:focus,
.project-source-settings-trigger:hover,
.project-source-settings-trigger:focus {
  background: #edf3f8;
  border-color: #c6d3df;
  color: #42596f;
}

.project-source-top-controls .btn i {
  font-size: 0.68rem;
}

.source-summary-preview {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #31485f;
}

.project-source-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.project-source-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d6e0ea;
  background: #f7f9fc;
  color: #6d8195;
  box-shadow: none;
}

.project-source-actions .btn:hover,
.project-source-actions .btn:focus {
  border-color: #c6d3df;
  background: #edf3f8;
  color: #42596f;
}

.project-source-actions .btn i {
  font-size: 0.68rem;
}

.project-source-main {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.project-source-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(223, 234, 244, 0.95);
  color: #31516d;
  flex: 0 0 auto;
  font-size: 1rem;
}

.project-source-copy {
  min-width: 0;
  flex: 1;
}

.project-source-name {
  margin-bottom: 0.55rem;
  color: #1f3a54;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  word-break: break-word;
}

.project-source-subline {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.project-source-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.project-source-warning-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-source-warning-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  background: #fff3db;
  border: 1px solid #f1d38a;
  color: #8b5e08;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.project-file-progress {
  color: #60758a;
  font-size: 0.86rem;
}

.project-file-empty {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.98), rgba(255, 231, 231, 0.94));
  color: #8a2d2d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.project-file-empty span {
  font-weight: 600;
  color: #7f1d1d;
}

.project-file-empty small {
  color: #9a4a4a;
}

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

.source-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  min-height: 160px;
  padding: 1rem;
  border: 1px solid rgba(79, 102, 125, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  color: #24445f;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.source-option-card.is-active:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.source-option-card.is-disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.source-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(223, 234, 244, 0.95);
  color: #31516d;
  font-size: 1rem;
}

.source-option-title {
  font-weight: 700;
  color: #17324d;
}

.source-option-copy {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #627487;
}

.source-option-badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(243, 245, 247, 1);
  color: #6b7d8f;
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .default-modal-header-main {
    align-items: flex-start;
  }

  .default-modal-header-actions {
    gap: 0.45rem;
  }

  .subscription-hero {
    flex-direction: column;
  }

  .subscription-hero-stats {
    min-width: 0;
  }

  .dashboard-header,
  .project-row-top,
  .project-row-line,
  .project-row-files-header {
    flex-direction: column;
    align-items: stretch;
  }

  .project-row-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .project-row-settings {
    justify-content: flex-start;
  }

  .dashboard-header-actions .btn,
  .project-upload-trigger {
    width: 100%;
  }

  .dashboard-density-toggle {
    width: 100%;
    display: flex;
  }

  .dashboard-density-toggle .dashboard-density-btn {
    flex: 1 1 0;
  }

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

@media (max-width: 767.98px) {
  .subscription-hero-stats,
  .subscription-metric-grid {
    grid-template-columns: 1fr;
  }

  .subscription-info-panel,
  .subscription-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .subscription-purchase-row > div {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .project-row-main {
    padding: 1rem;
  }

  .dashboard-action-btn {
    justify-content: center;
    width: 100%;
  }

  .project-source-list,
  .source-option-grid {
    grid-template-columns: 1fr;
  }

  .esp-source-summary {
    grid-template-columns: 1fr;
  }

  .project-source-main {
    gap: 0.75rem;
  }

  .project-source-subline {
    flex-direction: column;
    align-items: stretch;
  }

  .project-source-actions {
    margin-left: 0;
  }
}

.dashboard-project-list.is-compact .project-row-main {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dashboard-project-list.is-compact .project-row-main {
  cursor: pointer;
}

.dashboard-project-list.is-compact .project-row-top {
  margin-bottom: 0;
}

.dashboard-project-list.is-compact .project-row-files {
  display: none;
}

.dashboard-project-list.is-compact .project-row-card.is-expanded .project-row-files {
  display: block;
}

.dashboard-project-list.is-compact .project-row-title {
  font-size: 1.25rem;
}

.dashboard-project-list.is-compact .project-row-placeholder-top {
  margin-bottom: 0.65rem;
}

.dashboard-project-list.is-compact .project-row-placeholder-title {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.dashboard-project-list.is-compact .project-row-placeholder-subtitle {
  font-size: 0.85rem;
}

.dashboard-project-list.is-compact .project-row-placeholder-metrics {
  margin-bottom: 0;
  gap: 0.6rem;
}

.dashboard-project-list.is-compact .project-row-placeholder-line {
  height: 16px;
}

.dashboard-project-list.is-compact .project-row-placeholder-line.is-short {
  width: 100px;
}

.dashboard-project-list.is-compact .project-row-placeholder-line {
  width: 140px;
}

.dashboard-project-list.is-compact .project-row-placeholder-line.is-medium {
  width: 120px;
}

.dashboard-project-list.is-compact .project-row-placeholder-files {
  display: none;
}

.compact-sources-btn {
  display: none;
}

.dashboard-project-list.is-compact .compact-sources-btn {
  display: inline-flex;
}

.dashboard-project-list.is-compact .project-row-card.is-expanded .compact-sources-btn {
  display: none;
}

/* Nerko-inspired marketplace skin */
:root {
  --market-bg: #090014;
  --market-panel: #171024;
  --market-panel-2: #211735;
  --market-ink: #ffffff;
  --market-muted: rgba(255, 255, 255, 0.68);
  --market-line: rgba(255, 255, 255, 0.1);
  --market-cyan: #00d9ff;
  --market-pink: #f40bff;
  --market-violet: #671cff;
  --market-gold: #ffb21a;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--market-ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(145deg, #0c0018 0%, #100326 48%, #05000e 100%) !important;
  background-size: 92px 92px, 92px 92px, auto;
}

.app-shell {
  position: relative;
  min-height: calc(100vh - 88px);
  max-width: none;
  padding: 0 4.5rem 2rem;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible;
}

.app-shell:before,
.app-shell:after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.app-shell:before {
  inset: 0;
  background:
    linear-gradient(115deg, rgba(103, 28, 255, 0.18), transparent 36%),
    linear-gradient(245deg, rgba(0, 217, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(244, 11, 255, 0.08), transparent 62%);
}

.app-shell:after {
  top: 84px;
  right: -12vw;
  width: 42vw;
  height: 68vh;
  background: linear-gradient(160deg, rgba(244, 11, 255, 0.18), rgba(0, 217, 255, 0.06), transparent);
  transform: skewX(-11deg);
  filter: blur(34px);
}

.app-content {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2rem;
}

.app-navbar {
  position: sticky;
  top: 0.75rem;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 28px;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, padding 0.22s ease, backdrop-filter 0.22s ease;
}

.app-navbar.is-stuck {
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(9, 0, 20, 0.58) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px);
}

.app-navbar-logo {
  width: 168px;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.app-navbar .navbar-nav {
  align-items: center;
  gap: 0.55rem;
}

.app-navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.5rem 0.9rem !important;
  border: 0 !important;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 800;
  line-height: 1;
  background: transparent !important;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .nav-item.active .nav-link,
.app-navbar .show > .nav-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.app-navbar .market-login-pill {
  min-width: 104px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.app-navbar .market-account-link,
.app-navbar .market-account-link.dropdown-toggle {
  min-width: 176px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.08), 0 16px 38px rgba(0, 0, 0, 0.18);
}

.app-navbar .market-account-link i,
.app-navbar .market-account-link:after {
  color: rgba(0, 217, 255, 0.95) !important;
}

.app-navbar .market-account-link:hover,
.app-navbar .market-account-link:focus,
.app-navbar .show > .market-account-link {
  color: #ffffff !important;
  border-color: rgba(0, 217, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.2), 0 16px 38px rgba(0, 0, 0, 0.18) !important;
}

.app-navbar .navbar-toggler {
  border-color: var(--market-line);
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
}

.app-navbar-menu {
  min-width: 14rem;
  margin-top: 0.8rem;
  padding: 0.55rem;
  border: 1px solid var(--market-line);
  border-radius: 18px;
  background: rgba(18, 9, 34, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.app-navbar-menu .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.app-navbar-menu .dropdown-item:hover,
.app-navbar-menu .dropdown-item:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.app-navbar-menu .dropdown-divider {
  border-top-color: var(--market-line);
}

.market-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 210px);
  padding: 3rem 0 5rem;
}

.market-auth-mosaic {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.48;
  pointer-events: none;
}

.market-auth-tile {
  position: absolute;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(13, 5, 28, 0.82);
  box-shadow: inset 0 0 0 1px var(--market-line), 0 28px 80px rgba(0, 0, 0, 0.38);
  filter: none;
}

.market-auth-tile:after {
  display: none;
}

.tile-one {
  top: 4%;
  left: 4%;
  width: 24vw;
  height: 32vh;
  rotate: -7deg;
}

.tile-two {
  right: 6%;
  top: 10%;
  width: 22vw;
  height: 30vh;
  rotate: 5deg;
}

.tile-three {
  left: 20%;
  bottom: 4%;
  width: 23vw;
  height: 28vh;
  rotate: 9deg;
}

.tile-four {
  right: 18%;
  bottom: 10%;
  width: 20vw;
  height: 26vh;
  rotate: -4deg;
}

.market-auth-copy,
.market-auth-panel {
  position: relative;
  z-index: 1;
}

.market-auth-copy {
  max-width: 760px;
  text-align: center;
  justify-self: center;
}

.market-auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.95rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--market-line);
  border-radius: 999px;
  color: var(--market-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.market-auth-copy h1 {
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.market-auth-copy p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  line-height: 1.6;
}

.market-auth-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.market-auth-highlights div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--market-line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
}

.market-auth-highlights i {
  color: var(--market-gold);
}

.market-auth-panel {
  max-width: 480px;
  width: 100%;
  justify-self: end;
}

.market-auth-card {
  padding: 2.2rem;
  border: 1px solid var(--market-line);
  border-radius: 32px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(23, 16, 36, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.market-auth-logo {
  width: 190px;
  max-width: 76%;
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.market-auth-card-title {
  margin-bottom: 0.4rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.market-auth-card-copy {
  margin-bottom: 1.5rem;
  color: var(--market-muted);
}

.market-auth-card label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 800;
}

.market-auth-input,
.form-control.market-auth-input {
  min-height: 54px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none !important;
}

.market-auth-input:focus {
  border-color: rgba(0, 217, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.1);
}

.market-auth-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.market-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn-primary,
.market-auth-submit,
.dashboard-action-btn.btn-primary {
  border: 0 !important;
  color: #ffffff !important;
  background: linear-gradient(90deg, var(--market-violet), var(--market-pink)) !important;
  box-shadow: 0 14px 34px rgba(244, 11, 255, 0.24), 0 10px 28px rgba(103, 28, 255, 0.22) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.market-auth-submit:hover,
.market-auth-submit:focus,
.dashboard-action-btn.btn-primary:hover,
.dashboard-action-btn.btn-primary:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(244, 11, 255, 0.32), 0 12px 30px rgba(103, 28, 255, 0.3) !important;
}

.market-auth-submit {
  min-width: 150px;
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
}

.market-auth-link,
.btn-link {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.market-auth-link:hover,
.btn-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.market-landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 142px);
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.market-floater {
  display: none;
}

.floater-one {
  top: 16%;
  left: 11%;
  width: 68px;
  height: 68px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #a88cff 42%, #671cff 74%);
  box-shadow: 0 0 24px rgba(168, 140, 255, 0.55);
}

.floater-two {
  right: 13%;
  top: 26%;
  width: 104px;
  height: 104px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffb21a, #f40bff);
  transform: rotate(18deg);
  animation-duration: 10s;
}

.floater-three {
  right: 24%;
  bottom: 20%;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #ff7ab8 42%, #f40bff 74%);
  animation-duration: 7s;
}

.floater-four {
  left: 5%;
  top: 38%;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 35% 30%, #ffffff, #77f2e3 42%, #00d9ff 74%);
  animation-duration: 9s;
}

@keyframes marketFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -24px;
  }
}

.market-reveal {
  opacity: 0;
  transform: translateY(54px) scale(0.985);
  transition: opacity 720ms ease, transform 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.market-reveal-left {
  transform: translateX(-60px) scale(0.985);
}

.market-reveal-right {
  transform: translateX(60px) scale(0.985);
}

.market-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.market-parallax-layer {
  --parallax-y: 0px;
  --parallax-x: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  will-change: transform;
}

.market-sprite-icon {
  position: absolute;
  z-index: 0;
  display: block;
  width: 148px;
  height: 148px;
  pointer-events: none;
  background-image: url("img/icons.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

.icon-01 { top: 14%; left: 9%; background-position: 0% 0%; }
.icon-02 {
  right: -0.25rem;
  top: 26%;
  background-image: url("img/generated/icon_trophy.png");
  background-size: contain;
  background-position: center;
  clip-path: inset(0 0 0 10px);
}
.icon-03 { right: 4%; top: 8%; background-position: 66.666% 0%; }
.icon-04 { left: 8%; top: 18%; background-position: 100% 0%; }
.icon-05 { left: 12%; bottom: 18%; background-position: 0% 50%; }
.icon-06 {
  right: 4%;
  bottom: 14%;
  background-size: 500% 375%;
  background-position: 34.5% 50%;
}
.icon-07 { left: auto; right: 20%; top: 71%; background-position: 66.666% 50%; }
.icon-08 { right: 9%; top: 8%; background-position: 100% 50%; }
.icon-09 { right: 12%; top: 4%; background-position: 0% 100%; }
.icon-10 { left: 5%; top: 64%; background-position: 33.333% 100%; }
.icon-11 { right: auto; left: 5%; top: 72%; background-position: 66.666% 100%; }
.icon-12 { left: 14%; bottom: 12%; background-position: 100% 100%; }

.icon-extra-01 { left: auto; right: 20%; top: 72%; }
.icon-extra-02 { left: 7%; top: 58%; }
.icon-extra-03 { left: 6%; top: 88%; }
.icon-extra-05 { left: auto; right: 8%; top: 6%; }

.arcade-target-icon {
  right: 1%;
  top: 35%;
  bottom: auto;
}

.mobile-chest-icon {
  left: auto;
  right: 12%;
  top: -18%;
  z-index: 2;
  clip-path: inset(0 0 0 10px);
}

.mobile-rocket-icon {
  right: calc(6% - 450px);
  bottom: calc(10% + 130px);
}

.mobile-shield-icon {
  left: 24%;
  top: 76%;
}

.market-wobbler {
  animation: marketWobble 6.5s ease-in-out infinite;
}

.market-slide-floater {
  animation: marketSlideFloat 7.5s ease-in-out infinite;
}

@keyframes marketWobble {
  0%,
  100% {
    rotate: -7deg;
    scale: 1;
  }
  50% {
    rotate: 8deg;
    scale: 1.08;
  }
}

@keyframes marketSlideFloat {
  0%,
  100% {
    translate: -10px 0;
  }
  50% {
    translate: 14px -18px;
  }
}

.market-parallax-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.78fr);
  align-items: center;
  gap: 4rem;
  max-width: 1440px;
  min-height: 760px;
  margin: 0 auto;
  padding: 5.5rem 0;
}

.market-showcase-reverse .market-showcase-media {
  order: 2;
}

.market-showcase-reverse .market-showcase-copy {
  order: 1;
}

.market-showcase-media {
  position: relative;
  border-radius: 42px;
}

.market-showcase-media:before {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(103, 28, 255, 0.45), rgba(244, 11, 255, 0.28));
  filter: blur(42px);
}

.market-showcase-media img {
  display: block;
  width: 100%;
  border-radius: 42px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38), inset 0 0 0 1px var(--market-line);
}

.market-showcase-copy {
  position: relative;
  z-index: 1;
}

.market-showcase-copy h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 700;
  line-height: 0.9;
}

.market-showcase-copy p {
  max-width: 560px;
  margin-top: 1.2rem;
  color: var(--market-muted);
  font-size: 1.18rem;
  line-height: 1.62;
}

.market-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.market-hero-zigzag {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  margin: 0 auto 1.8rem;
  transform: none;
}

.market-hero-content h1,
.market-section-heading h2,
.market-landing-split h2 {
  margin: 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  font-weight: 700;
  line-height: 0.88;
  color: #ffffff;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.market-hero-content p {
  max-width: 760px;
  margin: 1.4rem auto 0;
  color: var(--market-muted);
  font-size: 1.24rem;
  line-height: 1.6;
}

.market-hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.3rem;
}

.market-landing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--market-line);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
}

.market-landing-link:hover {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.11);
}

.market-landing-section,
.market-landing-split {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 5.5rem 0;
}

.market-section-heading {
  max-width: 920px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.market-tool-grid,
.market-reason-grid,
.market-roadmap {
  display: grid;
  gap: 1.5rem;
}

.market-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-tool-card,
.market-reason-card,
.market-roadmap > div,
.market-faq-card {
  border: 1px solid var(--market-line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(23, 16, 36, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.market-tool-card,
.market-reason-card,
.market-roadmap > div,
.market-stat-grid div {
  transition-property: opacity, transform, box-shadow, border-color;
}

.market-tool-card:hover,
.market-reason-card:hover,
.market-roadmap > div:hover,
.market-stat-grid div:hover {
  border-color: rgba(244, 11, 255, 0.34) !important;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.36), 0 0 32px rgba(244, 11, 255, 0.08);
}

.market-tool-card {
  padding: 1.1rem 1.1rem 1.4rem;
}

.market-tool-media {
  min-height: 300px;
  margin-bottom: 1.35rem;
  border-radius: 24px;
  background-position: center;
  background-size: 128%;
  box-shadow: inset 0 0 0 1px var(--market-line);
}

.media-photobooth {
  background-image: linear-gradient(rgba(9, 0, 20, 0.08), rgba(9, 0, 20, 0.24)), url("img/hero_photobooth.png");
}

.media-html5 {
  background-image: linear-gradient(rgba(9, 0, 20, 0.08), rgba(9, 0, 20, 0.24)), url("img/hero_mobile.png");
}

.media-prizes {
  background-image: linear-gradient(rgba(9, 0, 20, 0.08), rgba(9, 0, 20, 0.24)), url("img/hero_arcade.png"), url("img/hero_mobile.png");
}

.market-tool-card h3,
.market-reason-card h3,
.market-roadmap h3,
.market-faq-card h3 {
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.market-tool-card p,
.market-reason-card p,
.market-roadmap p,
.market-faq-card p,
.market-landing-split p {
  color: var(--market-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.market-reason-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.market-reason-card {
  min-height: 350px;
  padding: 2rem;
}

.market-reason-card:nth-child(even) {
  margin-top: 3.5rem;
}

.market-reason-card strong {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--market-violet);
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 4rem;
  line-height: 0.9;
}

.market-landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: 4rem;
}

.market-landing-split h2 {
  font-size: clamp(3.1rem, 6.5vw, 6.2rem);
}

.market-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.market-stat-grid div {
  min-width: 0;
  min-height: 180px;
  padding: 1.45rem;
  border: 1px solid var(--market-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.market-stat-grid strong {
  display: block;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  line-height: 0.9;
  white-space: nowrap;
}

.market-stat-grid span {
  display: block;
  margin-top: 0.8rem;
  color: var(--market-muted);
  font-weight: 700;
}

.market-roadmap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-roadmap > div {
  padding: 2rem;
}

.market-roadmap span {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--market-pink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-faq-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.2rem;
}

.market-faq-card > div {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--market-line);
}

.market-faq-card > div:last-child {
  border-bottom: 0;
}

.market-glass-modal {
  background: rgba(4, 0, 12, 0.56);
  backdrop-filter: blur(10px);
  z-index: 3050;
}

.modal-backdrop {
  z-index: 3040;
}

.market-glass-modal .modal-dialog {
  position: relative;
  z-index: 3051;
  max-width: 520px;
}

.market-glass-modal-content {
  position: relative;
  padding: 2.2rem;
  border: 1px solid var(--market-line) !important;
  border-radius: 32px !important;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(18, 9, 34, 0.78) !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(22px);
}

.market-glass-modal.show .market-glass-modal-content {
  animation: marketModalPop 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes marketModalPop {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.market-glass-modal-content h2 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
}

.market-glass-modal-content p {
  margin-bottom: 1.4rem;
  color: var(--market-muted);
}

.market-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.market-modal-switch {
  margin-top: 1rem;
  color: var(--market-muted);
  font-weight: 700;
}

.market-modal-switch a {
  color: #ffffff;
}

.market-form-error {
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 120, 180, 0.35);
  border-radius: 14px;
  color: #ffffff;
  font-weight: 700;
  background: rgba(244, 11, 255, 0.14);
}

.market-credit-pill {
  border: 1px solid rgba(255, 178, 26, 0.34) !important;
  background: rgba(255, 178, 26, 0.1) !important;
  color: #ffe0a0 !important;
}

.market-app-page {
  position: relative;
  min-height: calc(100vh - 190px);
  padding: clamp(2.5rem, 5vw, 5rem) 0 4rem;
  overflow: hidden;
}

.market-app-hero {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.market-app-hero h1,
.market-game-detail h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.market-app-hero p,
.market-game-detail p {
  max-width: 760px;
  margin: 1.35rem auto 0;
  color: var(--market-muted);
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
}

.market-app-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
}

.market-game-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(24, 13, 38, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045), 0 26px 80px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.market-game-card:hover,
.market-game-card:focus {
  color: #ffffff;
  border-color: rgba(0, 217, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.12), 0 34px 90px rgba(0, 0, 0, 0.36);
  text-decoration: none;
  transform: translateY(-8px);
}

.market-game-card-image {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.market-game-card-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 0, 20, 0.66));
  pointer-events: none;
}

.market-game-card-image img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  transform: scale(1.04);
}

.market-game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.market-game-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.market-game-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--market-cyan);
  background: rgba(255, 255, 255, 0.055);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-game-card h2 {
  margin: auto 0 0.75rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 900;
  line-height: 0.95;
}

.market-game-card p {
  margin: 0;
  color: var(--market-muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

.market-game-detail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 240px);
}

.market-game-detail-copy {
  max-width: 720px;
}

.market-game-detail-copy .market-game-pills {
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.market-game-detail-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.market-game-detail-media img {
  display: block;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.market-app-float-one,
.market-app-float-two {
  z-index: 0;
  width: clamp(86px, 9vw, 150px);
  height: clamp(86px, 9vw, 150px);
  opacity: 0.9;
  pointer-events: none;
}

.market-app-float-one {
  left: 3%;
  top: 12%;
}

.market-app-float-two {
  right: 5%;
  top: 20%;
}

.market-support-page {
  display: flex;
  align-items: center;
}

.market-support-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.78fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
}

.market-support-copy {
  position: sticky;
  top: 7rem;
  max-width: 560px;
  padding-top: 1rem;
}

.market-support-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.market-support-copy p {
  margin: 1.25rem 0 0;
  color: var(--market-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
}

.market-support-card {
  width: 100%;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(18, 9, 34, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045), 0 30px 90px rgba(0, 0, 0, 0.3);
}

.market-support-card .row {
  margin-right: 0;
  margin-left: 0;
}

.market-support-card [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.market-support-card label {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Rajdhani", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-support-card .form-group {
  margin-bottom: 1.2rem;
}

.market-support-message {
  min-height: 320px;
  resize: vertical;
}

.market-support-submit {
  width: auto;
  min-width: 170px;
}

.market-profile-shell {
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.9fr);
}

.market-profile-card {
  margin-bottom: 1.1rem;
}

.market-profile-section-heading {
  margin-bottom: 1.25rem;
}

.market-profile-section-heading h2,
.market-profile-password-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.market-profile-section-heading p,
.market-profile-password-card p {
  margin: 0.45rem 0 0;
  color: var(--market-muted);
  font-weight: 700;
  line-height: 1.45;
}

.market-profile-section-spaced {
  margin-top: 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.market-profile-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.4rem;
}

.market-profile-save {
  width: auto;
  min-width: 170px;
}

.market-profile-password-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.2rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(0, 217, 255, 0.08), rgba(244, 11, 255, 0.05)),
    rgba(18, 9, 34, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.market-profile-password-card strong {
  color: #ffffff;
}

.market-profile-reset-link {
  flex: 0 0 auto;
  border-color: rgba(0, 217, 255, 0.28);
  color: #ffffff;
}

.market-profile-alert {
  margin-bottom: 1rem;
}

.market-status-page {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 260px);
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.market-status-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--market-line);
  border-radius: 32px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(18, 9, 34, 0.8);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.market-status-card h1 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.9;
}

.market-status-card p {
  max-width: 640px;
  color: var(--market-muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.market-status-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.market-status-icon {
  right: 10%;
  top: 10%;
  clip-path: inset(0 0 0 10px);
}

.market-status-icon-secondary {
  right: 20%;
  bottom: 8%;
  top: auto;
  left: auto;
  opacity: 0.72;
}

.market-toast-stack {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: min(380px, calc(100vw - 2rem));
  pointer-events: none;
}

.market-toast {
  position: relative;
  padding: 1rem 3rem 1rem 1.1rem;
  border: 1px solid rgba(255, 120, 180, 0.34);
  border-radius: 18px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(18, 9, 34, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 32px rgba(244, 11, 255, 0.14);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: auto;
  transform: translateX(18px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.market-toast.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.market-toast strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.market-toast span {
  display: block;
  color: var(--market-muted);
  font-weight: 700;
  line-height: 1.45;
}

.market-toast-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.market-signup-success-content {
  text-align: center;
}

.market-signup-success-content .market-auth-submit {
  width: auto;
  margin: 0.5rem auto 0;
}

.market-back-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--market-violet), var(--market-pink));
  box-shadow: 0 18px 42px rgba(244, 11, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.market-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.market-back-top:hover,
.market-back-top:focus {
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
}

.market-reset-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 250px);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.market-reset-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 2.5rem;
  border: 1px solid var(--market-line);
  border-radius: 32px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(23, 16, 36, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.market-reset-card-compact {
  text-align: center;
}

.market-reset-card h1 {
  margin: 0 0 1rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  color: #ffffff;
}

.market-reset-copy {
  margin-bottom: 1.6rem;
  color: var(--market-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.market-reset-copy strong {
  color: #ffffff;
}

.market-reset-card label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 800;
}

.market-reset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--market-violet), var(--market-pink));
  box-shadow: 0 18px 38px rgba(244, 11, 255, 0.25);
}

.market-reset-icon-warning {
  background: linear-gradient(135deg, #ffb21a, #f40bff);
}

.market-reset-center-actions {
  justify-content: center;
}

.app-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

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

.app-footer img {
  width: 100px;
  height: auto;
  vertical-align: middle;
}

.market-public-footer {
  position: relative;
  min-height: 620px;
  margin-top: 1rem;
  padding: 5.5rem 1.5rem 3rem;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 78%, rgba(103, 28, 255, 0.18), transparent 20%),
    radial-gradient(circle at 82% 70%, rgba(244, 11, 255, 0.15), transparent 18%),
    linear-gradient(180deg, rgba(9, 0, 20, 0), rgba(13, 2, 31, 0.72));
}

.market-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.market-public-footer h2 {
  margin: 0 auto 1rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(3.1rem, 7vw, 6.25rem);
  font-weight: 700;
  line-height: 0.9;
  color: #ffffff;
}

.market-public-footer p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--market-muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.market-footer-cta {
  min-width: 180px;
  min-height: 56px;
  margin-top: 2.2rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
}

.market-footer-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 5rem;
}

.market-footer-socials span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.market-footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.market-footer-brand img {
  width: 100px;
  height: auto;
}

.market-zigzag {
  display: none;
}

.market-footer-orb {
  display: none;
}

.market-footer-orb-one {
  top: 32%;
  left: 25%;
}

.market-footer-orb-two {
  top: 36%;
  right: 24%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #ff7ab8 38%, #f40bff 74%);
}

.market-footer-asset {
  position: absolute;
  z-index: 1;
  bottom: -28px;
  width: min(30vw, 360px);
  height: min(25vw, 290px);
  border-radius: 42px;
  opacity: 0.95;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.4));
}

.market-footer-asset-left {
  left: 5%;
  background:
    radial-gradient(circle at 28% 22%, #ffd66f 0 12%, transparent 13%),
    radial-gradient(circle at 65% 35%, #ffb21a 0 15%, transparent 16%),
    linear-gradient(145deg, #bda7ff, #6f45f6 58%, #2a1458);
}

.market-footer-asset-right {
  right: 6%;
  background:
    radial-gradient(circle at 72% 26%, #ffcf44 0 14%, transparent 15%),
    radial-gradient(circle at 28% 68%, #ffb21a 0 12%, transparent 13%),
    linear-gradient(145deg, #c8b7ff, #8060ff 56%, #392066);
}

.market-footer-asset-left:before,
.market-footer-asset-right:before {
  content: "";
  position: absolute;
  inset: 18% 16%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-shell-private {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.app-shell-private .app-content {
  max-width: 1520px;
  margin: 0 auto;
}

.dashboard-shell,
.subscription-hero,
.project-row-card,
.project-row-placeholder-card,
.action-modal-content,
.card,
.modal-content {
  color: #ffffff;
  border-color: var(--market-line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(23, 16, 36, 0.9) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.dashboard-title,
.dashboard-kicker,
.project-row-title,
.project-metric-pill strong,
.subscription-hero-title,
.action-modal-header .modal-title,
h1,
h2,
h3,
h4,
h5 {
  color: #ffffff;
}

.dashboard-title,
.project-row-title,
.subscription-hero-title {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 700;
}

.dashboard-subtitle,
.project-row-line-secondary,
.project-metric-pill,
.project-row-files,
.subscription-hero-text,
.fieldname,
.text-muted {
  color: var(--market-muted) !important;
}

.project-metric-pill,
.dashboard-density-toggle,
.dashboard-action-btn,
.source-option-card,
.subscription-hero-stat,
.subscription-info-panel,
.table,
.form-control,
.custom-select {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.88);
  background-color: rgba(255, 255, 255, 0.065);
}

.table {
  color: rgba(255, 255, 255, 0.82);
}

.table td,
.table th {
  border-top-color: rgba(255, 255, 255, 0.09);
}

.form-control,
.custom-select {
  border-radius: 14px;
  box-shadow: none !important;
}

.form-control:focus,
.custom-select:focus {
  border-color: rgba(0, 217, 255, 0.7) !important;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.09);
}

.dropdown-toggle {
  color: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

#roadmap,
#faq,
.market-public-footer {
  position: relative;
}

#collection:before,
#collection:after,
#roadmap:before,
#faq:before,
.market-public-footer:before {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  width: 148px;
  height: 148px;
  pointer-events: none;
  background-image: url("img/icons.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
  opacity: 0.78;
}

#collection:before {
  top: 18%;
  left: 8%;
  background-position: 66.666% 100%;
}

#collection:after {
  top: 32%;
  right: 8%;
  background-image: url("img/generated/icon_trophy.png");
  background-size: contain;
  background-position: center;
  clip-path: inset(0 0 0 10px);
}

#roadmap:before {
  top: 12%;
  right: 8%;
  background-position: 100% 0%;
}

#faq:before {
  top: 4%;
  left: 11%;
  background-position: 66.666% 50%;
}

.market-public-footer:before {
  top: 6%;
  right: 14%;
  background-image: url("img/generated/icon_trophy.png");
  background-size: contain;
  background-position: center;
  clip-path: inset(0 0 0 10px);
}

.market-public-footer:after {
  content: "";
  position: absolute;
  z-index: 0;
  display: block;
  width: 148px;
  height: 148px;
  left: 13%;
  bottom: 14%;
  pointer-events: none;
  background-image: url("img/icons.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  background-position: 0% 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
  opacity: 0.78;
}

#roadmap > *,
#faq > *,
.market-public-footer > * {
  position: relative;
  z-index: 1;
}

#collection > * {
  position: relative;
  z-index: 1;
}

#about .icon-09 {
  top: 58%;
  right: 41%;
  opacity: 0.72;
}

@media (max-width: 1399.98px) {
  .market-landing-hero .market-sprite-icon {
    display: block;
  }
}

@media (max-width: 1199.98px) {
  .app-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .market-game-detail {
    grid-template-columns: 1fr;
  }

  .icon-01 {
    left: 6%;
  }

  .icon-02 {
    right: 6%;
  }

  .icon-07,
  .icon-extra-01 {
    right: 22%;
  }

  .arcade-target-icon {
    right: 2%;
  }

  .icon-08,
  .icon-09 {
    right: 6%;
  }

  .market-landing-hero .market-sprite-icon {
    display: block;
  }

  .market-auth-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .market-auth-panel {
    justify-self: center;
  }
}

@media (max-width: 991.98px) {
  .app-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--market-line);
    border-radius: 22px;
    background: rgba(18, 9, 34, 0.96);
  }

  .app-navbar .navbar-nav {
    align-items: stretch;
  }

  .app-navbar .nav-link {
    justify-content: flex-start;
  }

  .market-landing-hero .market-sprite-icon {
    display: block;
  }

  .market-landing-hero .icon-07 {
    top: 79%;
    right: 18%;
  }

  .market-landing-hero .icon-10 {
    top: 74%;
    left: 8%;
  }

  .market-parallax-showcase .market-sprite-icon,
  .market-choose-section .market-sprite-icon,
  .market-landing-split .market-sprite-icon {
    opacity: 0.5;
  }

  .arcade-target-icon {
    right: 1rem;
    top: 30%;
  }

  .market-game-detail-media img {
    min-height: 340px;
  }
}

@media (max-width: 767.98px) {
  .app-shell {
    min-height: calc(100vh - 76px);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app-navbar {
    padding: 1rem 0;
  }

  .app-navbar-logo {
    width: 134px;
  }

  .app-shell-private {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .market-app-page {
    padding-top: 2rem;
  }

  .market-app-hero {
    text-align: left;
  }

  .market-app-hero h1,
  .market-game-detail h1 {
    font-size: 3rem;
  }

  .market-app-hero p,
  .market-game-detail p {
    margin-left: 0;
    font-size: 1rem;
  }

  .market-app-card-grid {
    grid-template-columns: 1fr;
  }

  .market-game-card {
    min-height: 0;
    border-radius: 20px;
  }

  .market-game-card-image,
  .market-game-card-image img {
    min-height: 220px;
  }

  .market-game-card h2 {
    font-size: 2.25rem;
  }

  .market-game-detail-media {
    border-radius: 22px;
  }

  .market-game-detail-media img {
    min-height: 250px;
  }

  .market-app-float-one,
  .market-app-float-two {
    width: 96px;
    height: 96px;
    opacity: 0.28;
  }

  .market-support-page {
    align-items: flex-start;
  }

  .market-support-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .market-support-copy {
    position: relative;
    top: auto;
    padding-top: 0;
  }

  .market-support-copy h1 {
    font-size: 3.1rem;
  }

  .market-support-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .market-support-message {
    min-height: 240px;
  }

  .market-support-submit {
    width: 100%;
  }

  .market-profile-shell {
    grid-template-columns: 1fr;
  }

  .market-profile-actions {
    justify-content: stretch;
  }

  .market-profile-save {
    width: 100%;
  }

  .market-profile-password-card {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .market-profile-reset-link {
    justify-content: center;
    width: 100%;
  }

  .market-auth-shell {
    min-height: auto;
    padding: 1.25rem 0 3rem;
  }

  .market-auth-copy {
    text-align: left;
  }

  .market-auth-copy h1 {
    font-size: 3.15rem;
  }

  .market-auth-copy p {
    margin-left: 0;
  }

  .market-auth-highlights {
    justify-content: flex-start;
  }

  .market-auth-card {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .market-landing-hero,
  .market-landing-section,
  .market-landing-split,
  .market-parallax-showcase {
    padding: 3.5rem 0;
  }

  .market-tool-grid,
  .market-reason-grid,
  .market-roadmap,
  .market-landing-split,
  .market-parallax-showcase {
    grid-template-columns: 1fr;
  }

  .market-parallax-showcase {
    min-height: auto;
    gap: 2rem;
  }

  .market-showcase-reverse .market-showcase-media,
  .market-showcase-reverse .market-showcase-copy {
    order: initial;
  }

  .market-sprite-icon {
    width: 108px;
    height: 108px;
    opacity: 0.72;
  }

  .market-landing-hero .icon-01,
  .market-landing-hero .icon-02,
  .market-landing-hero .icon-07,
  .market-landing-hero .icon-10 {
    display: block;
    opacity: 0.68;
    z-index: 0;
  }

  .market-landing-hero .icon-01 {
    top: 5.25rem;
    left: 0.9rem;
  }

  .market-landing-hero .icon-02 {
    top: 8.75rem;
    right: 1.35rem;
    clip-path: inset(0 0 0 10px);
  }

  .market-landing-hero .icon-07 {
    left: auto;
    right: 1.6rem;
    top: auto;
    bottom: 3.4rem;
  }

  .market-landing-hero .icon-10 {
    left: 1.25rem;
    top: auto;
    bottom: 5.6rem;
    opacity: 0.55;
  }

  .market-parallax-showcase .market-sprite-icon,
  .market-choose-section .market-sprite-icon,
  .market-landing-split .market-sprite-icon {
    display: none;
  }

  .market-choose-section .icon-08,
  .market-landing-split .icon-09 {
    display: block;
    opacity: 0.34;
    z-index: 0;
  }

  .market-choose-section .icon-08 {
    top: 7.5rem;
    right: -1.3rem;
  }

  .market-landing-split .icon-09 {
    top: 3.25rem;
    right: -1.2rem;
  }

  #roadmap,
  #faq,
  .market-public-footer {
    position: relative;
  }

  #roadmap:before,
  #faq:before,
  .market-public-footer:before {
    content: "";
    position: absolute;
    z-index: 0;
    display: block;
    width: 108px;
    height: 108px;
    pointer-events: none;
    background-image: url("img/icons.png");
    background-repeat: no-repeat;
    background-size: 400% 300%;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
    opacity: 0.34;
  }

  #roadmap:before {
    top: 0.75rem;
    right: -2.35rem;
    background-position: 100% 0%;
  }

  #faq:before {
    top: 2.75rem;
    left: -1.35rem;
    background-position: 66.666% 50%;
  }

  .market-public-footer:before {
    top: 0.65rem;
    right: -2.45rem;
    background-image: url("img/generated/icon_trophy.png");
    background-size: contain;
    background-position: center;
  }

  #roadmap > *,
  #faq > *,
  .market-public-footer > * {
    position: relative;
    z-index: 1;
  }

  .market-signup-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .market-reason-card,
  .market-reason-card:nth-child(even) {
    min-height: 0;
    margin-top: 0;
  }

  .market-tool-media {
    min-height: 220px;
  }

  .market-stat-grid {
    grid-template-columns: 1fr;
  }

  .market-reset-shell {
    min-height: auto;
    padding: 1.25rem 0 3rem;
  }

  .market-reset-card {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .market-auth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .market-auth-submit {
    width: 100%;
  }

  .market-auth-tile {
    border-radius: 24px;
  }

  .tile-one {
    left: -12%;
    width: 46vw;
    height: 22vh;
  }

  .tile-two {
    right: -18%;
    width: 52vw;
    height: 22vh;
  }

  .tile-three,
  .tile-four {
    display: none;
  }

  .market-public-footer {
    min-height: 520px;
    padding-top: 4rem;
  }

  .market-footer-socials {
    margin-top: 3rem;
  }

  .market-footer-asset {
    width: 38vw;
    height: 30vw;
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-reveal,
  .market-glass-modal.show .market-glass-modal-content,
  .market-floater {
    animation: none !important;
    transition: none !important;
  }

  .market-reveal {
    opacity: 1;
    transform: none;
  }

  .market-parallax-layer {
    transform: none !important;
  }

  .market-wobbler,
  .market-slide-floater {
    animation: none !important;
  }
}
