:root {
  --color-surface: #0e1116;
  --color-surface-raised: #171b22;
  --color-surface-panel: #1e242d;
  --color-surface-panel-hover: #252c36;
  --color-surface-topbar: #0a0c10;
  --color-brand: #0074CC;
  --color-brand-dark: #005BA3;
  --color-brand-bright: #2B9BEA;
  --color-brand-light: #5FB8F5;
  --color-accent: #4d9fff;
  --color-accent-light: #82bcff;
  --color-success: #33c481;
  --color-success-bright: #5fe0a3;
  --color-warning-gold: #f5a623;
  --color-warning-bright: #f5b95a;
  --color-danger: #ff6b6b;
  --color-danger-bright: #e5484d;
  --color-danger-coral: #f2555a;
  --color-purple: #7c7adf;
  --color-purple-light: #a9a7f0;
  --color-google: #ea4335;
  --color-chart-grid: rgba(42, 49, 60, 0.65);
}

body {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

[data-profile-toggle],
.profile-avatar,
.creator-avatar {
  border-radius: 9999px !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

[data-profile-toggle],
button.profile-avatar {
  padding: 0 !important;
}

[data-nav-toggle] {
  padding: 0 !important;
}

.profile-identity {
  line-height: 1.2;
}

.profile-identity small {
  margin-top: 0.125rem;
}

.fill-google {
  fill: #ea4335;
}

.hero-title-gradient {
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
  background: linear-gradient(to right, #0074CC, #5FB8F5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.detail-close {
  height: 38px;
  width: 38px;
  border-radius: 9999px !important;
  border: 1px solid #475569;
  background-color: #1e242d;
  color: #f1f5f9;
}

.detail-close:hover {
  border-color: #64748b;
  color: #f8fafc;
}

.sabreshare-text-link {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgb(100 116 139);
  transition: text-decoration-color 0.15s ease;
}

.sabreshare-text-link:hover {
  color: inherit;
  text-decoration-color: rgb(203 213 225);
}

button.sabreshare-text-link {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

#dashboard-app aside .nav-item:not(.bg-brand):hover {
  background-color: #0074CC !important;
  color: #ffffff !important;
}

#dashboard-app aside .nav-item:not(.bg-brand):hover .ti {
  color: #ffffff !important;
}

#dashboard-app aside .dashboard-nav-section-title {
  margin-top: 2rem !important;
}

/* Dashboard overview / favorites cards */
#dashboard-app .dashboard-card {
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

#dashboard-app .dashboard-card:hover {
  border-color: #475569 !important;
  background-color: var(--color-surface-panel-hover) !important;
  box-shadow: 0 0 0 1px rgba(58, 67, 80, 0.35);
}

#dashboard-app .dashboard-card .dashboard-card-title {
  color: #cbd5e1;
  transition: color 0.15s ease;
}

#dashboard-app .dashboard-card:hover .dashboard-card-title {
  color: #f8fafc !important;
}

/* Member area sections and tables */
#dashboard-app .dashboard-bordered-panel {
  border-radius: 14px !important;
}

#dashboard-app .profile-avatar {
  border-radius: 9999px !important;
}

#dashboard-app section .border.border-slate-800.bg-surface-raised,
#dashboard-app section .border.border-slate-800.bg-surface-raised\/60,
#dashboard-app section .border.border-dashed.border-slate-700,
#dashboard-app section > a.border.border-slate-800,
#dashboard-app section > div.border.border-slate-800 {
  border-radius: 14px !important;
}

.table-action-menu {
  border-radius: 10px !important;
  border: 1px solid #3a414c !important;
  background-color: #171b22 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.table-action-menu__item {
  display: flex;
  width: 100%;
  padding: 0.5rem 0.75rem !important;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #cbd5e1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.table-action-menu__item:hover {
  background-color: #1e242d !important;
  color: #f8fafc !important;
}

.table-action-menu__item--danger {
  color: #ff6b6b !important;
}

.table-action-menu__item--danger:hover {
  background-color: rgba(255, 107, 107, 0.12) !important;
  color: #ffb4b4 !important;
}

/* Static content pages */
.content-prose section {
  margin-top: 2rem;
}

.content-prose section:first-child {
  margin-top: 0;
}

.content-prose h2 {
  font-family: Archivo, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.content-prose p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
}

.content-prose ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94a3b8;
  list-style-type: disc;
}

.content-prose li + li {
  margin-top: 0.35rem;
}

.content-prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgb(100 116 139);
  transition: text-decoration-color 0.15s ease;
}

.content-prose a:hover {
  color: inherit;
  text-decoration-color: rgb(203 213 225);
}

.content-prose strong {
  color: #e2e8f0;
  font-weight: 600;
}

.rich-text-content {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.rich-text-content p {
  margin: 0 0 0.7em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rich-text-content p:last-child {
  margin-bottom: 0;
}

.rich-text-content ul,
.rich-text-content ol {
  margin: 0 0 0.7em;
  padding-left: 1.35rem;
}

.rich-text-content ul {
  list-style: disc;
}

.rich-text-content ol {
  list-style: decimal;
}

.rich-text-content li + li {
  margin-top: 0.2em;
}

.rich-text-content strong,
.rich-text-content b {
  color: #e2e8f0;
  font-weight: 600;
}

.rich-text-content em,
.rich-text-content i {
  font-style: italic;
}

.rich-text-content u {
  text-decoration: underline;
}

.rich-text-content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
