/* Boosten Angel Font - Add font file if available */
@font-face {
  font-family: 'Boosten Angel';
  src: url('fonts/boosten-angel.woff2') format('woff2'),
       url('fonts/boosten-angel.woff') format('woff'),
       url('fonts/boosten-angel.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #f3f1f1;
  --primary-color: #4e3a22;
  --text-dark: #4e3a22;
  --text-muted: #8b7355;
  --field-bg: #ffffff;
  --border-color: rgba(78, 58, 34, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

main {
  width: 100%;
}

.app-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  padding: 32px 32px 40px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  border-radius: 0 0 70px 70px;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.15;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__header,
.hero__content {
  position: relative;
  z-index: 1;
}

.hero__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
}

.hero__logo {
  width: auto;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.hero__brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary-color);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hero__slogan {
  margin: 8px 0;
}

.hero__slogan-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  max-width: 90%;
}

.auth {
  background: var(--bg-color);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.auth__header {
  text-align: center;
  margin-bottom: 8px;
}

.auth__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
}

.auth__meta {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.auth__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.auth__link:hover {
  text-decoration: underline;
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-field {
  background: var(--field-bg);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
}

.input-field input {
  border: none;
  background: transparent;
  font: inherit;
  color: var(--text-dark);
  width: 100%;
  font-size: 15px;
}

.input-field input::placeholder {
  color: rgba(78, 58, 34, 0.5);
}

.input-field input:focus {
  outline: none;
}

.input-field__icon svg,
.input-field__toggle svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-color);
  opacity: 0.7;
}

.input-field__toggle {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-field__toggle.is-active svg {
  opacity: 1;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  accent-color: var(--primary-color);
  cursor: pointer;
}

.btn-primary {
  border: none;
  border-radius: 18px;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  box-shadow: 0 8px 20px rgba(78, 58, 34, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Work Sans', sans-serif;
  margin-top: 4px;
}

.btn-primary:hover {
  background: #5a4530;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.25);
}

.auth__note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.auth__cta {
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 15px;
  margin-top: -8px;
}

.auth__cta:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .app-shell {
    border-radius: 0;
    min-height: 100vh;
  }

  .hero {
    padding: 28px 24px 32px;
  }

  .auth {
    padding: 28px 24px;
  }
}

/* Dashboard Styles */
.page-dashboard {
  background: var(--bg-color);
}

.dashboard-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.dashboard-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 0 0 60px 60px;
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.dash-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-brand__name {
  font-family: 'Boosten Angel', 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-color);
  line-height: 16px;
}

.dash-brand__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #503d2a;
  font-weight: 600;
  line-height: 14px;
  font-style: italic;
}

.dash-premium-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c7b194 0%, #f4e4bc 50%, #c7b194 100%);
  padding: 0;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.premium-badge__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
}

.premium-badge__name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
}

.premium-badge__status {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.premium-badge__status img {
  width: 12px;
  height: 12px;
  display: inline-block;
}

.premium-badge__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(78, 58, 34, 0.2);
}

.dash-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  z-index: 9999;
}

.dash-slogan__image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.dash-slogan__tagline {
  margin: 0;
  font-size: 14px;
  color: #523922;
  font-weight: 500;
  line-height: 16px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 0px;
  margin: 0 20px;
  background: transparent;
}

.metric-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border-color);
}

.metric-card img,
.metric-card .metric-icon {
  width: auto;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary-color);
}

.metric-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.metric-card strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--primary-color);
}

.metric-card--whatsapp .metric-whatsapp-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex-shrink: 0;
}

.metric-icon--whatsapp {
  width: 24px;
  height: 24px;
}

.metric-whatsapp-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

.metric-icon--whatsapp-small {
  width: 16px;
  height: 16px;
  color: #25d366;
}
.metric-card .whatsapp-btn{
    width: 75px;
    height: auto;
    margin-top: 5px;
}

.dash-feed {
  padding: 16px 0px 60px;
  display: flex;
  flex-direction: column;
}

.dash-feed header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 24px;
  margin-bottom: 15px;
}

.dash-feed h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.dash-feed a {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
}

.dash-feed a:hover {
  text-decoration: underline;
}
.dash-feed__divider{
  border-bottom: 1px solid var(--border-color);
}
.dash-feed .feed-active{
  background: #fff;
}
.feed-card {
  background: transparent;
  border-radius: 0;
  padding: 12px;
  /* box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1); */
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dash-feed .feed-active .feed-card__icon-wrapper{
  background: #f3f1f1;
}
.feed-card__icon-wrapper {
  position: relative;
  flex-shrink: 0;
  background: #fff;
  height: 50px;
  width: 50px;
  border-radius: 50px;
}

.feed-card__icon-wrapper img {
  width: 40px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feed-card__heart {
  position: absolute;
  bottom: -4px;
  left: -4px;
  font-size: 14px;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(81, 50, 50, 0.1);
}

.feed-card__body {
  flex: 1;
  min-width: 0;
}

.feed-card__title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.4;
}

.feed-card__meta {
  margin: 2px 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.feed-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.feed-card__time {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-withdraw {
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  background: #8b0000;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: 'Work Sans', sans-serif;
}

.btn-withdraw:hover {
  background: #a00000;
}

.btn-withdraw:active {
  transform: translateY(1px);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 425px;
  background: #fff;
  border-radius: 70px 70px 45px 45px;
  padding: 20px 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
}
.nav-item {
  text-align: center;
  font-size: 11px;
  color: #8a8a8a;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.nav-item img,
.nav-item svg {
  width: auto;
  height: 20px;
  /* filter: brightness(0) invert(1) opacity(0.7);
  transition: opacity 0.2s ease; */
}

.nav-item .nav-profile-icon {
  width: 20px;
  height: 20px;
  color: #8a8a8a;
  transition: color 0.2s ease;
}

.nav-item.is-current {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-item.is-current img,
.nav-item.is-current svg,
.nav-item.is-current .nav-profile-icon {
  color: var(--primary-color);
  opacity: 1;
}

.nav-floating {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  border: 3px solid #fff;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  margin-top: -35px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.3);
}

.nav-floating img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* Dashboard Responsive */
@media (max-width: 480px) {
  .dashboard-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .dash-metrics {
    margin: 0 16px;
    padding: 12px;
    gap: 10px;
  }

  .metric-card {
    padding: 12px;
  }

  .dash-feed {
    padding: 16px 20px 100px;
  }

  .bottom-nav {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 8px 6px;
  }
}

/* eBook Packages Styles */
.page-ebooks {
  background: var(--bg-color);
}

.ebooks-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.ebooks-hero {
  position: relative;
  padding: 24px 28px 120px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.ebooks-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: -110px;
  z-index: 9;
}

.ebooks-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ebook-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.ebook-card__price-ribbon {
  position: absolute;
  top: 30px;
  left: -20px;
  background: #dac5ae;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 0;
  z-index: 2;
  transform: rotate(323deg);
  transform-origin: top left;
  box-shadow: 0 2px 4px rgba(78, 58, 34, 0.2);
  min-width: 90px;
}

.ebook-card__heart {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background 0.2s ease;
  background: linear-gradient(135deg, #c7b194 0%, #f4e4bc 50%, #c7b194 100%);
}

.ebook-card__heart:hover {
  background: rgba(255, 255, 255, 0.8);
}

.ebook-card__heart img {
  width: 18px;
  height: 18px;
  transition: filter 0.2s ease;
}

.ebook-card__heart.is-favorite img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(7151%) hue-rotate(353deg) brightness(95%) contrast(118%);
}

.ebook-card__image {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}

.ebook-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebook-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.ebook-card__title {
  margin: 0;
  font-size: 16px;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  line-height: 18px;
  font-weight: 600;
}

.ebook-card__description {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

.ebook-card__buy-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background: #8b0000;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  margin-top: 4px;
}

.ebook-card__buy-btn:hover {
  background: #a00000;
}

.ebook-card__buy-btn:active {
  transform: translateY(1px);
  background: #700000;
}

/* eBook Packages Responsive */
@media (max-width: 480px) {
  .ebooks-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .ebooks-content {
    padding: 20px 16px 100px;
  }

  .ebooks-grid {
    gap: 12px;
  }

  .ebook-card {
    padding: 10px;
  }

  .ebook-card__image {
    height: 120px;
  }
}

/* Package Detail Styles */
.page-package-detail {
  background: var(--bg-color);
}

.package-detail-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.package-detail-hero {
  position: relative;
  padding: 24px 28px 120px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 0 0 60px 60px;
  overflow: hidden;
}

.package-detail-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: -110px;
  z-index: 9;
}

.package-detail-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.package-detail-card__price-ribbon {
  position: absolute;
  top: 50px;
  left: -20px;
  background: #dac5ae;
  color: var(--primary-color);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 0;
  z-index: 2;
  transform: rotate(323deg);
  transform-origin: top left;
  box-shadow: 0 2px 4px rgba(78, 58, 34, 0.2);
  min-width: 123px;
  text-align: center;
  font-size: 16px;
}

.package-detail-header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 10px;
}

.package-detail-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.3;
}

.package-detail-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.package-detail-text {
  margin-bottom: 24px;
}

.urdu-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--primary-color);
  font-weight: 400;
  text-align: right;
  direction: rtl;
  font-family: 'Noto Nastaliq Urdu', 'Al Qalam Taj Nastaleeq', 'Jameel Noori Nastaleeq', 'Nafees Web Naskh', 'Arial Unicode MS', 'Tahoma', sans-serif;
  letter-spacing: 0.02em;
  word-spacing: 0.1em;
}

.package-detail-buy-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.package-detail-buy-btn:hover {
  background: #5a4530;
}

.package-detail-buy-btn:active {
  transform: translateY(1px);
  background: #3d2e1f;
}

.package-detail-buy-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

/* Package Detail Responsive */
@media (max-width: 480px) {
  .package-detail-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .package-detail-content {
    padding: 20px 16px 100px;
  }

  .package-detail-card {
    padding: 20px 16px;
  }

  .package-detail-title {
    font-size: 20px;
  }

  .package-detail-subtitle {
    font-size: 13px;
  }

  .urdu-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .package-detail-buy-btn {
    padding: 14px 18px;
    font-size: 15px;
  }
}

/* Plan Dashboard Styles */
.page-plan-dashboard {
  background: var(--bg-color);
}

.plan-dashboard-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.plan-dashboard-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.plan-dashboard-content {
  padding: 24px 0px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-dashboard-header {
  text-align: center;
  margin-bottom: 8px;
}

.plan-dashboard-title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.05em;
}

.plan-dashboard-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 16px;
}

.plan-metric-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-color);
}

.plan-metric-card img,
.plan-metric-card .metric-icon {
  width: auto;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary-color);
}

.plan-metric-card__content {
  flex: 1;
  min-width: 0;
}

.plan-metric-card__content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.plan-metric-card__content strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--primary-color);
}

.plan-metric-dropdown {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-metric-dropdown svg {
  width: 12px;
  height: 8px;
}

.plan-metric-card--legs {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.plan-metric-card__content--legs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.leg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.leg-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg-item strong {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
}

.leg-status {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.leg-status--active {
  background: #4caf50;
  color: #fff;
}

.leg-status--inactive {
  background: #f44336;
  color: #fff;
}

.plan-leg-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 16px 8px 16px;
}

.plan-leg-btn {
  border: none;
  border-radius: 30px;
  padding: 14px 16px;
  background: #fff;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  border: 1px solid var(--border-color);
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(135deg, #c7b194 0%, #f4e4bc 50%, #c7b194 100%);
  font-style: italic;
}

.plan-leg-btn:hover {
  background: #f9f9f9;
}

.plan-leg-btn:active {
  transform: translateY(1px);
}

.plan-leg-btn img {
  width: 20px;
  height: 20px;
}

.plan-members-section {
  margin-top: 8px;
}

.plan-members-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
}

.plan-member-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.plan-member-card:last-child {
  margin-bottom: 0;
}

.plan-member-card__icon {
  position: relative;
  flex-shrink: 0;
  background: #f3f1f1;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-member-card__icon img {
  width: 40px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plan-member-heart {
  position: absolute;
  bottom: -4px;
  left: -4px;
  font-size: 14px;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-member-card__body {
  flex: 1;
  min-width: 0;
}

.plan-member-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
}

.plan-member-detail {
  margin: 2px 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.plan-member-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.member-status-icon {
  width: 24px;
  height: auto;
}

.member-status-text {
  font-size: 10px;
  font-weight: 500;
  text-align: right;
  line-height: 1.2;
  color: #4e3a22 !important;
}



/* Plan Dashboard Responsive */
@media (max-width: 480px) {
  .plan-dashboard-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .plan-dashboard-content {
    padding: 20px 0px 60px;
  }

  .plan-dashboard-title {
    font-size: 22px;
  }

  .plan-dashboard-metrics {
    gap: 10px;
  }

  .plan-metric-card {
    padding: 12px;
  }
}

/* Leader Page Styles */
.page-leader {
  background: var(--bg-color);
}

.leader-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.leader-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.leader-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leader-title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  text-align: center;
}

.leader-title strong {
  font-weight: 700;
}

.leader-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

.leader-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}

.leader-warning {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
  text-align: center;
}

.leader-spacer {
  min-height: 60px;
}

.leader-random-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  padding: 0 20px;
}

.leader-random-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  font-weight: 400;
  text-align: center;
}

.leader-btn {
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  width: 100%;
}

.leader-btn--verify {
  background: #9c3d3a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(156, 61, 58, 0.3);
  margin-top: 8px;
}

.leader-btn--verify:hover {
  background: #8a3633;
}

.leader-btn--verify:active {
  transform: translateY(1px);
  background: #7a2f2c;
}

.leader-btn--random {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.3);
}

.leader-btn--random:hover {
  background: #5a4530;
}

.leader-btn--random:active {
  transform: translateY(1px);
  background: #3d2e1f;
}

.leader-btn--random img {
  width: auto;
  height: 24px;
  filter: brightness(0) invert(1);
}

.leader-btn--random strong {
  font-weight: 700;
}

/* Leader Page Responsive */
@media (max-width: 480px) {
  .leader-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .leader-content {
    padding: 20px 16px 100px;
  }

  .leader-title {
    font-size: 22px;
  }

  .leader-warning {
    font-size: 12px;
  }

  .leader-random-text {
    font-size: 13px;
  }

  .leader-btn {
    padding: 14px 18px;
    font-size: 15px;
  }

  .leader-spacer {
    min-height: 40px;
  }
}

/* Leader Detail Page Styles */
.page-leader-detail {
  background: var(--bg-color);
}

.leader-detail-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.leader-detail-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.leader-detail-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.leader-detail-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.leader-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.leader-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  text-align: center;
}

.leader-phone {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  text-align: center;
}

.leader-detail-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
  margin-top: 8px;
}

.leader-btn--confirm {
  background: #9c3d3a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(156, 61, 58, 0.3);
  width: 100%;
}

.leader-btn--confirm:hover {
  background: #8a3633;
}

.leader-btn--confirm:active {
  transform: translateY(1px);
  background: #7a2f2c;
}

.leader-btn--confirm img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.leader-btn--not-leader {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.3);
  width: auto;
  min-width: 200px;
  padding: 12px 20px;
  font-size: 14px;
}

.leader-btn--not-leader:hover {
  background: #5a4530;
}

.leader-btn--not-leader:active {
  transform: translateY(1px);
  background: #3d2e1f;
}

.leader-btn--not-leader img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Leader Detail Page Responsive */
@media (max-width: 480px) {
  .leader-detail-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .leader-detail-content {
    padding: 20px 16px 100px;
  }

  .leader-detail-title {
    font-size: 18px;
  }

  .leader-name {
    font-size: 24px;
  }

  .leader-phone {
    font-size: 18px;
  }

  .leader-btn--not-leader {
    min-width: 180px;
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* Checkout Page Styles */
.page-checkout {
  background: var(--bg-color);
}

.checkout-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.checkout-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.checkout-content {
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checkout-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
  text-align: center;
  letter-spacing: 0.05em;
}

.checkout-package {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
}

.checkout-step {
  margin: 8px 0;
  text-align: center;
}

.checkout-step-label {
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  color: #9c3d3a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-step-label strong {
  font-weight: 700;
}

.checkout-payment-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-box-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f1;
  border-radius: 12px;
}

.payment-box-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.payment-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.payment-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.payment-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  flex: 1;
}

.payment-ellipsis {
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-ellipsis svg {
  width: 20px;
  height: 20px;
}

.payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;    background: #5138201f;
  padding: 5px 10px;
  border-radius: 5px;
}

.payment-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.payment-value {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.payment-account-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.account-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
}

.account-number-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.account-number {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  flex: 1;
  min-width: 0;
}

.btn-copy {
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: #9c3d3a;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  font-family: 'Work Sans', sans-serif;
}

.btn-copy:hover {
  background: #8a3633;
}

.btn-copy:active {
  background: #7a2f2c;
  transform: translateY(1px);
}

.checkout-instructions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.instruction-step {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
}

.instruction-step strong {
  font-weight: 600;
  color: var(--primary-color);
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.payment-tab {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  background: #f3f1f1;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Work Sans', sans-serif;
}

.payment-tab.active {
  background: var(--primary-color);
  color: #fff;
}

.payment-tab-content {
  display: none;
  gap: 16px;
  align-items: flex-start;
}

.payment-tab-content.active {
  display: flex;
}

.payment-account {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.payment-account-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f1;
  border-radius: 12px;
}

.payment-account-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.payment-account-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.balance-deduction {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.5;
}

.balance-amount {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.5;
}

.checkout-confirm-btn {
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  background: #9c3d3a;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(156, 61, 58, 0.3);
}

.checkout-confirm-btn:hover {
  background: #8a3633;
}

.checkout-confirm-btn:active {
  transform: translateY(1px);
  background: #7a2f2c;
}

.confirm-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.checkout-upload-btn {
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  background: #9c3d3a;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
  font-family: 'Work Sans', sans-serif;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(156, 61, 58, 0.3);
}

.checkout-upload-btn:hover {
  background: #8a3633;
}

.checkout-upload-btn:active {
  transform: translateY(1px);
  background: #7a2f2c;
}

.upload-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Checkout Page Responsive */
@media (max-width: 480px) {
  .checkout-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .checkout-content {
    padding: 20px 16px 50px;
  }

  .checkout-title {
    font-size: 22px;
  }

  .checkout-payment-box {
    padding: 16px;
  }

  .account-number-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-copy {
    width: 100%;
  }
}

/* Confirm Payment Page Styles */
.page-confirm-payment {
  background: var(--bg-color);
}

.confirm-payment-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.confirm-payment-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.confirm-payment-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.confirm-payment-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Noto Nastaliq Urdu', 'Al Qalam Taj Nastaleeq', 'Jameel Noori Nastaleeq', 'Nafees Web Naskh', 'Arial Unicode MS', 'Tahoma', sans-serif;
  text-align: center;
  direction: rtl;
}

.confirm-payment-urdu-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #dc3545;
  font-weight: 400;
  text-align: right;
  direction: rtl;
  font-family: 'Noto Nastaliq Urdu', 'Al Qalam Taj Nastaleeq', 'Jameel Noori Nastaleeq', 'Nafees Web Naskh', 'Arial Unicode MS', 'Tahoma', sans-serif;
  letter-spacing: 0.02em;
  word-spacing: 0.1em;
}

/* Confirm Payment Page Responsive */
@media (max-width: 480px) {
  .confirm-payment-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .confirm-payment-content {
    padding: 20px 16px 100px;
  }

  .confirm-payment-title {
    font-size: 22px;
  }

  .confirm-payment-urdu-text {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Terms & Conditions Page Styles */
.page-term-conditions {
  background: var(--bg-color);
}

.term-conditions-shell {
  width: 100%;
  max-width: 425px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(78, 58, 34, 0.15);
  padding-bottom: 100px;
}

.term-conditions-hero {
  position: relative;
  padding: 24px 28px 32px;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

.term-conditions-content {
  padding: 24px 20px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.term-conditions-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.term-conditions-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.term-section {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(78, 58, 34, 0.1);
  border: 1px solid var(--border-color);
}

.term-section-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
}

.term-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.term-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
  font-family: 'Work Sans', sans-serif;
}

.term-paragraph {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
  font-family: 'Work Sans', sans-serif;
}

.term-subtitle {
  margin: 16px 0 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Work Sans', sans-serif;
}

.plan-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0;
}

.plan-item {
  background: #f3f1f1;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  font-family: 'Work Sans', sans-serif;
}

.plan-item strong {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.plan-breakdown {
  margin: 8px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-breakdown li {
  font-size: 13px;
  color: var(--text-dark);
}

.plan-note {
  margin: 8px 0 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
}

.term-notice {
  margin: 16px 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: #9c3d3a;
  font-family: 'Work Sans', sans-serif;
}

/* Terms & Conditions Page Responsive */
@media (max-width: 480px) {
  .term-conditions-shell {
    border-radius: 0;
    padding-bottom: 90px;
  }

  .term-conditions-content {
    padding: 20px 16px 100px;
  }

  .term-conditions-title {
    font-size: 22px;
  }

  .term-section {
    padding: 16px;
  }

  .term-section-title {
    font-size: 15px;
  }

  .term-list li,
  .term-paragraph {
    font-size: 13px;
  }

  .plan-item {
    padding: 12px;
  }
  /* Step 4 - Screenshot Upload Styles */
  .screenshot-upload-content {
    padding: 1.5rem 18px 2rem;
    background: #faf9f7;
  }

  .screenshot-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5a3c;
    text-align: center;
    margin: 0 0 0.5rem 0;
  }

  .screenshot-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.875rem;
    color: #8b5a3c;
    text-align: center;
    margin: 0 0 1.5rem 0;
  }

  .screenshot-step {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .screenshot-step-label {
    display: inline-block;
    background: #8b0000;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .screenshot-upload-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
  }

  .screenshot-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .screenshot-card-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .screenshot-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .screenshot-card-title-row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .screenshot-card-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #8b5a3c;
    margin: 0;
  }

  .screenshot-ellipsis {
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #8b5a3c;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .screenshot-upload-body {
    text-align: center;
  }

  .screenshot-upload-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.875rem;
    color: #1f2433;
    margin: 0 0 1rem 0;
  }

  .screenshot-upload-btn {
    width: 100%;
    background: #8b0000;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.2s;
  }

  .screenshot-upload-btn:hover {
    background: #a00000;
  }

  .screenshot-upload-btn:active {
    background: #700000;
  }

  .screenshot-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ef4444;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.875rem;
  }

  .warning-icon {
    flex-shrink: 0;
  }

  .screenshot-confirm-btn {
    width: 100%;
    background: #8b0000;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
  }

  .screenshot-confirm-btn:hover {
    background: #a00000;
  }

  .screenshot-confirm-btn:active {
    background: #700000;
  }

  .money-icon {
    width: 24px;
    height: 24px;
  }

  .fraud-alert {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #fee2e2;
  }

  .fraud-alert-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #8b5a3c;
    margin: 0 0 0.75rem 0;
  }

  .fraud-alert-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.875rem;
    color: #1f2433;
    line-height: 1.6;
    margin: 0;
  }
}

