.hidden { display: none !important; }

/* ── Wrap-box: inline container for SVG icons ── */
.wrap-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wrap-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: #f6f8fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 82px;
}

/* ── Header ── */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,26,42,0.15);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo-img { width: 27px; height: 27px; }
.header-logo-wordmark { height: 25px; width: 121px; }
.header-nav {
  display: flex;
  gap: 32px;
  font-size: 18px;
  font-weight: 500;
  color: #27364b;
  flex: 1;
}
.header-nav a { color: #27364b; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }
.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
  width: 402px;
}
.header-search-icon { width: 18px; height: 18px; }
.header-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  color: #0f1a2a;
  width: 100%;
  font-family: inherit;
}
.header-search input::placeholder { color: #94a3b8; }
.header-signin-btn {
  background: #000;
  border: 1px solid #0f1a2a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 5px 24px;
  height: 42px;
  border-radius: 60px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ── Main layout ── */
.main {
  display: flex;
  flex: 1;
  min-height: 0;
}
.left-photo {
  width: 473px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.left-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.right-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 60px 20px 60px 137px;
}

/* ── Form pages (signin, create-account, forgot-password) ── */
.form-area {
  width: 573px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── Verify pages (verify-email, verify-code) ── */
.right-wrapper.centered { align-items: center; }
.content-area {
  width: 689px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Icon circle ── */
.icon-circle {
  border: 1px solid #000;
  border-radius: 100px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.circle-img { width: 100px; height: 100px; }

/* ── Typography ── */
.page-title {
  font-size: 45px;
  font-weight: 700;
  color: #0f1a2a;
  line-height: 56px;
}
.page-title.centered { text-align: center; width: 100%; }
.subtitle {
  font-size: 18px;
  color: #27364b;
  line-height: 24px;
  text-align: center;
  width: 100%;
}
.subtitle strong { font-weight: 700; }
.desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #27364b;
  line-height: 18px;
  text-align: center;
  width: 100%;
}
.desc strong { font-weight: 700; }

/* ── Form controls ── */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.form-label {
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 18px;
}
.form-label .req { color: #d32215; }
.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-wrap:hover { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.input-wrap:focus-within { border-color: #0f1a2a; box-shadow: none; }
.input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  color: #0f1a2a;
  font-family: inherit;
  line-height: 18px;
}
.input-wrap input::placeholder { color: #94a3b8; }
.input-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.input-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  line-height: 16px;
}
.hint-icon { width: 16px; height: 16px; margin-top: 1px; }

/* ── Forgot password ── */
.forgot-row {
  display: flex;
  justify-content: flex-end;
}
.forgot-link {
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  text-decoration: underline;
  cursor: pointer;
}
.forgot-link:hover { opacity: 0.7; }

/* ── Checkboxes ── */
.checkbox-section { display: flex; flex-direction: column; gap: 20px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #27364b;
  line-height: 18px;
  cursor: pointer;
}
.checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid #cbd4e1;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.checkbox-input:checked + .checkbox-custom {
  background: #000;
  border-color: #000;
}
.checkbox-input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.checkbox-label { font-weight: 600; }
.checkbox-label .req { color: #d32215; }
.terms-text a { color: #27364b; font-weight: 700; text-decoration: underline; }

/* ── reCAPTCHA ── */
.recaptcha-wrap { display: flex; }

/* ── Buttons ── */
.btn-primary {
  background: #000;
  border: 1px solid #000;
  color: #fff;
  border-radius: 60px;
  padding: 14px 28px;
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  text-align: center;
  display: block;
  text-decoration: none;
  line-height: 24px;
  transition: background 0.15s;
}
.btn-primary:hover { box-shadow: 0 3px 5px #27364b26; }
.btn-primary:active { background: #27364b; border-color: #000; box-shadow: none; }
.btn-secondary {
  flex: 1;
  background: #fff;
  border: 1px solid #cbd4e1;
  color: #cbd4e1;
  border-radius: 60px;
  padding: 14px 28px;
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
  line-height: 24px;
}
.btn-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
.btn-row .btn-primary { flex: 1; }

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.divider-line { flex: 1; height: 1.5px; background: #cbd4e1; }
.divider-text { font-size: 16px; color: #64748b; white-space: nowrap; }

/* ── Social ── */
.social-row { display: flex; gap: 20px; }
.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 14px 28px;
  font-size: 18px;
  color: #cbd4e1;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.apple-icon { width: 24px; height: 24px; }

/* ── Links ── */
.center-link {
  text-align: center;
  font-size: 16px;
  color: #000;
}
.center-link a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
}
.center-link a:hover { opacity: 0.7; }
.already-link { font-size: 14px; color: #000; text-align: center; }
.already-link a { color: #000; font-weight: 700; text-decoration: underline; }
.already-link a:hover { opacity: 0.7; }

/* ── OTP code ── */
.otp-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.otp-box {
  width: 96px;
  height: 96px;
  background: #fff;
  border: 1px solid #4caf50;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 500;
  color: #27364b;
  line-height: 72px;
}

/* ── Verify page button area ── */
.btn-area {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.btn-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.timer-text {
  font-size: 16px;
  color: #27364b;
  line-height: 18px;
  text-align: center;
  width: 100%;
}
.change-email-link {
  font-size: 16px;
  font-weight: 700;
  color: #27364b;
  text-decoration: underline;
  cursor: pointer;
}
.change-email-link:hover { opacity: 0.7; }

/* ── Forgot password page ── */
.forgot-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: flex-start;
}
.email-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.help-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.help-text {
  font-size: 18px;
  color: #27364b;
  line-height: 24px;
  width: 100%;
}

/* ══════════════════════════════════════
   FEED PAGE
   ══════════════════════════════════════ */

/* ── App header (feed/logged-in) ── */
.app-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,26,42,0.15);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}
.app-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.app-logo-img { width: 27px; height: 27px; }
.nav-icon { width: 24px; height: 24px; }
/* ── Shared search field ── */
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-field:hover        { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.search-field:focus-within { border-color: #0f1a2a; box-shadow: none; }
.search-field input {
  border: none; outline: none; background: transparent;
  font-size: 16px; font-weight: 400; color: #0f1a2a; font-family: inherit; flex: 1; min-width: 0;
}
.search-field input::placeholder { color: #94a3b8; }
.search-field-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #0f1a2a;
  font-size: 18px;
}
.search-field-icon img { width: 18px; height: 18px; filter: brightness(0); display: block; }

/* Width variants */
.app-search { width: 208px; }
.faq-search { width: 402px; }

/* Nav tabs */
.app-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}
.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
}
.app-nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px;
}
.app-nav-icon img { width: 100%; height: 100%; object-fit: contain; }
.app-nav-label {
  font-size: 16px;
  color: #0e1a2a;
  line-height: 18px;
  white-space: nowrap;
}
/* User area */
.app-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.notif-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  border-radius: 6px;
  transition: background 0.15s;
}
.notif-btn:hover { background: #f6f8fc; }
.notif-icon { width: 32px; height: 32px; }
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #0f1a2a;
  border-radius: 60px;
  padding: 5px 12px 5px 5px;
  cursor: pointer;
}
.user-avatar {
  width: 32px; height: 32px;
  background: #0f1a2a;
  border-radius: 60px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-avatar-icon { width: 18px; height: 18px; }
.user-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f1a2a;
  white-space: nowrap;
}
.user-chevron { width: 18px; height: 18px; transition: transform 0.2s; }
.user-chevron.chevron-up { transform: rotate(180deg); }

/* ── User dropdown ── */
.user-menu-wrap {
  position: relative;
}
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15,26,42,0.12);
  min-width: 180px;
  overflow: hidden;
  z-index: 200;
}
.user-dropdown.open { display: block; }
.user-dropdown-item {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: #0f1a2a;
  text-decoration: none;
}
.user-dropdown-item:hover { background: #f6f8fc; }
.user-dropdown-item--danger { color: #d32215; }
.user-dropdown-item--danger:hover { background: #fff5f5; }

/* ── Feed layout ── */
.feed-body { padding-top: 0; }
.feed-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
  align-items: flex-start;
}

/* ── Sidebar ── */
.sidebar {
  width: 267px;
  flex-shrink: 0;
  padding-top: 60px;
}
.filter-section {
  border-bottom: 1px solid #f1f3f5;
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.filter-section:last-child { border-bottom: none; }
.filter-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f1a2a;
  padding: 20px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.filter-title-chevron { width: 16px; height: 24px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 16px;
  color: #27364b;
  cursor: pointer;
  line-height: 19px;
  border-radius: 6px;
  width: 100%;
}
.filter-option:hover { background: #f6f8fc; }

/* Sidebar checkboxes */
.filter-option .checkbox-input { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-option .checkbox-custom {
  width: 18px; height: 18px;
  border: 1px solid #cbd4e1;
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.filter-option .checkbox-input:checked + .checkbox-custom {
  background: #000; border-color: #000;
}
.filter-option .checkbox-input:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* Sidebar radio buttons */
.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 16px;
  color: #27364b;
  cursor: pointer;
  line-height: 19px;
  border-radius: 6px;
  width: 100%;
}
.radio-option:hover { background: #f6f8fc; }
.radio-input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-custom {
  width: 18px; height: 18px;
  border: 1px solid #cbd4e1;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.radio-input:checked + .radio-custom {
  border-color: #000;
}
.radio-input:checked + .radio-custom::after {
  content: '';
  width: 8px; height: 8px;
  background: #000;
  border-radius: 50%;
}

/* ── Feed list ── */
.feed-list-wrap { flex: 1; min-width: 0; }
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feed-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f1a2a;
  line-height: 32px;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
  font-size: 16px;
  color: #27364b;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  width: 184px;
  flex-shrink: 0;
}
.sort-icon { width: 18px; height: 18px; }

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Nav active indicator ── */
.app-nav-item { position: relative; }
.app-nav-item.active .app-nav-label { color: #000; font-weight: 500; }
.app-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -4px;
  right: -4px;
  height: 4px;
  background: #0f1a2a;
  border-radius: 2px;
}

/* ── Campaign card ── */
.campaign-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  display: flex;
  overflow: hidden;
  min-height: 218px;
}
.card-image-wrap {
  width: 286px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.card-urgent-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #ffebee;
  border-radius: 60px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d32215;
}
.urgent-icon { width: 14px; height: 14px; }

.card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}
.card-title {
  font-size: 24px;
  font-weight: 500;
  color: #0f1a2a;
  line-height: 32px;
}
.card-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0.642px solid #0f1a2a;
  border-radius: 40px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #0f1a2a;
  align-self: flex-start;
}
.category-icon { width: 20px; height: 20px; }
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #27364b;
}
.card-avatar {
  width: 24px; height: 24px;
  background: #0f1a2a;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #27364b;
}
.meta-icon { width: 24px; height: 24px; }
.card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #27364b;
}
/* .card-location img — size moved to .meta-icon */
.card-actions {
  display: flex;
  gap: 12px;
}
.btn-view-details {
  background: #000;
  border: 1px solid #000;
  color: #fff;
  border-radius: 60px;
  padding: 12px 24px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-view-details:hover { box-shadow: 0 3px 5px #27364b26; }
.btn-view-details:active { background: #27364b; border-color: #000; box-shadow: none; }
.btn-save {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  border-radius: 60px;
  padding: 12px 24px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: box-shadow 0.15s, background 0.15s;
}
.save-icon { width: 18px; height: 18px; }
.btn-save:hover { background: #fff; box-shadow: 0 3px 5px #27364b26; }
.btn-save:active { background: #f6f8fc; box-shadow: none; }

/* ── Progress bar (donate cards) ── */
.card-progress { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.card-progress-track { background: #f1f4f9; border-radius: 12px; height: 8px; overflow: hidden; }
.card-progress-fill { background: #000; height: 8px; border-radius: 4px; }
.card-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #0f1a2a;
  line-height: 16px;
  white-space: nowrap;
}
.card-progress-labels .goal { font-weight: 700; }


/* ── Footer ── */
.footer {
  background: #fff;
  border-top: 1px solid #cbd4e1;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  padding: 12px 20px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #27364b;
}
.footer-logo { width: 21px; height: 21px; }
.footer-right {
  display: flex;
  gap: 40px;
  font-size: 14px;
  color: #27364b;
  padding: 0 40px;
}
.footer-right a { color: #27364b; text-decoration: none; }
.footer-right a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   DASHBOARD PAGE
   ══════════════════════════════════════ */

.db-page {
  background: #f6f8fc;
  min-height: calc(100vh - 70px);
  padding: 40px 20px;
}
.db-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px;
}

/* ── Page header ── */
.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.db-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  line-height: 1.6;
}
.db-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid #f1f4f9;
  border-radius: 60px;
  padding: 2px;
  transition: box-shadow 0.15s;
}
.db-switch:hover { box-shadow: 0 3px 5px #27364b26; }
.db-switch-btn {
  padding: 12px 24px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  border: none;
  background: transparent;
  color: #0f1a2a;
  cursor: pointer;
  line-height: 18px;
  white-space: nowrap;
  transition: background 0.15s;
}
.db-switch-btn:not(.db-switch-btn--active):hover { background: #f6f8fc; }
.db-switch-btn:not(.db-switch-btn--active):active { background: #f1f4f9; }
.db-switch-btn--active {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
.db-switch-btn--active:active { background: #27364b; border-color: #000; }

/* ── Dashboard panels ── */
#dbRequestsPanel,
#dbContribPanel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Period tabs ── */
.db-tabs {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: 60px;
  padding: 2px;
  align-self: flex-start;
  transition: box-shadow 0.15s;
}
.db-tabs:hover { box-shadow: 0 3px 5px #27364b26; }
.db-tab {
  padding: 8px 12px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  background: transparent;
  color: #0f1a2a;
  cursor: pointer;
  line-height: 18px;
  transition: background 0.15s;
}
.db-tab:not(.db-tab--active):hover { background: #f6f8fc; }
.db-tab:not(.db-tab--active):active { background: #f1f4f9; }
.db-tab--active {
  background: #000;
  color: #fff;
}
.db-tab--active:active { background: #27364b; }

/* ── Stat cards ── */
.db-stats {
  display: flex;
  gap: 20px;
}
.db-stat-card {
  flex: 1;
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.db-stat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.db-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.db-stat-icon--blue   { background: #bbdefb; }
.db-stat-icon--green  { background: #c8e6c9; }
.db-stat-icon--yellow { background: #fff3e0; }
.db-stat-icon--red    { background: #ffcdd2; }
.db-stat-icon--purple { background: #e9d8fd; }
.db-icon-img { width: 24px; height: 24px; }
.db-stat-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.db-stat-number {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  line-height: 36px;
  letter-spacing: -0.5px;
}
.db-stat-number--sm { font-size: 24px; line-height: 30px; }
.db-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 16px;
}
.db-stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.db-trend { font-weight: 600; letter-spacing: -0.5px; }
.db-trend--blue   { color: #158ae7; }
.db-trend--green  { color: #4caf50; }
.db-trend--yellow { color: #ffb74d; }
.db-trend--red    { color: #d32215; }
.db-trend-label   { color: #94a3b8; font-weight: 400; }

/* ── Notification banner ── */
.db-notification {
  background: #fff3e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.db-notification-body { display: flex; flex-direction: column; gap: 4px; }
.db-notification-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 18px;
}
.db-notification-text {
  font-size: 16px;
  font-weight: 400;
  color: #4b5563;
  line-height: 18px;
}
.db-notification-link {
  font-size: 14px;
  font-weight: 700;
  color: #be4537;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.db-notification-link:hover { opacity: 0.8; }

/* ── Generic card ── */
.db-card {
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
}
.db-card--table { padding: 0; overflow: hidden; }
.db-card--no-border { border: none; }
.db-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  line-height: 24px;
}

/* ── Recent Activity ── */
.db-activity-list { display: flex; flex-direction: column; }
.db-activity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f4f9;
}
.db-activity-row--last { border-bottom: none; }
.db-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.db-activity-icon--green  { background: #e8f5e9; }
.db-activity-icon--purple { background: #f3e8ff; }
.db-activity-icon--yellow { background: #fff3e0; }
.db-activity-icon-img { width: 18px; height: 18px; }
.db-activity-info { flex: 1; min-width: 0; }
.db-activity-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  line-height: 20px;
}
.db-activity-meta {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 16px;
}
.db-activity-link {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: underline;
  white-space: nowrap;
  flex-shrink: 0;
}
.db-activity-link:hover { opacity: 0.7; }

/* ── Table top bar ── */
.db-table-top {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.db-table-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 24px;
}
.db-table-filters {
  display: flex;
  align-items: center;
  gap: 16px;
}
.db-search-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
}
.db-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #0f1a2a;
}
.db-search-input::placeholder { color: #94a3b8; }
.db-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px 12px;
  gap: 12px;
  flex-shrink: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.db-select-wrap:hover { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.db-select-wrap:focus-within { border-color: #0f1a2a; box-shadow: none; }
.db-select {
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #0f1a2a;
  background: transparent;
  appearance: none;
  cursor: pointer;
  padding-right: 4px;
}
.db-select-chevron { width: 18px; height: 18px; pointer-events: none; }
.db-clear-btn {
  font-size: 14px;
  font-weight: 600;
  color: #0f1a2a;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
  font-family: inherit;
}
.db-clear-btn:hover { opacity: 0.7; }

/* ── Table ── */
.db-table {
  width: 100%;
  border-collapse: collapse;
}
.db-thead-row {
  background: #f1f4f9;
}
.db-th {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: left;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.db-th--center { text-align: center; }
.db-th--request { display: flex; align-items: center; gap: 4px; }
.db-sort-icon { width: 16px; height: 16px; flex-shrink: 0; transform: rotate(90deg); }
.db-tr {
  border-bottom: 1px solid #f1f4f9;
}
.db-tr:last-child { border-bottom: none; }
.db-td {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #111827;
  line-height: 20px;
  vertical-align: middle;
}
.db-td--title { width: 280px; }
.db-td--muted { color: #64748b; }
.db-td--center { text-align: center; }
.db-row-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  line-height: 20px;
}
.db-row-desc {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 16px;
}

/* Status badges */
.db-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}
.db-badge--active    { background: #e8f5e9; color: #4caf50; }
.db-badge--draft     { background: #fff3e0; color: #da7325; }
.db-badge--fulfilled { background: #e3f2fd; color: #158ae7; }
.db-badge--paused    { background: #ffebee; color: #d32215; }

/* Actions dots button */
.db-dots-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.db-dots-btn:hover { background: #f1f4f9; }
.db-dots-icon { width: 15px; height: 15px; transform: rotate(90deg); }

.db-actions-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}
.db-actions-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 5px #27364b26;
  z-index: 20;
  min-width: 100px;
  padding: 4px 0;
}
.db-actions-dropdown.open { display: block; }
.db-actions-item {
  display: block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 400;
  color: #0f1a2a;
  text-decoration: none;
  line-height: 25px;
  white-space: nowrap;
  text-align: left;
}
.db-actions-item:hover { background: #f6f8fc; }

/* ── Table footer / Pagination ── */
.db-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 20px;
  border-top: 1px solid #f1f4f9;
}
.db-table-count {
  font-size: 14px;
  color: #64748b;
  line-height: 20px;
}
.db-pagination {
  display: flex;
  align-items: center;
  gap: 7px;
}
.db-page-btn {
  width: 36px;
  height: 38px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #0f1a2a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.db-page-btn--active {
  background: #000;
  border-color: #000;
  color: #fff;
}
.db-page-btn:hover:not(.db-page-btn--active) { background: #f1f4f9; }
.db-page-icon { width: 10px; height: 16px; }

/* ══════════════════════════════════════
   CONTRIBUTIONS DASHBOARD
   ══════════════════════════════════════ */

/* Tabs row with contributions list button */
.db-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

}
.db-tabs-row .db-tabs { margin-bottom: 0; }
.db-contrib-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.db-contrib-list-btn:hover { opacity: 0.7; }
.db-contrib-list-icon { width: 16px; height: 16px; }

/* 6-column stat cards */
.db-stats--6 { display: grid; grid-template-columns: repeat(6, 1fr); }

/* Trend arrow and variants */
.db-trend-arrow { width: 9px; height: 12px; flex-shrink: 0; }
.db-trend--needs {
  font-size: 12px;
  font-weight: 500;
  color: #da7325;
}
.db-trend--purple { color: #7c3aed; }

/* Action Required banner */
.db-action-banner {
  background: #fff3e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-action-banner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.db-action-banner-title-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.db-action-bell {
  background: #ffe0b2;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.db-action-bell-icon { width: 24px; height: 24px; }
.db-action-text { display: flex; flex-direction: column; gap: 4px; }
.db-action-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 18px;
}
.db-action-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #4b5563;
  line-height: 18px;
}
.db-action-view-all {
  font-size: 14px;
  font-weight: 700;
  color: #be4537;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  line-height: 16px;
  align-self: center;
}
.db-action-view-all:hover { opacity: 0.7; }
.db-action-cards {
  display: flex;
  gap: 27px;
}
.db-action-card {
  flex: 1;
  background: #fff;
  border: 1px solid #fde8c8;
  border-radius: 8px;
  padding: 20px;
}
.db-action-card--yellow { border-color: #ffe0b2; }
.db-action-card--red    { border-color: #ffcdd2; }
.db-action-card--blue   { border-color: #bbdefb; }
.db-action-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.db-action-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.db-action-num--orange { color: #da7325; }
.db-action-num--red    { color: #d32215; }
.db-action-num--blue   { color: #158ae7; }
.db-action-card-icon { width: 22px; height: 22px; }
.db-action-card-body { display: flex; flex-direction: column; gap: 3px; }
.db-action-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  line-height: 20px;
  letter-spacing: -0.5px;
}
.db-action-card-desc {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 16px;
}

/* 4 mini stat cards — reuse db-stat-card layout */
.db-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Charts row */
.db-charts-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;

}
.db-chart-card { padding: 20px; }
.db-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.db-chart-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Line chart */
.db-line-chart {
  display: flex;
  gap: 8px;
  height: 220px;
  margin-bottom: 12px;
}
.db-line-chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  color: #94a3b8;
  padding-bottom: 24px;
  min-width: 20px;
}
.db-line-chart-area {
  flex: 1;
  position: relative;
  min-width: 0;
}
.db-line-chart-grid {
  position: absolute;
  inset: 0;
  bottom: 24px;
}
.db-line-chart-grid img { width: 100%; height: 100%; }
.db-line-chart-line {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
}
.db-line-chart-line--blue  { top: 0; }
.db-line-chart-line--orange { top: 20px; }
.db-line-chart-line img { width: 100%; height: auto; }
.db-line-chart-x {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  height: 20px;
  align-items: flex-end;
}
.db-chart-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 12px;
  color: #64748b;
}
.db-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.db-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.db-legend-dot--blue   { background: #74C5FF; }
.db-legend-dot--orange { background: #FFB74D; }
.db-legend-dot--ltblue { background: #74C5FF; }
.db-legend-dot--green  { background: #66BB6A; }
.db-legend-dot--pink   { background: #EC407A; }

/* Donut chart */
.db-donut-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.db-donut {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    #74C5FF 0% 42%,
    #66BB6A 42% 70%,
    #EC407A 70% 88%,
    #FFB74D 88% 100%
  );
  position: relative;
}
.db-donut::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: #fff;
}
.db-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.db-donut-legend-label { flex: 1; color: #0f1a2a; }
.db-donut-legend-pct { color: #64748b; font-size: 13px; }

/* Bottom row */
.db-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

}
.db-supporters-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.db-supporters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.db-supporters-title-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-supporters-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 28px;
  letter-spacing: -0.5px;
}
.db-supporters-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  line-height: 16px;
}
.db-supporters-view-all {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 16px;
  white-space: nowrap;
}
.db-supporters-view-all:hover { opacity: 0.7; }
.db-supporter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-supporter-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 4px;
}
.db-supporter-item--first  { background: #e3f2fd; }
.db-supporter-item--border { border: 1px solid #f1f4f9; }
.db-supporter-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.db-supporter-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.db-supporter-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 18px;
}
.db-supporter-role {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 16px;
}
.db-supporter-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 75px;
  flex-shrink: 0;
}
.db-supporter-num {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 32px;
}
.db-supporter-num--blue { color: #158ae7; }
.db-supporter-unit {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 16px;
}

/* Right column */
.db-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.db-right-col .db-card { flex: 1; }

/* Engagement bars */
.db-engage-list { display: flex; flex-direction: column; gap: 23px; }
.db-engage-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 8px;
  white-space: nowrap;
}
.db-engage-label { color: #64748b; font-weight: 400; }
.db-engage-count { font-weight: 700; color: #111827; }
.db-engage-bar-track {
  height: 8px;
  background: #f1f4f9;
  border-radius: 9999px;
  overflow: hidden;
}
.db-engage-bar { height: 100%; border-radius: 9999px; }
.db-engage-bar--green { background: #4caf50; }
.db-engage-bar--gray  { background: #cbd4e1; }
.db-engage-avg { }
.db-engage-avg-label { font-size: 14px; color: #27364b; line-height: 16px; margin-bottom: 8px; }
.db-engage-avg-value { font-size: 24px; font-weight: 700; color: #111827; line-height: 32px; letter-spacing: -0.5px; }

/* Request Impact */
.db-impact-list { display: flex; flex-direction: column; gap: 12px; }
.db-impact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 12px;
  font-size: 14px;
}
.db-impact-item--green  { background: #e8f5e9; }
.db-impact-item--orange { background: #fff3e0; }
.db-impact-item--gray   { background: #f6f8fc; }
.db-impact-icon-img { width: 24px; height: 24px; }
.db-impact-label { flex: 1; font-weight: 500; color: #27364b; letter-spacing: -0.5px; line-height: 20px; }
.db-impact-count { font-weight: 700; font-size: 18px; line-height: 28px; letter-spacing: -0.5px; }
.db-impact-count--green  { color: #4caf50; }
.db-impact-count--orange { color: #da7325; }
.db-impact-count--black  { color: #000; }

/* ══════════════════════════════════════
   USER ACCOUNT PAGE
   ══════════════════════════════════════ */

.account-page {
  display: flex;
  justify-content: center;
  flex: 1;
}
.account-content {
  display: flex;
  width: 1200px;
  align-items: flex-start;
  min-height: 0;
}

/* ── Left sidebar ── */
.account-sidebar {
  width: 295px;
  flex-shrink: 0;
  padding: 0 20px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  border-right: 1px solid #cbd4e1;
}
.account-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f1a2a;
  line-height: 32px;
  padding: 20px 0;
}
.account-menu {
  display: flex;
  flex-direction: column;
}
.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.15s;
}
.account-menu-item:hover { background: #f1f4f9; }
.account-menu-item.active {
  background: #e2e8f0;
  color: #0f1a2a;
  font-weight: 700;
}
.account-menu-icon { width: 24px; height: 24px; }

/* ── Main content area ── */
.account-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  min-width: 0;
}

/* ── White cards ── */
.account-box {
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── User header (avatar + info) ── */
.account-user-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.account-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.account-avatar {
  background: #0f1a2a;
  border-radius: 60px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-face-icon { width: 68px; height: 68px; }
.account-photo-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.account-camera-icon { width: 16px; height: 16px; }

.account-user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.account-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-name {
  font-size: 32px;
  font-weight: 500;
  color: #000;
  line-height: 40px;
  flex: 1;
}
.account-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-edit-btn:hover  { background: #f6f8fc; }
.account-edit-btn:active { background: #e2e8f0; }
.account-edit-icon { width: 22px; height: 22px; }

.account-headline {
  font-size: 20px;
  font-weight: 500;
  color: #27364b;
  line-height: 32px;
}
.account-status-bar {
  background: #fff3e0;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  color: #be4537;
  line-height: 16px;
}
.account-status-bar--success {
  background: #e8f5e9;
  color: #388e3c;
}

/* ── User info edit form ── */
.account-user-edit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.account-edit-photo {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.account-photo-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.account-photo-edit-icon { width: 16px; height: 16px; }
.account-edit-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.account-edit-name-row {
  display: flex;
  gap: 20px;
}
.account-edit-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
  padding-bottom: 22px;
  min-width: 0;
}
.account-edit-field--full {
  flex: none;
  width: 100%;
}
.account-edit-label {
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  line-height: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.account-edit-required {
  color: #d32215;
}
.account-edit-input {
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #27364b;
  font-family: 'Inter', sans-serif;
  line-height: 18px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.account-edit-input::placeholder { color: #94a3b8; }
.account-edit-input:hover { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.account-edit-input:focus { border-color: #0f1a2a; box-shadow: none; outline: none; }
.account-edit-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-edit-hint-icon { width: 16px; height: 16px; }
.account-edit-hint-text {
  font-size: 14px;
  color: #64748b;
  line-height: 16px;
  white-space: nowrap;
}
.account-edit-actions {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.account-edit-save {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 60px;
  padding: 12px 24px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  line-height: 18px;
  transition: box-shadow 0.15s, background 0.15s;
}
.account-edit-save:hover { box-shadow: 0 3px 5px #27364b26; }
.account-edit-save:active { background: #27364b; border-color: #000; box-shadow: none; }
.account-edit-cancel {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 60px;
  padding: 12px 24px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  line-height: 18px;
  transition: box-shadow 0.15s, background 0.15s;
}
.account-edit-cancel:hover  { box-shadow: 0 3px 5px #27364b26; }
.account-edit-cancel:active { background: #f6f8fc; box-shadow: none; }

/* ── Profile information card ── */
.account-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.account-box-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 32px;
}
.account-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-field-label {
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  line-height: 18px;
}
.account-field-placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  line-height: 18px;
}
.account-field-value {
  font-size: 16px;
  font-weight: 400;
  color: #27364b;
  line-height: 18px;
}
.account-field-value--para { line-height: 24px; }

/* ── Profile information view ── */
.profile-info-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* ── Profile information edit form ── */
.pinfo-edit {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.pinfo-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 32px;
}
.pinfo-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-bottom: 22px;
  width: 100%;
}
.pinfo-field--flex {
  flex: 1;
  width: auto;
  min-width: 0;
}
.pinfo-location-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pinfo-textarea {
  border: 1px solid #cbd4e1;
  border-radius: 15px;
  padding: 20px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: #27364b;
  line-height: 18px;
  resize: vertical;
  min-height: 120px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pinfo-textarea:hover { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.pinfo-textarea:focus { border-color: #0f1a2a; box-shadow: none; outline: none; }
.pinfo-textarea::placeholder { color: #94a3b8; }
.pinfo-select-wrap {
  position: relative;
  width: 100%;
}
.pinfo-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: #94a3b8;
  line-height: 18px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pinfo-select:hover { border-color: #475569; box-shadow: 0 3px 5px #27364b26; }
.pinfo-select:focus { border-color: #0f1a2a; box-shadow: none; outline: none; }
.pinfo-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  filter: brightness(0);
}

/* ── Social icons ── */
.account-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 6px;
  flex-shrink: 0;
}
.account-social-icon--muted { background: #cbd4e1; }
.account-social-icon--active { background: #000; }
.account-social-icon--active img { filter: brightness(0) invert(1); }
.account-social-icon-img { width: 20px; height: 20px; }
.account-social-brand { width: 38px; height: 38px; }

/* ══════════════════════════════════════
   CREATE REQUEST PAGE
   ══════════════════════════════════════ */

.cr-page {
  display: flex;
  justify-content: center;
  flex: 1;
  width: 100%;
}
.cr-content {
  width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 20px;
  overflow: hidden;
}

/* ── Header ── */
.cr-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
}
.cr-title {
  font-size: 48px;
  font-weight: 500;
  color: #0f1a2a;
  line-height: 64px;
  text-align: center;
}
.cr-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #64748b;
  line-height: 32px;
  text-align: center;
}

/* ── Step cards ── */
.cr-steps {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 40px;
}
.cr-step-box {
  flex: 1;
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cr-step-label {
  font-size: 24px;
  font-weight: 500;
  color: #0f1a2a;
  line-height: 32px;
  white-space: nowrap;
}
.cr-step-illustration {
  width: 100%;
  height: 245px;
  overflow: hidden;
  border-radius: 8px;
}
.cr-step-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cr-step-desc {
  font-size: 18px;
  font-weight: 400;
  color: #27364b;
  line-height: 24px;
  text-align: center;
}

/* ── AI input section ── */
.cr-input-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
}
.cr-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #cbd4e1;
  border-radius: 30px;
  padding: 24px 64px;
}
.cr-textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  color: #0f1a2a;
  line-height: 18px;
  resize: none;
  overflow: hidden;
  min-height: 18px;
}
.cr-textarea::placeholder { color: #94a3b8; }
.cr-attach-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.cr-attach-btn:hover { background: #f6f8fc; }
.cr-attach-icon { width: 32px; height: 32px; }
.cr-send-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #cbd4e1;
  border: 1px solid #cbd4e1;
  border-radius: 30px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
.cr-send-btn:not(:disabled) {
  background: #000;
  border-color: #000;
  cursor: pointer;
}
.cr-send-btn:not(:disabled):hover { box-shadow: 0 3px 5px #27364b26; }
.cr-send-btn:not(:disabled):active { background: #27364b; border-color: #000; box-shadow: none; }
.cr-send-icon { width: 22px; height: 22px; }

/* ── Expanded state (multi-line) ── */
.cr-input-wrap--expanded {
  align-items: flex-start;
  padding: 24px 24px 64px;
}
.cr-input-wrap--expanded .cr-attach-btn {
  top: auto;
  bottom: 16px;
  transform: none;
}
.cr-input-wrap--expanded .cr-send-btn {
  top: auto;
  bottom: 10px;
  right: 13px;
  transform: none;
}

/* ── Hint ── */
.cr-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  line-height: 16px;
}
.cr-hint-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0; }

/* ── Skip link ── */
.cr-skip-link {
  font-size: 16px;
  color: #27364b;
  text-align: center;
  line-height: 24px;
  width: 100%;
}
.cr-skip-link a {
  color: #27364b;
  font-weight: 700;
  text-decoration: underline;
}
.cr-skip-link a:hover { opacity: 0.7; }

/* ══════════════════════════════════════
   AI CHAT PAGE
══════════════════════════════════════ */

.chat-body {
  padding-bottom: 0;
}

/* ── Messages area ── */
.chat-wrap {
  width: 100%;
  padding-bottom: 240px; /* space for fixed input section + footer */
}
.chat-messages-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* ── Message row ── */
.chat-msg {
  display: none;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-msg.appearing {
  display: flex;
}
.chat-msg.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.chat-msg--user { justify-content: flex-end; }
.chat-msg--ai   { justify-content: flex-start; }

/* ── Typing indicator ── */
.chat-typing {
  display: none;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 20px;
}
.chat-typing.visible { display: flex; }
.chat-typing-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
  background: #e8ecf2;
  border-radius: 24px 24px 24px 0;
}
.chat-typing-dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: #64748b;
  border-radius: 50%;
  animation: chat-dot-bounce 1.1s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chat-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
}

/* ── User bubble ── */
.chat-bubble {
  background: #27364b;
  color: #fff;
  padding: 20px;
  border-radius: 24px 0 24px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  max-width: 70%;
}

/* ── User avatar (dark circle) ── */
.chat-user-avatar {
  width: 32px;
  height: 32px;
  background: #0f1a2a;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-person-icon { width: 18px; height: 18px; }

/* ── AI avatar (logo) ── */
.chat-ai-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-logo-icon { width: 30px; height: 30px; }

/* ── AI text content ── */
.chat-ai-text {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #27364b;
  min-width: 0;
}
.chat-ai-text p { margin: 0; }
.chat-ai-text ul {
  margin: 0;
  padding-left: 24px;
}
.chat-ai-text li { line-height: 24px; }

/* ── Review result button ── */
.chat-review-wrap {
  display: none;
  justify-content: center;
  padding: 20px 0 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-review-wrap.appearing {
  display: flex;
}
.chat-review-wrap.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.chat-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 60px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
}
.chat-review-btn:hover { box-shadow: 0 3px 5px #27364b26; }
.chat-review-btn:active { background: #27364b; border-color: #000; box-shadow: none; }
.chat-preview-icon { width: 24px; height: 24px; }

/* ── Fixed input section ── */
.chat-input-section {
  position: fixed;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  z-index: 10;
  background: linear-gradient(to bottom, transparent, #f6f8fc 48%);
  padding: 20px 20px 0;
}
.chat-input-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 22px;
}

/* ── Chat input box — compact default (matches cr-input-wrap layout) ── */
.chat-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #0f1a2a;
  border-radius: 30px;
  padding: 24px 64px;
  width: 100%;
  box-sizing: border-box;
}
.chat-textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  color: #27364b;
  line-height: 24px;
  resize: none;
  overflow: hidden;
  height: 24px;
}
.chat-textarea::placeholder { color: #94a3b8; }

/* Attach button — centered on left by default */
.chat-input-box .chat-attach-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.chat-input-box .chat-attach-btn:hover { background: #f6f8fc; }

/* Send button — centered on right by default, disabled = grey */
.chat-send-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #cbd4e1;
  border: 1px solid #cbd4e1;
  border-radius: 30px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}
.chat-send-btn:not(:disabled) {
  background: #0f1a2a;
  border-color: #0f1a2a;
  cursor: pointer;
}
.chat-send-btn:not(:disabled):hover { box-shadow: 0 3px 5px #27364b26; }
.chat-send-btn:not(:disabled):active { background: #27364b; border-color: #000; box-shadow: none; }
.chat-send-icon { width: 22px; height: 22px; }

/* ── Expanded state (multi-line text) ── */
.chat-input-box--expanded {
  align-items: flex-start;
  padding: 24px 24px 64px;
}
.chat-input-box--expanded .chat-attach-btn {
  top: auto;
  bottom: 16px;
  transform: none;
}
.chat-input-box--expanded .chat-send-btn {
  top: auto;
  bottom: 10px;
  right: 13px;
  transform: none;
}

/* ── Chat footer (fixed at bottom) ── */
.chat-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
}

/* ── Flash message ── */
.flash-message {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #8fd592;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15, 26, 42, 0.04);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 366px;
  z-index: 9999;
}
.flash-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.flash-check img { width: 100%; height: 100%; }
.flash-body {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 20px;
}
.flash-title {
  font-size: 18px;
  font-weight: 500;
  color: #8fd592;
  line-height: 24px;
}
.flash-text {
  font-size: 16px;
  font-weight: 400;
  color: #27364b;
  line-height: 24px;
}
.flash-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flash-close img { width: 16px; height: 16px; }

/* ══════════════════════════════════════
   SECURITY PAGE
   ══════════════════════════════════════ */

.sec-status {
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
}
.sec-status--blue  { background: #e3f2fd; color: #1976d2; }
.sec-status--green { background: #e8f5e9; color: #388e3c; }

/* Email */
.sec-email-block { display: flex; flex-direction: column; gap: 8px; }
.sec-email-address { font-size: 16px; font-weight: 400; color: #27364b; line-height: 18px; }
.sec-email-row { display: flex; align-items: center; gap: 20px; }

/* Chips */
.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 60px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sec-chip--orange { background: #fff3e0; color: #da7325; }
.sec-chip--blue   { background: #e3f2fd; color: #158ae7; }
.sec-chip--red    { background: #ffebee; color: #d32215; }
.sec-chip--green  { background: #e8f5e9; color: #4caf50; }
.sec-chip--grey   { background: #f1f4f9; color: #64748b; }
.sec-chip svg     { flex-shrink: 0; }

/* Verify link */
.sec-verify-link {
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  text-decoration: underline;
  line-height: 18px;
}
.sec-verify-link:hover { color: #0f1a2a; }

/* Password inputs */
.sec-password-wrap {
  position: relative;
  width: 100%;
}
.sec-password-input { padding-right: 44px !important; width: 100%; }
.sec-eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}
.sec-eye-btn svg path { stroke: #0f1a2a; }

/* 2FA row */
.sec-row-between {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.sec-fa-desc { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sec-hint-text {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  line-height: 24px;
}

/* Toggle */
.sec-toggle {
  width: 36px;
  height: 20px;
  border-radius: 60px;
  border: 1px solid #475569;
  display: flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.sec-toggle--on  { background: #000; justify-content: flex-end; }
.sec-toggle--off { background: #cbd4e1; justify-content: flex-start; }
.sec-toggle-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

/* Recovery codes */
.sec-recovery { display: flex; flex-direction: column; gap: 12px; }
.sec-codes-box {
  background: #f1f4f9;
  border: 1px solid #cbd4e1;
  border-radius: 16px;
  overflow: hidden;
  max-width: 473px;
}
.sec-codes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  gap: 20px 0;
}
.sec-code {
  width: 20%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  line-height: 18px;
}
.sec-codes-actions {
  border-top: 1px solid #cbd4e1;
  display: flex;
  align-items: center;
}
.sec-codes-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: none;
  border: none;
  border-right: 1px solid #cbd4e1;
  cursor: pointer;
  border-radius: 0;
}
.sec-codes-action-btn:last-child { border-right: none; }
.sec-codes-action-btn:hover  { background: #f6f8fc; }
.sec-codes-action-btn:active { background: #e2e8f0; }

/* Linked accounts */
.sec-linked-list { display: flex; flex-direction: column; }
.sec-linked-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #cbd4e1;
}
.sec-linked-info { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.sec-linked-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  line-height: 18px;
}

/* Active sessions */
.sec-sessions-list { display: flex; flex-direction: column; }
.sec-session-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #cbd4e1;
}
.sec-session-info { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }

/* ══════════════════════════════════════
   CATEGORIES PAGE
   ══════════════════════════════════════ */

.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #0f1a2a;
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #0f1a2a;
  line-height: 24px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.cat-btn .material-symbols-outlined {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cat-btn:hover  { box-shadow: 0 3px 5px #27364b26; }
.cat-btn:active { background: #f6f8fc; box-shadow: none; }

.cat-btn--selected,
.cat-btn--selected:hover {
  background: #0f1a2a;
  color: #fff;
  border-color: #0f1a2a;
  box-shadow: none;
}
.cat-btn--selected:hover  { box-shadow: 0 3px 5px #27364b26; }
.cat-btn--selected:active { background: #27364b; box-shadow: none; }

.cat-btn--selected .material-symbols-outlined {
  color: #fff;
}

/* ══════════════════════════════════════
   NOTIFICATIONS PAGE
   ══════════════════════════════════════ */

.notif-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #0f1a2a;
  line-height: 32px;
}
.notif-section-title svg { flex-shrink: 0; }

.notif-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.notif-row-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.notif-hint {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  line-height: 24px;
}

/* Toggle */
.ntog {
  width: 36px;
  height: 20px;
  border-radius: 60px;
  border: 1px solid #0f1a2a;
  display: flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  transition: background 0.2s;
  position: relative;
}
.ntog::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ntog--off {
  background: #fff;
  justify-content: flex-start;
}
.ntog--off::after {
  background: #0f1a2a;
}
.ntog--on {
  background: #0f1a2a;
  justify-content: flex-end;
  border-color: #0f1a2a;
}
.ntog--on::after {
  background: #fff;
}
.ntog--disabled {
  background: #94a3b8;
  border-color: #cbd4e1;
  justify-content: flex-end;
  cursor: default;
  pointer-events: none;
}
.ntog--disabled::after {
  background: #fff;
}

/* ══════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════ */

.faq-box { gap: 32px; }

/* Header row: title + search */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* FAQ list */
.faq-list { display: flex; flex-direction: column; width: 100%; }

/* Each accordion item */
.faq-item { display: flex; flex-direction: column; }

.faq-item-title {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: none;
  border-top: 1px solid #cbd4e1;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #27364b;
  line-height: 18px;
  font-family: 'Inter', sans-serif;
}
.faq-item-title span:first-child { flex: 1; min-width: 0; }
.faq-item-title:hover { color: #0f1a2a; }

.faq-chevron {
  font-size: 32px;
  color: #0f1a2a;
  flex-shrink: 0;
}

/* Answer body */
.faq-item-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 20px;
}
.faq-item-body p {
  font-size: 16px;
  font-weight: 400;
  color: #0f1a2a;
  line-height: 24px;
  margin: 0 0 16px 0;
}
.faq-item-body p:last-of-type { margin-bottom: 0; }

/* Was this helpful bar */
.faq-helpful {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 12px;
  margin-top: 20px;
}
.faq-helpful-prompt,
.faq-helpful-thanks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}
.faq-helpful-label {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: #0f1a2a;
  line-height: 16px;
  text-align: right;
}
.faq-helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 60px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 16px;
  cursor: pointer;
  border: 1px solid #000;
  white-space: nowrap;
}
.faq-helpful-btn .material-symbols-outlined { font-size: 16px; }
.faq-helpful-btn--yes { background: #000; color: #fff; }
.faq-helpful-btn--yes:hover  { box-shadow: 0 3px 5px #27364b26; }
.faq-helpful-btn--yes:active { background: #27364b; border-color: #000; box-shadow: none; }
.faq-helpful-btn--no  { background: #fff; color: #000; }
.faq-helpful-btn--no:hover   { box-shadow: 0 3px 5px #27364b26; }
.faq-helpful-btn--no:active  { background: #f6f8fc; box-shadow: none; }

/* ═══════════════════════════════════════════════
   Request Detail Page  (request-detail.html)
   ═══════════════════════════════════════════════ */

.rd-page {
  flex: 1;
  padding: 40px 20px;
}
.rd-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Back link */
.rd-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #0f1a2a;
  text-decoration: none;
  cursor: pointer;
  line-height: 18px;
}
.rd-back:hover { opacity: 0.8; }
.rd-back .material-symbols-outlined { font-size: 24px; }
.rd-back-label { text-decoration: underline; }

/* Two-column layout */
.rd-columns {
  display: flex;
  gap: 29px;
  align-items: flex-start;
}
.rd-left  { flex-shrink: 0; width: 762px; }
.rd-left-stack { display: flex; flex-direction: column; gap: 24px; }
.rd-right { flex-shrink: 0; width: 369px; display: flex; flex-direction: column; gap: 20px; }

/* White box */
.rd-box {
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Box 1: Main ── */
.rd-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f1a2a;
  line-height: 40px;
}
.rd-hero {
  border-radius: 12px;
  overflow: hidden;
  height: 292px;
  width: 100%;
  flex-shrink: 0;
}
.rd-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rd-body-text {
  display: flex;
  flex-direction: column;
}
.rd-body-text p {
  font-size: 16px;
  font-weight: 400;
  color: #27364b;
  line-height: 24px;
  margin: 0;
}
.rd-body-text p + p { margin-top: 16px; }
.rd-read-more {
  font-size: 14px;
  font-weight: 500;
  color: #27364b;
  text-decoration: none;
}
.rd-read-more:hover { text-decoration: underline; }

/* ── Box 2: Supporters ── */
.rd-section-header { display: flex; flex-direction: column; gap: 2px; }
.rd-section-title  { font-size: 20px; font-weight: 700; color: #0f1a2a; line-height: 32px; }
.rd-section-sub    { font-size: 16px; font-weight: 400; color: #64748b; line-height: 24px; }

.rd-supporter { display: flex; gap: 8px; align-items: flex-start; }
.rd-supporter-icon {
  width: 32px; height: 32px; min-width: 32px;
  background: #f1f4f9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rd-supporter-icon .material-symbols-outlined { font-size: 18px; color: #0f1a2a; }
.rd-supporter-info { display: flex; flex-direction: column; gap: 4px; }
.rd-supporter-name { font-size: 16px; font-weight: 400; color: #0f1a2a; line-height: 18px; }
.rd-supporter-amtrow { display: flex; flex-direction: column; gap: 4px; }
.rd-supporter-amount { font-size: 16px; font-weight: 700; color: #0f1a2a; line-height: 18px; }
.rd-supporter-time { font-size: 12px; font-weight: 400; color: #64748b; line-height: 16px; letter-spacing: 0.4px; }
.rd-supporter-message { font-size: 16px; font-weight: 400; color: #0f1a2a; line-height: 18px; margin-top: 4px; }

.rd-divider { height: 1px; background: #cbd4e1; width: 100%; flex-shrink: 0; }

.rd-btn-row { display: flex; gap: 19px; width: 100%; }
.rd-btn-outline {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 1px solid #0f1a2a;
  border-radius: 60px;
  background: #fff; color: #0f1a2a;
  font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 24px;
  cursor: pointer; white-space: nowrap;
}
.rd-btn-outline:hover  { box-shadow: 0 3px 5px #27364b26; }
.rd-btn-outline:active { background: #f6f8fc; box-shadow: none; }

/* ── Box 3: Photos ── */
.rd-thumbnails { display: flex; gap: 24px; width: 100%; }
.rd-thumb {
  flex: 1; height: 150px;
  border-radius: 9px; overflow: hidden;
  position: relative;
  border: 1px solid #cbd4e1;
}
.rd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-thumb--dark { background: linear-gradient(to bottom, #5d5d5d 8%, #000 80%); }
.rd-download-btn {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px;
  background: #f1f4f9;
  border: 4px solid #f1f4f9;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.rd-download-btn .material-symbols-outlined { font-size: 14px; color: #0f1a2a; }

.rd-btn-sm-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #fff; color: #0f1a2a;
  font-size: 14px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 16px;
  cursor: pointer; white-space: nowrap;
}
.rd-btn-sm-outline:hover  { box-shadow: 0 3px 5px #27364b26; }
.rd-btn-sm-outline:active { background: #f6f8fc; box-shadow: none; }

/* ── Box 4: Updates ── */
.rd-updates-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rd-updates-list li { font-size: 16px; font-weight: 400; line-height: 24px; color: #0f1a2a; }
.rd-updates-list--muted li { color: #94a3b8; }
.rd-created { font-size: 16px; font-weight: 400; color: #64748b; line-height: 24px; }

/* ── Right box 1: Donation ── */
.rd-amount-group { display: flex; flex-direction: column; gap: 8px; }
.rd-donation-stack { display: flex; flex-direction: column; }
.rd-raised { font-size: 24px; font-weight: 700; color: #0f1a2a; line-height: 32px; }
.rd-raised span { font-weight: 400; }
.rd-of { font-size: 16px; font-weight: 400; color: #27364b; line-height: 24px; }
.rd-progress-group { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.rd-progress-track { width: 100%; height: 8px; background: #f1f4f9; border-radius: 4px; overflow: hidden; }
.rd-progress-fill  { height: 100%; background: #0f1a2a; border-radius: 8px; }
.rd-progress-label { font-size: 14px; font-weight: 400; color: #64748b; line-height: 24px; }

.rd-top-donation {
  display: flex; align-items: center; gap: 16px;
  border: 2px solid #dee4ec; border-radius: 8px;
  padding: 16px 20px;
}
.rd-leaderboard-icon { width: 56px; height: 56px; flex-shrink: 0; display: block; }
.rd-top-amount { font-size: 18px; font-weight: 700; color: #000; line-height: 24px; }
.rd-top-name   { font-size: 16px; font-weight: 400; color: #000; line-height: 24px; }

.rd-help-section { display: flex; flex-direction: column; gap: 24px; }
.rd-help-title   { font-size: 16px; font-weight: 600; color: #27364b; line-height: 18px; }
.rd-help-text    { font-size: 16px; font-weight: 400; color: #27364b; line-height: 24px; }
.rd-btn-stack    { display: flex; flex-direction: column; gap: 16px; }

.rd-btn-filled {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #0f1a2a; color: #fff;
  font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 24px;
  cursor: pointer; white-space: nowrap;
}
.rd-btn-filled:hover  { box-shadow: 0 3px 5px #27364b26; }
.rd-btn-filled:active { background: #27364b; box-shadow: none; }

.rd-btn-outline-full {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #fff; color: #0f1a2a;
  font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 24px;
  cursor: pointer; white-space: nowrap;
}
.rd-btn-outline-full:hover  { box-shadow: 0 3px 5px #27364b26; }
.rd-btn-outline-full:active { background: #f6f8fc; box-shadow: none; }

/* ── Right box 2: Details ── */
.rd-box--details { gap: 32px; }
.rd-detail-row { display: flex; gap: 16px; align-items: flex-start; }
.rd-detail-icon {
  width: 32px; height: 32px; min-width: 32px;
  background: #0f1a2a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rd-detail-icon .material-symbols-outlined { font-size: 18px; color: #fff; }
.rd-detail-content { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rd-detail-label { font-size: 16px; font-weight: 600; color: #27364b; line-height: 18px; }
.rd-detail-value { font-size: 16px; font-weight: 400; color: #27364b; line-height: 18px; }
.rd-contact {
  font-size: 14px; font-weight: 700;
  color: #27364b; text-decoration: underline;
  white-space: nowrap; align-self: flex-start;
  margin-top: 2px;
}
.rd-contact:hover { opacity: 0.8; }

.rd-updates-list--body li { color: #27364b; }
.rd-supporters-icon { font-size: 56px; color: #0f1a2a; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   Create Request – Full Form  (create-request-full.html)
   ═══════════════════════════════════════════════ */

.crf-page  { flex: 1; padding: 20px; }
.crf-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}

/* Back link */
.crf-back {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 16px; font-weight: 600; color: #0f1a2a;
  text-decoration: none; line-height: 18px;
}
.crf-back:hover { opacity: 0.8; }
.crf-back .material-symbols-outlined { font-size: 24px; }
.crf-back-label { text-decoration: underline; }

/* Heading */
.crf-page-title {
  font-size: 48px; font-weight: 500; color: #0f1a2a; line-height: 64px;
}
.crf-page-sub {
  font-size: 18px; font-weight: 500; color: #64748b; line-height: 24px;
}

/* White boxes */
.crf-box {
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
}

/* ── Form Area (two columns) ── */
.crf-form-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.crf-col-left  { width: 530px; display: flex; flex-direction: column; gap: 20px; flex-shrink: 0; }
.crf-col-right { width: 530px; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ── Field groups ── */
.crf-field { display: flex; flex-direction: column; gap: 12px; }

.crf-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 16px; font-weight: 600; color: #27364b; line-height: 18px;
}
.crf-required { color: #d32215; }

.crf-input {
  width: 100%;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400;
  color: #27364b; line-height: 18px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.crf-input:hover  { border-color: #475569; }
.crf-input:focus  { border-color: #0f1a2a; }
.crf-input::placeholder { color: #94a3b8; }

/* Custom select wrapper */
.crf-select-wrap { position: relative; width: 100%; }
.crf-select {
  width: 100%;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px 40px 12px 12px;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400;
  color: #27364b; line-height: 18px;
  background: #fff;
  appearance: none; -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.crf-select:hover { border-color: #475569; }
.crf-select:focus { border-color: #0f1a2a; }
.crf-select-arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none;
}

/* Date field (calendar icon inside) */
.crf-date-wrap { position: relative; width: 255px; }
.crf-date-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none;
}
.crf-date {
  width: 100%;
  border: 1px solid #cbd4e1;
  border-radius: 60px;
  padding: 12px 40px 12px 38px;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400;
  color: #27364b; line-height: 18px;
  background: #fff;
  appearance: none; -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.crf-date:hover { border-color: #475569; }
.crf-date:focus { border-color: #0f1a2a; }
.crf-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  cursor: pointer;
}

/* State + City row */
.crf-loc-row { display: flex; gap: 20px; width: 100%; }
.crf-loc-row .crf-select-wrap { flex: 1; }
.crf-loc-row .crf-input { flex: 1; }

/* Field hint */
.crf-field-hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 400; color: #64748b; line-height: 16px;
}
.crf-field-hint img { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Dropzone ── */
.crf-dropzone {
  background: #f6f8fc;
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.crf-dropzone-graphic { width: 135.7px; height: auto; display: block; }
.crf-dropzone-title {
  font-size: 28px; font-weight: 500; color: #0f1a2a;
  line-height: 40px; text-align: center;
}
.crf-dropzone-or {
  font-size: 16px; font-weight: 400; color: #27364b;
  line-height: 24px; text-align: center;
}
.crf-upload-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: #0f1a2a; color: #fff;
  border: 1px solid #0f1a2a; border-radius: 60px;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400;
  line-height: 18px; cursor: pointer; white-space: nowrap;
}
.crf-upload-btn:hover  { box-shadow: 0 3px 5px #27364b26; }
.crf-upload-btn:active { background: #27364b; box-shadow: none; }
.crf-upload-hint {
  font-size: 14px; font-weight: 400; color: #64748b;
  line-height: 22px; text-align: center; letter-spacing: 0.5px;
}

/* ── Story textarea ── */
.crf-story-box {
  background: #fff;
  border: 1px solid #f6f8fc;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(15,26,42,0.04);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.crf-story-header {
  display: flex; align-items: center; justify-content: space-between;
}
.crf-counter { font-size: 14px; font-weight: 400; color: #64748b; line-height: 16px; }
.crf-story-area {
  width: 100%; min-height: 200px;
  border: 1px solid #cbd4e1; border-radius: 15px;
  padding: 12px;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400;
  color: #27364b; line-height: 24px;
  resize: vertical; outline: none;
  transition: border-color 0.15s;
}
.crf-story-area:hover { border-color: #475569; }
.crf-story-area:focus { border-color: #0f1a2a; }
.crf-story-area::placeholder { color: #94a3b8; }

/* ── Buttons bar ── */
.crf-btn-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.crf-btn-right { display: flex; align-items: center; gap: 10px; }

.crf-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #fff; color: #0f1a2a;
  font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 400;
  line-height: 24px; cursor: pointer; white-space: nowrap;
}
.crf-btn-outline:hover  { box-shadow: 0 3px 5px #27364b26; }
.crf-btn-outline:active { background: #f6f8fc; box-shadow: none; }

.crf-btn-filled {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #0f1a2a; color: #fff;
  font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 400;
  line-height: 24px; cursor: pointer; white-space: nowrap;
}
.crf-btn-filled:hover  { box-shadow: 0 3px 5px #27364b26; }
.crf-btn-filled:active { background: #27364b; box-shadow: none; }

/* Financial extra fields */
.crf-financial-row { display: flex; gap: 20px; align-items: flex-start; width: 100%; }
.crf-financial-row .crf-field { flex: 1; }
.crf-field--amount { position: relative; padding-bottom: 28px; }
.crf-field--amount .crf-field-hint { position: absolute; bottom: 2px; left: 0; }

/* ═══════════════════════════════════════════════
   Create Request – Preview  (create-request-preview.html)
   ═══════════════════════════════════════════════ */

/* Top bar */
.prv-top-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.prv-top-right { display: flex; align-items: center; gap: 20px; }

.prv-btn-edit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #fff; color: #0f1a2a;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 18px;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.prv-btn-edit img { width: 18px; height: 18px; flex-shrink: 0; }
.prv-btn-edit:hover  { box-shadow: 0 3px 5px #27364b26; }
.prv-btn-edit:active { background: #f6f8fc; box-shadow: none; }

.prv-btn-post {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; width: 150px;
  border: 1px solid #0f1a2a; border-radius: 60px;
  background: #0f1a2a; color: #fff;
  font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 18px;
  cursor: pointer; white-space: nowrap;
}
.prv-btn-post img { width: 18px; height: 18px; flex-shrink: 0; filter: brightness(0) invert(1); }
.prv-btn-post:hover  { box-shadow: 0 3px 5px #27364b26; }
.prv-btn-post:active { background: #27364b; box-shadow: none; }

/* Hero image with overlay nav */
.prv-hero {
  position: relative; border-radius: 12px; overflow: hidden;
  height: 292px; width: 100%; flex-shrink: 0;
}
.prv-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prv-hero::after {
  content: '';
  position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(to bottom, transparent 74%, #242424 100%);
  pointer-events: none;
}
.prv-pagi {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; align-items: center; gap: 8px;
  z-index: 1;
}
.prv-pagi-dot {
  height: 5px; width: 12px; border-radius: 24px;
  background: #e4e4e4;
}
.prv-pagi-dot--active { width: 53px; background: #000; }
.prv-nav {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 8px;
  z-index: 1;
}
.prv-nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: #0f1a2a; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prv-nav-btn img { width: 24px; height: 24px; filter: brightness(0) invert(1); display: block; }
.prv-nav-btn--prev img { transform: scaleX(-1); }
.prv-nav-btn:hover  { background: #27364b; }
.prv-nav-btn:active { background: #475569; }

/* Empty state text */
.prv-empty { font-size: 16px; font-weight: 400; color: #94a3b8; line-height: 24px; }

/* Donation box – preview state */
.prv-post-cta { font-size: 16px; font-weight: 400; color: #27364b; line-height: 24px; }
