﻿@charset "utf-8";

/* ========================
   FinDeals - Optimized static stylesheet
   HTML5 + Bootstrap 5.3.7 companion styles
   Section order: tokens, base, header, hero, feature pages, components, modals
======================== */

/* ========================
   Root Variables
======================== */
:root {
  --primary: #6A38FF;
  --secondary: #8D5CFF;
  --dark: #15142B;
  --light: #F8F7FD;
  --text: #666;
  --border: #ECECEC;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --primary-hover: #5729E8;
  --card-radius: 18px;
  --btn-radius: 10px;
  --btn-height: 52px;
  --btn-gradient: linear-gradient(90deg, #FF4B91 0%, #9457EB 100%);
  --btn-gradient-hover: linear-gradient(90deg, #ff3a84 0%, #8546e0 100%);
}

/* ========================
   Base Styles
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark);
  font-weight: 600;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.section-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
}

.section-link:hover {
  color: var(--primary-hover);
}

/* ========================
   Header / Navbar
======================== */
.site-header {
  background: #fff;
  z-index: 1030;
  transition: box-shadow .25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  margin-right: 1rem;
}

.brand-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
}
.navbar .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: .85rem;
  padding: .45rem .7rem;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--primary);
}

.navbar .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.location-btn {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  background: #fff;
  color: var(--dark);
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .85rem;
}

.location-btn:hover,
.location-btn:focus,
.location-btn.show {
  border-color: var(--primary);
  color: var(--dark);
  background: #fff;
}

.notify-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.notify-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.notify-badge {
  font-size: .65rem;
  padding: .3em .45em;
}

.user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  padding: .25rem .7rem .25rem .3rem;
  font-weight: 500;
}

.user-profile-btn:hover,
.user-profile-btn:focus,
.user-profile-btn.show {
  border-color: var(--primary);
  background: #fff;
  color: var(--dark);
}

.user-profile-btn::after {
  margin-left: .15rem;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a38ff, #9457eb);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-profile-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.user-profile-meta strong {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
}

.user-profile-meta small {
  font-size: .66rem;
  color: #8a8da0;
}

.user-profile-menu {
  min-width: 240px;
  padding: .4rem 0;
  margin-top: .45rem !important;
}

.user-profile-menu-head {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.user-profile-menu-head strong {
  font-size: .88rem;
  color: var(--dark);
}

.user-profile-menu-head small {
  font-size: .72rem;
  color: #8a8da0;
}

.user-profile-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  font-weight: 500;
  padding: .55rem 1rem;
}

.user-profile-menu .dropdown-item i {
  width: 1.1rem;
  color: #6a38ff;
}

.user-profile-menu .dropdown-item.text-danger i {
  color: #dc3545;
}

.user-profile-mobile {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  background: #f6f4ff;
  border-radius: 12px;
}

.user-profile-mobile strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
}

.user-profile-mobile small {
  font-size: .72rem;
  color: #8a8da0;
}
btn-register {
  min-height: 44px;
  min-width: 100px;
  border-radius: 999px;
  background: var(--btn-gradient);
  border: 0;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem 1.1rem;
}
.btn-add-post {
  min-height: 44px;
  min-width: 120px;
  border-radius: 999px;
  background: var(--btn-gradient);
  border: 0;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .45rem 1.15rem;
  text-decoration: none;
}

.btn-add-post:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.offcanvas .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}

.offcanvas .nav-link.active,
.offcanvas .nav-link:hover {
  color: var(--primary);
}

/* ========================
   Buttons
======================== */
.btn-primary {
  background: var(--btn-gradient);
  border: 0;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  min-height: var(--btn-height);
  transition: all .25s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--btn-gradient-hover);
  border: 0;
  color: #fff;
}

.btn-main,
.btn-outline-main {
  min-height: var(--btn-height);
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.25rem;
  transition: all .25s ease;
}

.btn-outline-main {
  color: var(--primary);
  border: 1.5px solid var(--primary);
  background: #fff;
}

.btn-outline-main:hover {
  background: var(--light);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-search {
  min-height: var(--btn-height);
  padding-inline: 1.35rem;
  white-space: nowrap;
}

/* ========================
   Hero Section
======================== */
.hero-section {
  background-color: var(--light);
  background-image: url("../images/banner-background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  background: rgba(106, 56, 255, .08);
  border: 1px solid rgba(106, 56, 255, .15);
  color: #4C3D7A;
  font-size: .88rem;
  font-weight: 500;
  border-radius: 999px;
  padding: .45rem .95rem;
}

.hero-badge i {
  color: var(--primary);
}

.hero-title {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -.02em;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 540px;
  font-size: 1.02rem;
  color: var(--text);
}

.feature-trust-item strong {
  display: block;
  color: var(--dark);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.2;
}

.feature-trust-item small {
  color: var(--text);
  font-size: .75rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-icon-purple {
  background: rgba(106, 56, 255, .12);
  color: var(--primary);
}

.feature-icon-orange {
  background: rgba(255, 145, 77, .15);
  color: #FF914D;
}

.feature-icon-blue {
  background: rgba(47, 128, 237, .12);
  color: #2F80ED;
}

/* Search Box */
.search-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.search-city-btn {
  min-height: var(--btn-height);
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
  background: transparent;
  padding: .35rem 1.4rem;
  color: var(--dark);
}

.search-city-btn small {
  display: block;
  color: var(--text);
  font-size: .72rem;
  font-weight: 400;
}

.search-city-btn strong {
  font-size: .88rem;
}

.search-city-btn::after {
  margin-left: auto;
	position: absolute; top:32px; right: 10px;
}

.search-input-wrap {
  min-height: var(--btn-height);
}

.search-label {
  display: block;
  font-size: .72rem;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.2;
}

.search-input {
  padding: 0;
  font-size: .88rem;
  color: var(--dark);
  background: transparent;
}

.search-input::placeholder {
  color: #A0A0B2;
}

.hero-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--dark);
}

.hero-feature-chip i {
  color: var(--primary);
}

/* ========================
   Hero App Promo Panel
   (reference artwork + clickable store hotspots)
======================== */
.app-promo-panel {
  position: relative;
  width: 100%;
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(40, 12, 110, .28);
  background: #1a0a3a;
  line-height: 0;
}

.app-promo-visual {
  position: relative;
  width: 100%;
  /* Locks height so % hotspot coords resolve correctly */
  aspect-ratio: 768 / 1024;
}

.app-promo-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Clickable zones aligned to Google Play / App Store in the artwork */
.app-store-hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  left: 35.5%;
  width: 29%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, box-shadow .15s ease;
}

.app-store-hotspot--google {
  top: 45.3%;
  height: 6%;
}

.app-store-hotspot--apple {
  top: 52.2%;
  height: 6.8%;
}

.app-store-hotspot:hover,
.app-store-hotspot:focus-visible {
  background: rgba(106, 56, 255, .12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
  outline: none;
}

.app-store-hotspot:focus-visible {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(106, 56, 255, .55);
}

@media (max-width: 575.98px) {
  .app-promo-panel {
    border-radius: 18px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .app-store-hotspot--google {
    height: 4.4%;
  }

  .app-store-hotspot--apple {
    height: 5.2%;
  }
}
/* ========================
   Statistics
======================== */
.stats-section {
  margin-top: -4rem;
  position: relative;
  z-index: 5;
}

.stats-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .6rem;
  padding: .45rem .4rem;
  min-height: 62px;
}

.stat-icon {
  font-size: 1.2rem;
  color: var(--primary);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.stat-icon-gold {
  color: #FFB800;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.stat-number {
  color: var(--primary);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  margin: 0;
 font-weight:600;
}

.stat-label {
  font-size: .72rem;
  color: var(--text);
}

/* ========================
   Categories
======================== */
.categories-section {
  background: #fff;
}

.category-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1.25rem .75rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 118px;
  height: 100%;
}

.category-card-link:hover .category-card,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.category-card h3 {
  font-size: .82rem;
  margin: 0;
  font-weight: 600;
}

.icon-gold { background: #FFF4D6; color: #D4A017; }
.icon-vehicle { background: #E8F3FF; color: #2F80ED; }
.icon-property { background: #EDE7FF; color: var(--primary); }
.icon-personal { background: #FFE8F0; color: #E94C9A; }
.icon-business { background: #E9F8F0; color: #1FAF63; }
.icon-electronics { background: #EAF1FF; color: #3B6FF5; }
.icon-education { background: #FFF0E6; color: #FF914D; }
.icon-more { background: var(--light); color: var(--primary); }

.row-cols-xl-8 > * {
  flex: 0 0 auto;
  width: 12.5%;
}

/* ========================
   Latest Loan Requests
======================== */
.loans-section {
  background: var(--light);
}

.loans-slider-wrap {
  padding: 0 2.2rem 0 0;
}

.loans-track {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: .35rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.loans-track::-webkit-scrollbar {
  display: none;
}

.loan-card {
  flex: 0 0 calc(33% - .9rem);
  min-width: 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(40, 28, 90, .07);
  padding: 1rem 1rem .9rem;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.loan-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--btn-gradient);
  opacity: .9;
}

.loan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(40, 28, 90, .12);
}

.loan-card-actions {
  margin-top: auto;
  padding-top: .9rem;
}

.loan-view-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  padding: .55rem .85rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn.loan-view-btn:hover,
.btn.loan-view-btn:focus,
.btn.loan-view-btn:active {
  background: var(--btn-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(106, 56, 255, .28);
}

.loan-view-btn i {
  font-size: .85rem;
}

.loan-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-gradient);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .22rem .6rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(106, 56, 255, .25);
}

.wishlist-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f3efff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  line-height: 1;
  flex-shrink: 0;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #ff4f6a;
  background: #ffe8f0;
}

.loan-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ede7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-thumb.bg-gold { background: #fff4d6; }
.loan-thumb.bg-vehicle { background: #e8f3ff; }
.loan-thumb.bg-property { background: #ede7ff; }
.loan-thumb.bg-personal { background: #f1ecff; }
.loan-thumb.bg-business { background: #e7f8ef; }
.loan-thumb.bg-electronics { background: #fff0f5; }
.loan-thumb.bg-education { background: #eaf2ff; }

.loan-thumb img {
  width: 58px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.loan-title-row {
  margin-bottom: .35rem;
}

.loan-title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}

.loan-amount {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.loan-location,
.loan-location-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #efeaff;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 500;
  border-radius: 999px;
  padding: .22rem .55rem;
  width: fit-content;
}

.loan-location i,
.loan-location-chip i {
  color: var(--primary);
  font-size: .7rem;
}

.loan-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  border-top: 1px solid #ebeaf2;
  padding-top: .85rem;
  margin-top: .15rem;
}

.loan-meta-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.loan-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  width: 100%;
  border-radius: 999px;
  padding: .3rem .3rem;
  font-size: .66rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.loan-meta-pill i {
  font-size: .72rem;
  flex-shrink: 0;
}

.loan-meta-pill.meta-green {
  background: #e7f8ef;
}

.loan-meta-pill.meta-green i {
  color: #22c55e;
}

.loan-meta-pill.meta-orange {
  background: #fff3e5;
}

.loan-meta-pill.meta-orange i {
  color: #f59e0b;
}

.loan-meta-pill.meta-blue {
  background: #eaf2ff;
}

.loan-meta-pill.meta-blue i {
  color: #3b82f6;
}

.loan-meta-item > span {
  display: block;
  font-size: .6rem;
  color: #8a8da0;
  line-height: 1.2;
  margin-top: .28rem;
}

/* legacy meta fallback if pills missing */
.loan-meta-item > i {
  color: var(--primary);
  font-size: .88rem;
}

.loan-meta-item > strong {
  color: var(--dark);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}

.loans-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
}

.loans-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.loans-prev-btn {
  left: 0;
}

.loans-next-btn {
  right: 0;
}

/* ========================
   Footer
======================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-copy {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.45;
}

.footer-copy-sub {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  color: #6b758c;
  font-weight: 500;
}

.footer-links a {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ========================
  Auth Page (Split Login)
======================== */
.auth-page-body {
  background: #f3f4f8;
  min-height: 100vh;
}

.auth-layout {
  min-height: 100vh;
}

.auth-layout-row {
  min-height: 100vh;
}

.auth-left {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, .12), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(255, 196, 90, .12), transparent 30%),
    linear-gradient(165deg, #4b1fd6 0%, #5b2fe0 40%, #6a38ff 70%, #7b3cf0 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Desktop: left fixed, only right scrolls */
@media (min-width: 992px) {
  .auth-page-body {
    height: 100vh;
    overflow: hidden;
  }

  .auth-layout,
  .auth-layout-row {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .auth-left {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
  }

  .auth-left-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .auth-left-copy {
    margin-top: auto;
  }

  .auth-right {
    height: 100vh;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.auth-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}

.auth-left::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  min-height: 180px;
  max-height: 360px;
  background: url("../images/auth-left-bg.png") no-repeat bottom center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}

.auth-left-inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 3rem 2rem;
  min-height: 100%;
  padding-bottom: 2.5rem;
}

.auth-brand-logo {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.auth-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .78rem;
  font-weight: 500;
}

.auth-left-title {
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 420px;
}

.auth-highlight {
  color: #ffc857;
}

.auth-left-text {
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  max-width: 420px;
  margin-bottom: 0;
}

.auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
}

.auth-points li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}

.auth-points i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.auth-stat-box {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: .7rem .75rem;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-stat-box strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}

.auth-stat-box span {
  color: rgba(255, 255, 255, .8);
  font-size: .72rem;
}
.auth-left-copy {
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(21, 20, 43, .45);
}

.auth-left-copy .footer-copy-sub {
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
}

.auth-right {
  background: #f3f4f8;
  padding: 1.25rem 2rem 1.25rem;
  min-height: 100vh;
}

.auth-top-link {
  color: #5d6075;
  font-size: .86rem;
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: .25rem .2rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.auth-top-link:hover,
.auth-top-link:focus {
  color: var(--primary);
}

.auth-card-wrap {
  padding: 1rem 0;
}

.auth-card {
  max-width: 560px;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(40, 28, 90, .08);
  padding: 1.85rem 1.75rem 1.45rem;
}

.auth-card-title {
  font-size: 1.7rem;
  color: var(--dark);
  font-weight: 700;
}

.auth-card-subtitle {
  color: #7a7d90;
  font-size: .9rem;
}

.auth-tabs {
  border-bottom: 1px solid #eceaf3;
  gap: 1.2rem;
}

.auth-tab {
  border: 0;
  background: transparent;
  color: #8a8da0;
  font-size: .9rem;
  font-weight: 600;
  padding: .35rem 0 .7rem;
  position: relative;
}

.auth-tab.active {
  color: var(--primary);
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.auth-field-label {
  font-size: .84rem;
  font-weight: 600;
  color: #2a2c3d;
  margin-bottom: .4rem;
}

.auth-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 12px;
  color: #9a9cb0;
  z-index: 2;
  font-size: 1rem;
}

.auth-code-prefix {
  position: absolute;
  left: 38px;
  color: #5d6075;
  font-size: .88rem;
  font-weight: 600;
  z-index: 2;
}

.auth-field {
  min-height: 48px;
  border: 1px solid #e0e1ea;
  border-radius: 10px;
  padding-left: 2.35rem;
  font-size: .9rem;
  background: #fff;
}

#otpMobile.auth-field {
  padding-left: 4.4rem;
}

.auth-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .18rem rgba(106, 56, 255, .12);
}

.auth-field-password {
  padding-right: 2.6rem;
}

.auth-eye-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8d90a4;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.auth-eye-btn:hover {
  color: var(--primary);
}

.auth-remember {
  font-size: .84rem;
  color: #5d6075;
}

.auth-forgot {
  font-size: .84rem;
  font-weight: 600;
  color: var(--primary);
}

.auth-login-btn {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.auth-login-btn:hover,
.auth-login-btn:focus {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.auth-or {
  text-align: center;
  position: relative;
}

.auth-or::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #e6e6ef;
}

.auth-or span {
  position: relative;
  background: #fff;
  padding: 0 .7rem;
  color: #8d90a4;
  font-size: .82rem;
}

.auth-social-btn {
  min-height: 44px;
  border: 1px solid #e2e3ec;
  border-radius: 10px;
  background: #fff;
  color: #2a2c3d;
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.auth-social-btn:hover {
  border-color: #cfc8ea;
  color: var(--dark);
}

.auth-register-text {
  font-size: .88rem;
  color: #6a6d80;
}

.auth-register-text a {
  color: var(--primary);
  font-weight: 700;
}

.auth-secure-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  background: #eef4ff;
  border-radius: 10px;
  padding: .75rem .85rem;
  color: #4a5470;
  font-size: .78rem;
  line-height: 1.4;
}

.auth-secure-note i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: .1rem;
}

.auth-otp-hint {
  font-size: .8rem;
  color: #7a7d90;
}

.auth-right-footer {
  padding-top: .5rem;
  font-size: .78rem;
  color: #8a8da0;
}

.auth-right-footer a {
  color: #8a8da0;
  font-weight: 500;
}

.auth-right-footer a:hover {
  color: var(--primary);
}

.auth-right-footer span {
  margin: 0 .35rem;
}

/* ========================
  Registration Form
======================== */
.register-card {
  max-width: 640px;
  padding: 1.25rem 1.35rem 1.1rem;
}

.register-card .auth-card-title {
  font-size: 1.45rem;
}

.register-card .auth-card-subtitle {
  font-size: .82rem;
}

.reg-field {
  margin-bottom: 0;
}

.reg-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: #3a2a7a;
  margin-bottom: .3rem;
}

.reg-label i {
  color: var(--primary);
  font-size: .88rem;
}

.reg-hint {
  font-size: .74rem;
  color: #7a7d90;
  margin: 0;
}

.reg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.reg-input,
.reg-select {
  min-height: 42px;
  border: 1px solid #e0e1ea;
  border-radius: 10px;
  font-size: .86rem;
  color: var(--dark);
  background: #fff;
  padding: .4rem 2.3rem .4rem .75rem;
}

.reg-select {
  padding-right: 2rem;
  cursor: pointer;
}

.reg-input:focus,
.reg-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .18rem rgba(106, 56, 255, .12);
}

.reg-edit-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.reg-mobile-row {
  display: flex;
  gap: .45rem;
  align-items: stretch;
}

.reg-code-btn {
  min-height: 42px;
  border: 1px solid #e0e1ea;
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
  font-weight: 600;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .35rem .55rem;
  white-space: nowrap;
}

.reg-verified {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: #16a34a;
  font-size: .72rem;
  font-weight: 600;
  background: #fff;
  padding-left: .3rem;
}

.reg-verified i {
  font-size: .82rem;
}

#regMobile.reg-input {
  padding-right: 5.2rem;
}

.reg-upload-box {
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px dashed #d5d6e4;
  border-radius: 10px;
  background: #fafafc;
  padding: .55rem .7rem;
}

.reg-upload-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(106, 56, 255, .1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.reg-upload-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.reg-upload-text strong {
  font-size: .82rem;
  color: var(--dark);
}

.reg-upload-text small {
  font-size: .7rem;
  color: #7a7d90;
}

.reg-select-btn {
  border: 1.5px solid #c084fc;
  color: #9333ea;
  background: #fff;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 600;
  padding: .35rem .65rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.reg-select-btn:hover {
  background: #faf5ff;
  color: #7e22ce;
}

.reg-location-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .45rem;
  align-items: stretch;
}

.reg-location-card {
  border: 1px solid #e0e1ea;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  padding: .55rem .65rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  transition: .2s ease;
}

.reg-location-card i {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: .05rem;
}

.reg-location-card strong {
  font-size: .8rem;
  color: var(--dark);
}

.reg-location-card small {
  font-size: .68rem;
  color: #7a7d90;
  line-height: 1.25;
}

.reg-location-card.active {
  border-color: var(--primary);
  background: #f3efff;
}

.reg-or-badge {
  align-self: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e1ea;
  color: #6b6e82;
  font-size: .64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reg-info-banner {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  background: #efeafc;
  border-radius: 10px;
  padding: .55rem .75rem;
  color: #4a3d7a;
  font-size: .74rem;
  line-height: 1.35;
}

.reg-info-banner i {
  color: var(--primary);
  margin-top: .1rem;
}

.reg-secure-text {
  font-size: .74rem;
  color: #8a8da0;
}

.reg-secure-text i {
  color: #8a8da0;
}

.register-form .auth-login-btn {
  min-height: 44px;
  font-size: .92rem;
}

.register-form .auth-register-text {
  font-size: .82rem;
}

/* ========== Elite Buy Credits ========== */
.elite-buy-credits-page {
  background: #f4f6fb;
}

.ebc-main {
  padding: 0 0 2.2rem;
}

.ebc-hero {
  background: linear-gradient(145deg, #081a47 0%, #0d2b73 100%);
  color: #fff;
  padding: 1.15rem 0 1.6rem;
}

.ebc-hero-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.ebc-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #c8d7ff;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

.ebc-back:hover {
  color: #fff;
}

.ebc-hero-left h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .2rem;
}

.ebc-hero-left p {
  color: #ced9f8;
  margin-bottom: .8rem;
}

.ebc-rate-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #f4dc98;
  font-weight: 700;
  font-size: .78rem;
}

.ebc-wallet-card {
  min-width: 290px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.ebc-wallet-copy small {
  display: block;
  color: #c8d7ff;
  font-size: .75rem;
  margin-bottom: .1rem;
}

.ebc-wallet-copy strong {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.ebc-wallet-copy span {
  color: #d9e3ff;
  font-weight: 600;
  font-size: .84rem;
  margin-left: .3rem;
}

.ebc-wallet-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #f4dc98;
}

.ebc-content {
  margin-top: -1.1rem;
}

.ebc-panel {
  background: #fff;
  border: 1px solid #eaedf5;
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(13, 31, 69, .08);
}

.ebc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .95rem;
}

.ebc-panel-head h2,
.ebc-side-head h2 {
  margin: 0;
  color: #0d1f45;
  font-size: 1.1rem;
  font-weight: 800;
}

.ebc-min-note {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f5f7fc;
  color: #5d6780;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .73rem;
  font-weight: 600;
}

.ebc-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 1rem;
}

.ebc-pack {
  border: 1px solid #dce3f0;
  border-radius: 12px;
  background: #fff;
  padding: .65rem .5rem;
  text-align: center;
  transition: all .2s ease;
}

.ebc-pack strong {
  display: block;
  font-size: 1.05rem;
  color: #0d1f45;
  line-height: 1;
  font-weight: 800;
}

.ebc-pack span {
  font-size: .68rem;
  color: #6b7489;
  font-weight: 600;
}

.ebc-pack:hover {
  border-color: #bfcbee;
  transform: translateY(-1px);
}

.ebc-pack.is-active {
  border-color: #6a38ff;
  background: #f4f0ff;
}

.ebc-stepper-wrap {
  margin-bottom: .95rem;
}

.ebc-stepper-wrap .form-label {
  font-size: .82rem;
  color: #5f6980;
  font-weight: 700;
  margin-bottom: .45rem;
}

.ebc-stepper {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  border: 1px solid #dbe2f0;
  border-radius: 12px;
  overflow: hidden;
}

.ebc-step-btn {
  border: none;
  background: #f7f9fd;
  color: #0d1f45;
  height: 50px;
  font-size: 1.15rem;
}

.ebc-step-btn:hover {
  background: #ecf0f8;
}

#ebcCreditsInput {
  border: none;
  outline: none;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0d1f45;
  height: 50px;
}

#ebcCreditsInput::-webkit-outer-spin-button,
#ebcCreditsInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ebc-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: .85rem;
}

.ebc-calc-card {
  border: 1px solid #e5e9f4;
  border-radius: 12px;
  background: #f9faff;
  padding: .8rem;
}

.ebc-calc-card small {
  display: block;
  color: #64708a;
  font-size: .76rem;
  margin-bottom: .15rem;
}

.ebc-calc-card strong {
  color: #10244f;
  font-size: 1.15rem;
  font-weight: 800;
}

.ebc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1rem;
}

.ebc-chip-row span {
  background: #f3f6fd;
  color: #5a657f;
  border-radius: 999px;
  padding: .28rem .6rem;
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.ebc-pay-btn {
  width: 100%;
  background: #0d1f45;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.ebc-pay-btn:hover {
  background: #152a55;
  color: #fff;
}

.ebc-example {
  margin-top: .9rem;
  border-radius: 12px;
  background: #f2f5fc;
  border: 1px solid #e0e7f7;
  color: #5f6b84;
  padding: .75rem .85rem;
  font-size: .8rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.ebc-example i {
  color: #6a38ff;
  font-size: 1rem;
  margin-top: .1rem;
}

.ebc-example p {
  margin: 0;
}

.ebc-side-panel {
  height: 100%;
}

.ebc-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.ebc-side-head a {
  color: #6a38ff;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}

.ebc-txn-list li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: .65rem;
  align-items: center;
  border: 1px solid #edf1f8;
  border-radius: 12px;
  padding: .7rem;
}

.ebc-txn-list li + li {
  margin-top: .55rem;
}

.ebc-txn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ebc-txn-icon.is-green {
  background: #e5f7ed;
  color: #1aa35c;
}

.ebc-txn-icon.is-pink {
  background: #fbeef3;
  color: #cc4a7c;
}

.ebc-txn-list strong {
  display: block;
  color: #0f234c;
  font-size: .82rem;
}

.ebc-txn-list small {
  display: block;
  color: #7d889f;
  font-size: .69rem;
}

.ebc-txn-list em {
  font-style: normal;
  display: block;
  font-size: .76rem;
  font-weight: 700;
}

.ebc-txn-list em.is-green {
  color: #1aa35c;
}

.ebc-txn-list em.is-red {
  color: #cf3f5b;
}

/* ========== Elite Payment Success ========== */
.elite-payment-success-page {
  background: #f4f6fb;
}

.eps-main {
  padding: 1.6rem 0 2.4rem;
}

.eps-shell {
  max-width: 560px;
  margin: 0 auto;
}

.eps-success-head {
  text-align: center;
  margin-bottom: 1rem;
}

.eps-check-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
}

.eps-check-circle {
  width: 92px;
  height: 92px;
  margin: 9px auto 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #1fd06d 0%, #12a851 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  box-shadow: 0 12px 28px rgba(18, 168, 81, .35);
  animation: epsPop .55s cubic-bezier(.2, .9, .3, 1.2) both;
}

.eps-confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: epsConfetti .9s ease-out both;
}

.eps-confetti.c1 { top: 8px; left: 18px; background: #ff5b5b; transform: rotate(18deg); animation-delay: .05s; }
.eps-confetti.c2 { top: 0; right: 28px; background: #3b82f6; width: 6px; height: 10px; animation-delay: .1s; }
.eps-confetti.c3 { top: 28px; right: 6px; background: #f5c542; border-radius: 50%; animation-delay: .15s; }
.eps-confetti.c4 { bottom: 18px; right: 12px; background: #22c55e; width: 7px; height: 7px; animation-delay: .2s; }
.eps-confetti.c5 { bottom: 8px; left: 22px; background: #a855f7; width: 6px; height: 9px; animation-delay: .12s; }
.eps-confetti.c6 { top: 42px; left: 2px; background: #f97316; border-radius: 50%; animation-delay: .18s; }
.eps-confetti.c7 { top: 12px; left: 52px; background: #06b6d4; width: 5px; height: 5px; animation-delay: .08s; }
.eps-confetti.c8 { bottom: 26px; left: 48px; background: #ef4444; width: 5px; height: 8px; animation-delay: .22s; }

@keyframes epsPop {
  0% { transform: scale(.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes epsConfetti {
  0% { opacity: 0; transform: translateY(8px) scale(.6); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.eps-success-head h1 {
  color: #1aa35c;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: .2rem;
}

.eps-success-head p {
  color: #0d1f45;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.eps-added-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #e9f9ef;
  border: 1px solid #c8efd6;
  border-radius: 14px;
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  animation: epsFadeUp .45s ease .15s both;
}

.eps-added-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #d5f5e1;
  color: #1aa35c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.eps-added-banner strong {
  display: block;
  color: #1aa35c;
  font-size: .95rem;
  font-weight: 800;
}

.eps-added-banner span {
  color: #3d4a63;
  font-size: .8rem;
}

.eps-card {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 12px 32px rgba(13, 31, 69, .08);
  margin-bottom: 1rem;
  animation: epsFadeUp .5s ease .2s both;
}

@keyframes epsFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eps-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #e2e7f2;
  margin-bottom: 1rem;
}

.eps-balance-row small {
  display: block;
  color: #6b758c;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: .15rem;
}

.eps-balance-value {
  color: #1aa35c;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 .2rem;
  line-height: 1.1;
}

.eps-rate {
  display: inline-block;
  background: #f3f6fc;
  color: #5f6b84;
  border-radius: 999px;
  padding: .22rem .55rem;
  font-size: .7rem;
  font-weight: 700;
}

.eps-wallet-visual {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  background: linear-gradient(145deg, #eef3ff 0%, #f8faff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.eps-wallet-visual img {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.eps-details-head {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
}

.eps-details-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0d1f45;
  color: #f4dc98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.eps-details-head h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: #0d1f45;
}

.eps-details-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px dashed #e5eaf4;
}

.eps-details-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.eps-details-list span {
  color: #6b758c;
  font-size: .82rem;
  font-weight: 500;
}

.eps-details-list strong {
  color: #0d1f45;
  font-size: .84rem;
  font-weight: 700;
  text-align: right;
}

.eps-details-list strong.is-green {
  color: #1aa35c;
}

.eps-txn-id {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.eps-copy-btn {
  border: none;
  background: #f1f4fb;
  color: #5a657f;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}

.eps-copy-btn:hover {
  background: #e4eaf8;
  color: #0d1f45;
}

.eps-copy-btn.is-copied {
  background: #e5f7ed;
  color: #1aa35c;
}

.eps-actions {
  display: grid;
  gap: .55rem;
  margin-top: 1.1rem;
}

.eps-home-btn {
  background: #0d1f45;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.eps-home-btn:hover {
  background: #152a55;
  color: #fff;
  transform: translateY(-1px);
}

.eps-home-btn .bi-house-door-fill {
  color: #e6c36a;
}

.eps-secondary-btn {
  background: #f4f0ff;
  color: #6a38ff;
  border: 1px solid #e0d6ff;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
}

.eps-secondary-btn:hover {
  background: #ebe4ff;
  color: #5729e8;
}

.eps-promo {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(135deg, #0d1f45 0%, #163a86 100%);
  color: #fff;
  border-radius: 14px;
  padding: .95rem 1rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: epsFadeUp .55s ease .28s both;
}

.eps-promo:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 31, 69, .28);
}

.eps-promo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(230, 195, 106, .2);
  color: #e6c36a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.eps-promo strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .1rem;
}

.eps-promo span {
  display: block;
  font-size: .75rem;
  color: #c5d4f0;
}

.eps-promo-arrow {
  margin-left: auto;
  color: #fff;
  font-size: 1.1rem;
}

.eps-receipt-note {
  text-align: center;
  color: #7a849c;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin: 0;
}

.eps-receipt-note a,
.eps-link-btn {
  color: #6a38ff;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: .8rem;
}

.eps-receipt-note a:hover,
.eps-link-btn:hover {
  text-decoration: underline;
}

/* ========================
   Browse Loans Page
======================== */
.browse-page-body {
  background: var(--light);
}

.browse-main {
  min-height: 60vh;
}

.browse-sticky-panel {
  position: sticky;
  top: 92px;
}

.browse-filter-card,
.browse-side-card {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(40, 28, 90, .05);
  padding: 1.15rem 1.1rem;
}

.browse-filter-title,
.browse-side-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.browse-clear-btn {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  border: 0;
  background: transparent;
}

.browse-clear-btn:hover {
  color: var(--primary-hover);
}

.browse-filter-label {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: #4a4d63;
  margin-bottom: .4rem;
}

.browse-select,
.browse-sort-select {
  border: 1px solid #e4e2ef;
  border-radius: 10px;
  min-height: 42px;
  font-size: .84rem;
  color: var(--dark);
  background-color: #fff;
  box-shadow: none;
}

.browse-select:focus,
.browse-sort-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .12);
}

.browse-select-wrap {
  position: relative;
}

.browse-select-wrap .browse-select {
  padding-left: 2.2rem;
}

.browse-select-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: .9rem;
  pointer-events: none;
  z-index: 1;
}

.dual-range {
  position: relative;
  height: 42px;
  margin-top: .35rem;
}

.dual-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 5px;
  border-radius: 999px;
  background: #e8e5f4;
}

.dual-range-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.dual-range-input {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 24px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.dual-range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 6px rgba(106, 56, 255, .25);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.dual-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 6px rgba(106, 56, 255, .25);
  pointer-events: auto;
  cursor: pointer;
}

.dual-range-input::-webkit-slider-runnable-track,
.dual-range-input::-moz-range-track {
  background: transparent;
  border: 0;
  height: 5px;
}

.dual-range-values {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: .72rem;
  color: #7a7d90;
  font-weight: 500;
}

.browse-check-list {
  display: grid;
  gap: .55rem;
}

.browse-check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  color: #4a4d63;
  cursor: pointer;
}

.browse-check input {
  margin-top: .15rem;
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.browse-apply-btn {
  background: var(--btn-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  font-weight: 600;
  font-size: .88rem;
}

.browse-apply-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.browse-reset-btn,
.browse-side-btn,
.browse-btn-outline,
.browse-mobile-filter-trigger {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  min-height: 42px;
  font-weight: 600;
  font-size: .84rem;
	padding: 10px 0px;
}

.browse-reset-btn:hover,
.browse-side-btn:hover,
.browse-btn-outline:hover,
.browse-mobile-filter-trigger:hover {
  background: rgba(106, 56, 255, .06);
  color: var(--primary);
}

.browse-breadcrumb {
  font-size: .78rem;
  color: #8a8da0;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.browse-breadcrumb a:hover {
  color: var(--primary);
}

.browse-page-title {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--dark);
}

.browse-page-desc {
  font-size: .86rem;
  color: #6b6e82;
  max-width: 36rem;
}

.browse-category-scroll {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
}

.browse-chip {
  flex: 0 0 auto;
  border: 1px solid #e4e2ef;
  background: #fff;
  color: #4a4d63;
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
}

.browse-chip span {
  color: #8a8da0;
  margin-left: .15rem;
}

.browse-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.browse-chip.active span {
  color: rgba(255, 255, 255, .85);
}

.browse-chip:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.browse-results-count {
  font-size: .88rem;
  color: var(--dark);
}

.browse-sort-label {
  font-size: .8rem;
  color: #6b6e82;
}

.browse-sort-select {
  width: auto;
  min-width: 140px;
  min-height: 36px;
  font-size: .8rem;
  padding: .25rem .75rem;
}

.browse-view-toggle {
  display: inline-flex;
  border: 1px solid #e4e2ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.browse-view-btn {
  border: 0;
  background: transparent;
  width: 36px;
  height: 34px;
  color: #7a7d90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.browse-view-btn.active {
  background: var(--primary);
  color: #fff;
}

.browse-loan-list {
  display: grid;
  gap: 1rem;
}

.browse-loan-list[data-view="grid"] {
  grid-template-columns: 1fr;
}

.browse-loan-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  padding: .9rem;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}

.browse-loan-card:hover {
  box-shadow: 0 12px 28px rgba(40, 28, 90, .08);
}

.browse-loan-media {
  position: relative;
}

.browse-loan-type {
  position: absolute;
  left: .45rem;
  top: .45rem;
  z-index: 1;
  background: rgba(21, 20, 43, .72);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .2rem .5rem;
}

.browse-loan-thumb {
  height: 100%;
  min-height: 128px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.browse-loan-thumb img {
  width: 88px;
  height: auto;
  object-fit: contain;
}

.bg-property { background: #ede7ff; }
.bg-gold { background: #fff4d6; }
.bg-vehicle { background: #e8f3ff; }
.bg-personal { background: #f1ecff; }
.bg-business { background: #eaf8f0; }
.bg-electronics { background: #fff0f5; }
.bg-education { background: #eaf2ff; }

.browse-loan-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.browse-loan-title {
  font-size: .98rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .35rem;
}

.browse-loan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .35rem;
}
badge-new {
  background: #efeaff;
  color: var(--primary);
}

.badge-urgent {
  background: #fdecee;
  color: #d64545;
}

.browse-loan-location {
  font-size: .76rem;
  color: #7a7d90;
}

.browse-loan-location i {
  color: var(--primary);
}

.browse-save-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #ebeaf2;
  color: #8a8da0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.browse-save-btn.active,
.browse-save-btn:hover {
  color: var(--primary);
  border-color: #d9d1ff;
  background: #f6f3ff;
}

.browse-loan-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  background: #f7f6fb;
  border-radius: 10px;
  padding: .65rem .75rem;
  margin-bottom: .75rem;
}

.browse-loan-stats span {
  display: block;
  font-size: .68rem;
  color: #8a8da0;
  margin-bottom: .15rem;
}

.browse-loan-stats strong {
  font-size: .84rem;
  color: var(--dark);
  font-weight: 600;
}

.browse-loan-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.browse-loan-user {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.browse-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.browse-loan-user strong {
  display: block;
  font-size: .8rem;
  color: var(--dark);
  line-height: 1.2;
}
.browse-posted {
  font-size: .72rem;
  color: #8a8da0;
}

.browse-loan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.browse-btn-outline,
.browse-btn-primary {
  min-height: 38px;
  padding: .5rem .85rem;
  font-size: .78rem;
  border-radius: 9px;
  font-weight: 600;
}

.browse-btn-primary {
  background: var(--btn-gradient);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
}

.browse-btn-primary:hover {
  background: var(--btn-gradient-hover);
  border: 0;
  color: #fff;
}

.browse-showing {
  font-size: .8rem;
  color: #6b6e82;
}

.browse-pagination .page-link {
  border: 1px solid #e4e2ef;
  color: #4a4d63;
  font-size: .8rem;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  margin: 0 .15rem;
  padding: 0 .45rem;
}

.browse-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.browse-pagination .page-item.disabled .page-link {
  color: #b0b3c2;
  background: #f5f5f8;
}

.browse-side-stack {
  display: grid;
  gap: .9rem;
}

.browse-membership-card {
  background: linear-gradient(160deg, #5b2fe0 0%, #6a38ff 48%, #8d5cff 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 12px 28px rgba(106, 56, 255, .28);
}

.browse-membership-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.browse-membership-text {
  font-size: .8rem;
  color: rgba(255, 255, 255, .88);
  margin-bottom: .85rem;
}

.browse-membership-list {
  display: grid;
  gap: .45rem;
  font-size: .78rem;
}

.browse-membership-list i {
  color: #9dffc5;
  margin-right: .35rem;
}

.browse-membership-btn {
  background: #fff;
  color: var(--primary);
  border: 0;
  border-radius: 10px;
  min-height: 42px;
  font-weight: 600;
  font-size: .84rem;
	padding: 10px 0px;
}

.browse-membership-btn:hover {
  background: #f4f1ff;
  color: var(--primary);
}

.browse-side-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .65rem;
  font-size: 1.05rem;
}

.browse-side-text {
  font-size: .78rem;
  color: #6b6e82;
  margin-bottom: .75rem;
}

.browse-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  color: #1f9d57;
  background: #eefaf3;
  border-radius: 10px;
  padding: .7rem .8rem;
}

.browse-trust-badge i {
  font-size: 1.05rem;
}

.browse-features {
  background: #efeaff;
  padding: 1.1rem 0;
  margin-top: 1.5rem;
}

.browse-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: var(--dark);
  font-size: .84rem;
  font-weight: 600;
}

.browse-feature-item i {
  color: var(--primary);
  font-size: 1.15rem;
}

@media (min-width: 1200px) {
  .browse-loan-list[data-view="grid"] {
    grid-template-columns: 1fr 1fr;
  }

  .browse-loan-list[data-view="grid"] .browse-loan-card {
    grid-template-columns: 1fr;
  }

  .browse-loan-list[data-view="grid"] .browse-loan-thumb {
    min-height: 140px;
  }

  .browse-loan-list[data-view="grid"] .browse-loan-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .browse-loan-list[data-view="grid"] .browse-loan-actions {
    width: 100%;
  }

  .browse-loan-list[data-view="grid"] .browse-loan-actions .btn {
    flex: 1;
  }
}
.auth-left::after{ min-height: 260px;max-height: 370px; background: url(../images/auth-left-bg.png) no-repeat center bottom;  background-size: 80% auto;opacity: 0.3;}
.auth-left-text{font-size: .90rem;}

/* ========================
   My Loans Page
======================== */
.myloans-page-body {
  background: var(--light);
}

.myloans-boost-banner {
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 35%, rgba(141, 92, 255, .35), transparent 28%),
    radial-gradient(circle at 92% 70%, rgba(106, 56, 255, .28), transparent 24%),
    linear-gradient(120deg, #1a1540 0%, #24175e 42%, #2a1870 100%);
  box-shadow: 0 14px 34px rgba(33, 22, 90, .22);
  position: relative;
}

.myloans-boost-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr .7fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  min-height: 190px;
}

.myloans-boost-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(106, 56, 255, .85);
  color: #fff;
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .7rem;
}

.myloans-boost-title {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  margin-bottom: .45rem;
}

.myloans-boost-title span {
  color: #ffd76a;
}

.myloans-boost-text {
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  margin-bottom: 1rem;
  max-width: 28rem;
}

.myloans-pay-btn {
  background: var(--btn-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: .45rem 1.2rem;
  font-weight: 700;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.myloans-pay-btn:hover {
  color: #fff;
  background: var(--btn-gradient-hover);
  filter: none;
}

.myloans-boost-perks {
  display: grid;
  gap: .7rem;
}

.myloans-boost-perks li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 500;
}

.myloans-perk-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(106, 56, 255, .9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.myloans-boost-art {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.myloans-rocket {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9b7bff, #6a38ff 55%, #3d1fb0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 10px 28px rgba(106, 56, 255, .45);
  animation: myloanRocket 2.8s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.myloans-planet {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  right: 18%;
  top: 12%;
  background: radial-gradient(circle at 30% 30%, #ffd76a, #f0a429);
  box-shadow: 0 0 18px rgba(255, 215, 106, .35);
}

.myloans-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
}

.myloans-star-1 { top: 18%; left: 22%; }
.myloans-star-2 { top: 40%; right: 12%; width: 4px; height: 4px; }
.myloans-star-3 { bottom: 28%; left: 30%; width: 5px; height: 5px; }

.myloans-cloud {
  position: absolute;
  bottom: 8px;
  width: 70px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  filter: blur(1px);
}

.myloans-cloud-1 { left: 18%; }
.myloans-cloud-2 { right: 20%; width: 54px; bottom: 18px; }

@keyframes myloanRocket {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.myloans-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.myloans-tab {
  border: 1px solid #e4e2ef;
  background: #fff;
  color: var(--dark);
  border-radius: 999px;
  min-height: 38px;
  padding: .35rem 1rem;
  font-size: .84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.myloans-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.myloans-tab:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.myloans-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.myloans-dot-active { background: #22c55e; }
.myloans-dot-inactive { background: #9ca3af; }

.myloan-card {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(40, 28, 90, .07);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease;
  padding: 0;
}

.myloan-card:hover {
  box-shadow: 0 14px 32px rgba(40, 28, 90, .1);
}

.myloan-card.is-inactive {
  opacity: .94;
}

.myloan-featured-badge {
  position: absolute;
  left: 0;
  top: 14px;
  background: linear-gradient(90deg, #ffd76a, #f0b429);
  color: #5a4300;
  font-size: .68rem;
  font-weight: 700;
  padding: .28rem .7rem .28rem .55rem;
  border-radius: 0 999px 999px 0;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(240, 180, 41, .3);
}

.myloan-card-main {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: .9rem;
  padding: 1rem 1rem .85rem;
  flex-grow: 1;
}

.myloan-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.myloan-fav-btn {
  position: absolute;
  right: .4rem;
  top: .2rem;
  z-index: 2;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  box-shadow: 0 2px 8px rgba(40, 28, 90, .1);
}

.myloan-fav-btn.active {
  color: #ff4d8d;
}

.myloan-thumb {
  width: 100%;
  height: 92px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.myloan-thumb img {
  width: 58px;
  height: auto;
  object-fit: contain;
}

.myloan-location {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #efeaff;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 500;
  border-radius: 999px;
  padding: .22rem .55rem;
  line-height: 1;
}

.myloan-location i {
  font-size: .7rem;
}

.myloan-info {
  min-width: 0;
}

.myloan-info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .2rem;
}

.myloan-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.myloan-status-wrap {
  text-align: right;
  flex-shrink: 0;
}

.myloan-switch-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.myloan-switch {
  padding-left: 0;
  margin: 0;
  min-height: auto;
  display: inline-flex;
  align-items: center;
}

.myloan-switch .form-check-input {
  width: 2.15rem;
  height: 1.1rem;
  margin: 0;
  float: none;
  cursor: pointer;
  background-color: #cfd2de;
  border-color: #cfd2de;
}

.myloan-switch .form-check-input:checked {
  background-color: #22c55e;
  border-color: #22c55e;
}

.myloan-switch .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(34, 197, 94, .18);
}

.myloan-status-label {
  font-size: .8rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
}

.myloan-status-label.is-active {
  color: #16a34a;
}

.myloan-status-label.is-inactive {
  color: #9ca3af;
}

.myloan-days {
  font-size: .68rem;
  color: #8a8da0;
  margin-top: .15rem;
  white-space: nowrap;
}

.myloan-days i {
  margin-right: .12rem;
}

.myloan-amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: .75rem 0 .7rem;
  line-height: 1.2;
}

.myloan-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
}

.myloan-meta-item {
  text-align: center;
  min-width: 0;
}

.myloan-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  width: 100%;
  border-radius: 999px;
  padding: .3rem .35rem;
  font-size: .68rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.myloan-meta-pill i {
  font-size: .78rem;
  flex-shrink: 0;
}

.myloan-meta-pill.meta-green {
  background: #e7f8ef;
}

.myloan-meta-pill.meta-green i {
  color: #22c55e;
}

.myloan-meta-pill.meta-orange {
  background: #fff3e5;
}

.myloan-meta-pill.meta-orange i {
  color: #f59e0b;
}

.myloan-meta-pill.meta-blue {
  background: #eaf2ff;
}

.myloan-meta-pill.meta-blue i {
  color: #3b82f6;
}

.myloan-meta-item > span {
  display: block;
  font-size: .6rem;
  color: #8a8da0;
  line-height: 1.2;
  margin-top: .28rem;
}

.myloan-card-footer {
  background: #e5dcff;
  border-top: 0;
  margin-top: auto;
  padding: .7rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  flex-wrap: wrap;
}

.myloan-actions {
  display: flex;
  gap: .4rem;
}

.myloan-icon-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1.5px solid #eceaf3;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.myloan-icon-btn.delete {
  color: #ff4d8d;
  border-color: #ffb6ce;
}

.myloan-icon-btn.edit {
  color: var(--primary);
  border-color: #cbbfff;
}

.myloan-icon-btn:hover {
  background: #fff;
  filter: brightness(.98);
}

.myloan-footer-right {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
}

.myloan-details-btn {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  min-height: 36px;
  padding: .35rem .9rem;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.myloan-details-btn:hover {
  background: rgba(106, 56, 255, .06);
  color: var(--primary);
}

.myloan-boost-btn {
  background: var(--btn-gradient);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: .55rem .95rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  text-transform: uppercase;
}

.myloan-boost-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

/* ========================
   FinDeals Modals (Delete)
======================== */
.findeals-modal-content {
  border: 1px solid #dce8ff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(40, 28, 90, .16);
  position: relative;
  overflow: visible;
}

.findeals-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #ffe4ec;
  color: #ff4d8d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

.findeals-modal-close:hover {
  background: #ffd0df;
  color: #e8336f;
}

.findeals-modal-body {
  padding: 1.75rem 1.5rem 1.5rem;
}

.findeals-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 .45rem;
}

.findeals-modal-text {
  font-size: .9rem;
  color: #6b6e82;
  margin-bottom: 1rem;
}

.delete-modal-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #ffe4ec;
  color: #ff4d8d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
}

.delete-modal-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff4d8d;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.delete-modal-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: #fff0f4;
  border: 1px solid #ffc4d4;
  border-radius: 10px;
  padding: .7rem .9rem;
  color: #e8336f;
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.delete-modal-warning i {
  font-size: 1rem;
}

.findeals-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  align-items: stretch;
  width: 100%;
}

.findeals-modal-cancel {
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.findeals-modal-cancel:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.findeals-modal-continue,
.findeals-modal-ok {
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  padding: .55rem 1rem;
}

.findeals-modal-continue:hover,
.findeals-modal-ok:hover {
  color: #fff;
  background: var(--btn-gradient-hover);
  filter: none;
}

.success-modal-icon {
  width: 96px;
  height: 96px;
  margin: .35rem auto 1.15rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 0 10px rgba(34, 197, 94, .18);
  position: relative;
  z-index: 1;
}

.success-confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.success-confetti.c1 { top: 8px; left: 18px; background: #f59e0b; transform: rotate(20deg); }
.success-confetti.c2 { top: 4px; right: 22px; width: 7px; height: 7px; border-radius: 50%; background: #8d5cff; }
.success-confetti.c3 { top: 36px; left: 4px; width: 6px; height: 9px; background: #22c55e; transform: rotate(-25deg); }
.success-confetti.c4 { top: 34px; right: 6px; width: 9px; height: 6px; background: #3b82f6; transform: rotate(35deg); }
.success-confetti.c5 { bottom: 10px; left: 16px; width: 6px; height: 6px; border-radius: 50%; background: #ff4d8d; }
.success-confetti.c6 { bottom: 12px; right: 14px; background: #f0b429; transform: rotate(45deg); }

/* ========================
   Loan Details Page
======================== */
.loan-details-page-body {
  background: var(--light);
}

.loan-details-hero {
  background:
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, .12), transparent 22%),
    linear-gradient(120deg, #4b1fd6 0%, #6a38ff 55%, #8d5cff 100%);
  padding: 1.6rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.loan-details-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .22;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 45%, #000 75%);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 75%);
}

.loan-details-hero .container {
  position: relative;
  z-index: 1;
}

.loan-details-back-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.loan-details-back-circle:hover {
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

.loan-details-hero-title {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.loan-details-hero-text {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
}

.loan-details-section {
  margin-top: -2.75rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.loan-details-form-card {
  box-shadow: 0 16px 40px rgba(40, 28, 90, .1);
  border-radius: 18px;
}

.loan-details-label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: #4a4d63;
  margin-bottom: .4rem;
}

fieldset .loan-details-label {
  float: none;
  width: auto;
  padding: 0;
}

.loan-details-input {
  min-height: 46px;
  border: 1px solid #e4e2ef;
  border-radius: 10px;
  font-size: .88rem;
  color: var(--dark);
  box-shadow: none;
}

.loan-details-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .12);
}

.loan-details-radios {
  margin-top: .15rem;
}

.loan-details-radio {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  color: var(--dark);
  cursor: pointer;
  font-weight: 500;
}

.loan-details-radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #c9c5d8;
  border-radius: 50%;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.loan-details-radio input:checked {
  border-color: #ff4b91;
}

.loan-details-radio input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ff4b91;
}

.loan-details-upload {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  border: 1px dashed #d7d2e8;
  border-radius: 12px;
  background: #faf9fd;
  padding: .9rem 1rem;
}

.loan-details-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.loan-details-upload-copy {
  flex: 1;
  min-width: 140px;
}

.loan-details-upload-copy strong {
  display: block;
  font-size: .86rem;
  color: var(--dark);
  font-weight: 600;
}

.loan-details-upload-copy small {
  display: block;
  font-size: .74rem;
  color: #8a8da0;
}

.loan-details-upload-btn {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}

.loan-details-upload-btn:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.loan-details-file-name {
  font-size: .75rem;
  color: #6b6e82;
  margin-top: .45rem;
}

.loan-details-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 12px;
  padding: .85rem 1rem;
  height: 100%;
}

.loan-details-trust-item i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.loan-details-trust-item strong {
  display: block;
  font-size: .86rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.25;
}

.loan-details-trust-item span {
  display: block;
  font-size: .74rem;
  color: #8a8da0;
}

a.myloan-icon-btn {
  text-decoration: none;
}

/* ========================
   Boost Your Post Page
======================== */
.boost-page-body {
  background: var(--light);
}

.boost-page-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e4e2ef;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boost-page-back:hover {
  color: var(--primary);
  border-color: #d9d1ff;
}

.boost-page-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.boost-district-banner {
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 75, 145, .22), transparent 30%),
    linear-gradient(115deg, #2a1870 0%, #4b1fd6 45%, #6a38ff 100%);
  box-shadow: 0 12px 30px rgba(42, 24, 112, .22);
  position: relative;
}

.boost-district-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, .05) 28px 30px);
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to top, #000 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}

.boost-district-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  min-height: 140px;
}

.boost-district-rocket {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8fb8, #ff4b91 55%, #9457eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 22px rgba(255, 75, 145, .35);
  animation: myloanRocket 2.8s ease-in-out infinite;
}

.boost-district-title {
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
}

.boost-district-title span {
  color: #ffd76a;
}

.boost-district-text {
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  max-width: 34rem;
}

.boost-location-card {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .05);
}

.boost-location-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.boost-location-label {
  font-size: .74rem;
  color: #8a8da0;
}

.boost-location-district {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.boost-location-state {
  font-size: .78rem;
  color: #8a8da0;
}

.boost-change-btn {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: .35rem 1rem;
  font-size: .84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.boost-change-btn:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.boost-highlight-card,
.boost-info-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  height: 100%;
  border: 1px solid transparent;
}

.boost-highlight-card {
  background: #fff7ef;
  border-color: #ffe2c4;
}

.boost-info-card {
  background: #fff0f6;
  border-color: #ffd0e4;
}

.boost-highlight-icon,
.boost-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.boost-highlight-icon {
  background: #ffe4ef;
  color: #ff4b91;
}

.boost-info-icon {
  background: #fff4d6;
  color: #f0b429;
}

.boost-highlight-text {
  font-size: .9rem;
  color: var(--dark);
}

.boost-highlight-price {
  font-size: 1.35rem;
  color: #f59e0b;
  font-weight: 700;
  line-height: 1.2;
}

.boost-highlight-price strong {
  font-size: 1.55rem;
}

.boost-info-text {
  font-size: .9rem;
  color: #4a4d63;
  line-height: 1.45;
  margin: 0;
}

.boost-info-text strong {
  color: #ff4b91;
}

.boost-benefits-panel {
  background: #f3f0fc;
  border-radius: 14px;
  padding: 1.15rem 1rem 1.25rem;
}

.boost-benefits-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.boost-benefits-title span {
  height: 1px;
  background: #d9d1ff;
}

.boost-benefits-title h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.boost-benefits-title h3 i {
  color: var(--primary);
  margin-right: .25rem;
}

.boost-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}

.boost-benefit-item .boost-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(106, 56, 255, .1);
}

.boost-benefit-item strong {
  font-size: .84rem;
  color: var(--dark);
  font-weight: 600;
}

.boost-location-modal .boost-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-right: 2rem;
}

.boost-location-modal .boost-modal-title i {
  color: var(--primary);
}

.boost-modal-current {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #efeaff;
  border-radius: 12px;
  padding: .85rem 1rem;
}

.boost-modal-current-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.boost-modal-current strong {
  display: block;
  font-size: .95rem;
  color: var(--dark);
}

.boost-modal-current span {
  display: block;
  font-size: .78rem;
  color: #8a8da0;
}

.boost-modal-summary {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #eaf8ef;
  border: 1px solid #c9ecd4;
  border-radius: 12px;
  padding: .9rem 1rem;
}

.boost-modal-summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.boost-modal-summary strong {
  display: block;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: .25rem;
}

.boost-modal-summary p {
  font-size: .8rem;
  color: #4a4d63;
}

.boost-modal-summary #summaryLocation {
  color: #16a34a;
  font-weight: 700;
}

.boost-modal-days strong {
  display: inline;
  color: #16a34a;
}

.boost-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.boost-cancel-btn,
.boost-continue-btn {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.25rem;
  line-height: 1.2;
  flex: 1 1 0;
  max-width: 250px;
  text-decoration: none;
}

.boost-cancel-btn {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.boost-cancel-btn:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.boost-continue-btn {
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
}

.boost-continue-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

/* ========================
   Promotion Activated Page
======================== */
.promo-success-page-body {
  background: #f4f2f8;
}

.promo-success-hero {
  background:
    linear-gradient(180deg, #6a38ff 0%, #8d5cff 42%, #efeaff 72%, #f4f2f8 100%);
  padding: 1.75rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.promo-success-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 70px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, .1) 12%,
      rgba(255, 255, 255, .16) 22%,
      transparent 32%,
      rgba(255, 255, 255, .12) 48%,
      transparent 58%,
      rgba(255, 255, 255, .14) 72%,
      transparent 100%);
  opacity: .55;
  pointer-events: none;
}

.promo-success-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.promo-confetti {
  position: absolute;
  inset: -10px 0 40%;
  pointer-events: none;
}

.promo-confetti .pc {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.pc1 { top: 12%; left: 12%; background: #ffd76a; transform: rotate(18deg); }
.pc2 { top: 8%; right: 18%; width: 7px; height: 7px; border-radius: 50%; background: #ff4b91; }
.pc3 { top: 28%; left: 8%; width: 6px; height: 10px; background: #22c55e; transform: rotate(-20deg); }
.pc4 { top: 22%; right: 10%; width: 9px; height: 5px; background: #3b82f6; transform: rotate(35deg); }
.pc5 { top: 40%; left: 20%; width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; }
.pc6 { top: 35%; right: 22%; background: #f59e0b; transform: rotate(40deg); }
.pc7 { top: 18%; left: 42%; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .8; }
.pc8 { top: 30%; right: 40%; width: 7px; height: 4px; background: #fb7185; transform: rotate(-30deg); }

.promo-success-badge-wrap {
  position: relative;
  width: 110px;
  margin: 0 auto 1.15rem;
}

.promo-success-check {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto;
  box-shadow: 0 12px 28px rgba(34, 197, 94, .22);
  border: 4px solid rgba(255, 255, 255, .55);
}

.promo-success-ribbon {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6a38ff, #8d5cff);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .3rem .95rem;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(106, 56, 255, .28);
  z-index: 1;
}

.promo-success-ribbon::before,
.promo-success-ribbon::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.promo-success-ribbon::before {
  left: 0;
  border-width: 7px 9px 0 0;
  border-color: #4b1fd6 transparent transparent transparent;
}

.promo-success-ribbon::after {
  right: 0;
  border-width: 7px 0 0 9px;
  border-color: #4b1fd6 transparent transparent transparent;
}

.promo-success-title {
  color: #3b1fa8;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 700;
  margin: .85rem 0 .5rem;
}

.promo-success-text {
  color: #5c5878;
  font-size: .92rem;
  font-weight: 500;
}

.promo-success-text strong {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--primary);
  font-weight: 700;
}

.promo-success-body {
  margin-top: -2.4rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.promo-success-panel {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(40, 28, 90, .1);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.promo-post-card {
  background: #fff;
  padding: 1.35rem 1.25rem 1.2rem;
  position: relative;
}

.promo-bookmark {
  position: absolute;
  top: 0;
  left: 95%;
  transform: translateX(-50%);
  width: 22px;
  height: 32px;
  background: linear-gradient(180deg, #8d5cff, #6a38ff);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  z-index: 2;
}

.promo-post-layout {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-top: .55rem;
}

.promo-post-left {
  text-align: left;
  padding-right: .35rem;
}

.promo-post-thumb {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: .75rem;
  border: 1px solid #ebeaf2;
}

.promo-post-thumb img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.promo-post-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .45rem;
}

.promo-post-line {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: #6b6e82;
  margin-bottom: .35rem;
}

.promo-post-line i {
  color: var(--primary);
  font-size: .85rem;
}

.promo-active-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #e7f8ef;
  color: #16a34a;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .28rem .7rem;
}

.promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.promo-post-right {
  border-left: 1px solid #eceaf3;
  padding-left: 1.15rem;
  display: grid;
  gap: .85rem;
}

.promo-stat {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.promo-stat i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.promo-stat span {
  display: block;
  font-size: .7rem;
  color: #8a8da0;
  margin-bottom: .1rem;
}

.promo-stat strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.25;
}

.promo-benefits-box {
  background: #f3f0fc;
  border-top: 1px solid #ebe7f7;
  padding: 1.1rem 1rem 1.25rem;
}

.promo-benefits-title {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.promo-benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.promo-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  position: relative;
  text-align: center;
  padding: 0 .4rem;
}

.promo-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: #d9d1ff;
}

.promo-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #fff;
  box-shadow: 0 6px 16px rgba(40, 28, 90, .08);
}

.promo-benefit-icon.icon-visibility {
  color: var(--primary);
  background: #efeaff;
}

.promo-benefit-icon.icon-position {
  color: #f0b429;
  background: #fff8e8;
}

.promo-benefit-icon.icon-reach {
  color: #ff4b91;
  background: #ffe8f2;
}

.promo-benefit strong {
  font-size: .82rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

.promo-security-bar {
  background: #eaf8ef;
  border-top: 1px solid #c9ecd4;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.promo-security-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.promo-security-left > i {
  color: #22c55e;
  font-size: 1.7rem;
}

.promo-security-left strong {
  display: block;
  font-size: .92rem;
  color: var(--dark);
  margin-bottom: .3rem;
}

.promo-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #d8f5e4;
  color: #15803d;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .22rem .65rem;
}

.promo-expires {
  font-size: .84rem;
  color: #4a4d63;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
}

.promo-expires i {
  color: #22c55e;
}

.promo-expires strong {
  color: #15803d;
}

.promo-success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  margin: 1.75rem auto 0;
  padding: 0 .5rem;
}

.promo-boost-cta {
  background: #fff !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary) !important;
}

.promo-boost-cta:hover {
  background: rgba(106, 56, 255, .05) !important;
  color: var(--primary) !important;
}

.promo-view-btn {
  min-height: 54px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  padding: .7rem 1.5rem;
}

.promo-view-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.promo-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
}

.promo-back-link:hover {
  color: var(--primary-hover);
}

/* ========================
   Loan Details View Page
======================== */
.loan-view-page-body {
  background: var(--light);
}

.loan-view-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e4e2ef;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.loan-view-back:hover {
  color: var(--primary);
  border-color: #d9d1ff;
}

.loan-view-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.loan-view-hero,
.loan-view-panel {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(42, 24, 112, .04);
}

.loan-view-hero {
  display: grid;
  grid-template-columns: minmax(220px, 240px) 1fr;
  gap: 1.25rem;
  padding: 1.15rem;
  position: relative;
  align-items: center;
}

.loan-view-hero-media {
  position: relative;
  background: linear-gradient(160deg, #f4f1ff 0%, #eef6ff 100%);
  border-radius: 14px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}

.loan-view-hero-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.loan-view-fav {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  z-index: 1;
  padding: 0;
}

.loan-view-fav.is-active,
.loan-view-fav:hover {
  color: #ff4b91;
  background: #fff5f9;
}

.loan-view-hero-info {
  min-width: 0;
  padding-right: .25rem;
}

.loan-view-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.loan-view-type-badge {
  display: inline-flex;
  align-items: center;
  background: #efeaff;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .35rem .85rem;
}

.loan-view-delete {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #ffe8f1;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.loan-view-delete:hover {
  background: #ffd6e8;
  color: #e6377a;
}

.loan-view-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .55rem;
  line-height: 1.25;
}

.loan-view-location {
  color: #6b6e82;
  font-size: .95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.loan-view-location i {
  color: var(--primary);
}

.loan-view-panel {
  padding: 1.15rem 1.2rem 1.25rem;
}

.loan-view-panel-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
}

.loan-view-panel-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.loan-view-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.loan-view-basic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.loan-view-basic-item,
.loan-view-borrower-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: #f8f7fc;
  border-radius: 12px;
  padding: .85rem .9rem;
}

.loan-view-basic-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.loan-view-basic-label {
  display: block;
  font-size: .72rem;
  color: #8a8da0;
  margin-bottom: .15rem;
}

.loan-view-basic-item strong,
.loan-view-borrower-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.loan-view-loan-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid #f0eef6;
}

.loan-view-loan-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.loan-view-loan-list li:first-child {
  padding-top: 0;
}

.loan-view-loan-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #6b6e82;
  font-size: .9rem;
  font-weight: 500;
}

.loan-view-loan-label i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.loan-view-loan-value {
  color: var(--primary);
  font-size: .92rem;
  font-weight: 600;
  text-align: right;
}

.loan-view-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.loan-view-pill.pill-green {
  background: #e7f8ef;
  color: #16a34a;
}

.loan-view-pill.pill-pink {
  background: #ffe8f1;
  color: #ff4b91;
}

.loan-view-borrower-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.loan-view-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto .5rem;
  width: 100%;
}

.loan-view-edit-btn,
.loan-view-boost-btn {
  flex: 1 1 0;
  min-height: 52px;
  min-width: 160px;
  max-width: 300px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.4rem;
  text-decoration: none;
}

.loan-view-edit-btn {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.loan-view-edit-btn:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.loan-view-boost-btn {
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
}

.loan-view-boost-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

/* ========================
   Add Loan Post Page
======================== */
.add-loan-page-body {
  background: var(--light);
}

.add-loan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(120deg, #1a1038 0%, #3b1d7a 48%, #6a38ff 100%);
  border-radius: 16px;
  padding: .85rem 1.1rem;
  margin-bottom: 0.8rem;
  color: #fff;
  overflow: hidden;
  min-height: 112px;
}

.add-loan-banner-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 75, 145, .2);
  border: 1px solid rgba(255, 75, 145, .35);
  color: #ffb3d1;
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.add-loan-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 .55rem;
  color: #fff;
  max-width: 520px;
}

.add-loan-banner-title .is-pink { color: #ff4b91; }
.add-loan-banner-title .is-purple { color: #c4b5fd; }

.add-loan-banner-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
}

.add-loan-banner-perks li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .74rem;
  font-weight: 600;
  color: #e8e2ff;
}

.add-loan-banner-perks i { color: #ff4b91; }

.add-loan-banner-art {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.add-loan-banner-art img {
 
}

.add-loan-sticky-bar {
  position: sticky;
  top: 72px;
  z-index: 1020;
  background: rgba(248, 247, 253, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ebeaf2;
  padding: .65rem 0;
  margin-bottom: 1.15rem;
}

.add-loan-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e4e2ef;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.add-loan-back:hover {
  color: var(--primary);
  border-color: #d9d1ff;
}

.add-loan-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.add-loan-page-sub {
  font-size: .82rem;
  color: #8a8da0;
}

.add-loan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  padding: .85rem .75rem;
  margin-bottom: 0;
  position: relative;
}

.add-loan-steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: calc(.85rem + 15px);
  border-top: 2px dotted #ddd8ef;
  z-index: 0;
  pointer-events: none;
}

.add-loan-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  position: relative;
  z-index: 1;
}

.add-loan-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #d9d6e8;
  background: #fff;
  color: #9a9cb0;
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.add-loan-step-label {
  font-size: .72rem;
  font-weight: 500;
  color: #9a9cb0;
  line-height: 1.2;
}

.add-loan-step.is-active .add-loan-step-num,
.add-loan-step.is-done .add-loan-step-num {
  border-color: #ff4b91;
  background: #ff4b91;
  color: #fff;
}

.add-loan-step.is-active .add-loan-step-label,
.add-loan-step.is-done .add-loan-step-label {
  color: var(--dark);
  font-weight: 700;
}

.add-loan-step.is-active .add-loan-step-label {
  border-bottom: 2px solid #ff4b91;
  padding-bottom: .1rem;
}

.add-loan-block {
  margin-bottom: 1.75rem;
}

.add-loan-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .25rem;
}

.add-loan-hint {
  font-size: .88rem;
  color: #8a8da0;
  margin-bottom: 1rem;
}
.add-cat-card {
  width: 100%;
  height: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid #e7e5f0;
  border-radius: 16px;
  padding: 1rem .95rem .95rem;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
  box-shadow: 0 4px 14px rgba(42, 24, 112, .04);
}

.add-cat-slider-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 2.75rem;
}

.add-cat-track {
  display: flex;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: .35rem 0 .65rem;
}

.add-cat-track::-webkit-scrollbar {
  display: none;
}

.add-cat-slide {
  flex: 0 0 calc((100% - 3rem) / 4);
  width: calc((100% - 3rem) / 4);
  min-width: 0;
  max-width: calc((100% - 3rem) / 4);
  scroll-snap-align: start;
}

.add-cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ebeaf2;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .16);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 0;
}

.add-cat-nav:hover {
  background: var(--btn-gradient);
  border-color: transparent;
  color: #fff;
}

.add-cat-prev { left: 0; }
.add-cat-next { right: 0; }

.add-cat-card:hover {
  border-color: #d4c8ff;
}

.add-cat-card.is-selected {
  border-color: #ff4b91;
  background: #fff7fb;
  box-shadow: 0 8px 22px rgba(255, 75, 145, .12);
}

.add-cat-card.theme-property,
.add-cat-card.theme-vehicle,
.add-cat-card.theme-personal,
.add-cat-card.theme-business,
.add-cat-card.theme-medical,
.add-cat-card.theme-electronics,
.add-cat-card.theme-gold,
.add-cat-card.theme-other {
  color: #fff;
  border: 1px solid transparent;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(21, 20, 43, .18);
  padding: .85rem .8rem .8rem;
}

.add-cat-card.theme-property::after,
.add-cat-card.theme-vehicle::after,
.add-cat-card.theme-personal::after,
.add-cat-card.theme-business::after,
.add-cat-card.theme-medical::after,
.add-cat-card.theme-electronics::after,
.add-cat-card.theme-gold::after,
.add-cat-card.theme-other::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}

/* Distinct color per card */
.add-cat-card.theme-property {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .2), transparent 42%),
    linear-gradient(155deg, #3a158f 0%, #6a38ff 55%, #8d5cff 100%);
}

.add-cat-card.theme-vehicle {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .2), transparent 42%),
    linear-gradient(155deg, #054a9a 0%, #0070e0 55%, #0081f9 100%);
}

.add-cat-card.theme-personal {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22), transparent 42%),
    linear-gradient(155deg, #8a1048 0%, #e91e63 50%, #ff4b91 100%);
}

.add-cat-card.theme-business {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18), transparent 42%),
    linear-gradient(155deg, #0f3a2a 0%, #15803d 55%, #22c55e 100%);
}

.add-cat-card.theme-medical {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .2), transparent 42%),
    linear-gradient(155deg, #7a1238 0%, #be123c 50%, #f43f5e 100%);
}

.add-cat-card.theme-electronics {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .2), transparent 42%),
    linear-gradient(155deg, #0e3a5c 0%, #0f766e 50%, #14b8a6 100%);
}

.add-cat-card.theme-gold {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22), transparent 42%),
    linear-gradient(155deg, #7a4a08 0%, #d97706 48%, #f59e0b 100%);
}

.add-cat-card.theme-other {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18), transparent 42%),
    linear-gradient(155deg, #9a3412 0%, #ea580c 50%, #ff6600 100%);
}

.add-cat-card.theme-property:hover,
.add-cat-card.theme-vehicle:hover,
.add-cat-card.theme-personal:hover,
.add-cat-card.theme-business:hover,
.add-cat-card.theme-medical:hover,
.add-cat-card.theme-electronics:hover,
.add-cat-card.theme-gold:hover,
.add-cat-card.theme-other:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 18px 36px rgba(21, 20, 43, .24);
}

.add-cat-card.theme-property.is-selected,
.add-cat-card.theme-vehicle.is-selected,
.add-cat-card.theme-personal.is-selected,
.add-cat-card.theme-business.is-selected,
.add-cat-card.theme-medical.is-selected,
.add-cat-card.theme-electronics.is-selected,
.add-cat-card.theme-gold.is-selected,
.add-cat-card.theme-other.is-selected {
  outline: 2px solid #ff4b91;
  outline-offset: 3px;
  box-shadow: 0 16px 34px rgba(255, 75, 145, .28);
}

.add-cat-card.theme-property .add-cat-art,
.add-cat-card.theme-vehicle .add-cat-art,
.add-cat-card.theme-personal .add-cat-art,
.add-cat-card.theme-business .add-cat-art,
.add-cat-card.theme-medical .add-cat-art,
.add-cat-card.theme-electronics .add-cat-art,
.add-cat-card.theme-gold .add-cat-art,
.add-cat-card.theme-other .add-cat-art {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
}

.add-cat-art-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #fff;
  min-height: 64px;
}

.add-cat-card.theme-property .add-cat-meta strong,
.add-cat-card.theme-vehicle .add-cat-meta strong,
.add-cat-card.theme-personal .add-cat-meta strong,
.add-cat-card.theme-business .add-cat-meta strong,
.add-cat-card.theme-medical .add-cat-meta strong,
.add-cat-card.theme-electronics .add-cat-meta strong,
.add-cat-card.theme-gold .add-cat-meta strong,
.add-cat-card.theme-other .add-cat-meta strong {
  color: #fff;
}

.add-cat-card.theme-property .add-cat-meta span,
.add-cat-card.theme-vehicle .add-cat-meta span,
.add-cat-card.theme-personal .add-cat-meta span,
.add-cat-card.theme-business .add-cat-meta span,
.add-cat-card.theme-medical .add-cat-meta span,
.add-cat-card.theme-electronics .add-cat-meta span,
.add-cat-card.theme-gold .add-cat-meta span,
.add-cat-card.theme-other .add-cat-meta span {
  color: rgba(255, 255, 255, .82);
}
.add-cat-radio {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .2);
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.add-cat-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background .15s ease;
}

.add-cat-card.is-selected .add-cat-radio {
  border-color: #fff;
  background: #ff4b91;
  color: #fff;
}

.add-cat-card.is-selected .add-cat-radio::after {
  background: #fff;
}
dd-cat-meta strong {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .95rem;
  margin-bottom: .25rem;
}

.add-cat-meta span {
  display: block;
  font-size: .78rem;
  color: #8a8da0;
  line-height: 1.35;
}

.add-cat-meta.tone-pink strong { color: #ff4b91; }
.add-cat-meta.tone-blue strong { color: #3b82f6; }
.add-cat-meta.tone-orange strong { color: #f59e0b; }
.add-cat-meta.tone-green strong { color: #16a34a; }

.add-loan-form-card {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.4rem;
  box-shadow: 0 6px 20px rgba(42, 24, 112, .04);
}

.add-form-section-title {
  background: #f3f0fc;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 8px;
  padding: .55rem .85rem;
  margin: .35rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.add-form-section-title i {
  font-size: .9rem;
}

.add-form-req-block {
  position: relative;
  margin-top: 1.35rem;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1.5px solid rgba(106, 56, 255, .28);
  background:
    linear-gradient(145deg, rgba(106, 56, 255, .12) 0%, rgba(141, 92, 255, .08) 42%, #f4f0ff 100%);
  box-shadow:
    0 10px 28px rgba(106, 56, 255, .12),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  overflow: hidden;
}

.add-form-req-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.add-form-section-title-req {
  margin-top: 0;
  justify-content: space-between;
  gap: .65rem;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 6px 16px rgba(106, 56, 255, .22);
}

.add-form-req-title-main {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.add-form-req-hint {
  margin: -.15rem 0 1rem;
  font-size: .8rem;
  color: #5c5680;
  line-height: 1.45;
  font-weight: 500;
}

.add-form-req-block .loan-details-input {
  background: #fff;
  border-color: #d7cff8;
}

.add-form-req-block .loan-details-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .15);
}

.add-form-location-block {
  margin-top: 1.25rem;
  padding-top: .35rem;
}

.add-loan-safety {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.safety-modal-agree-wrap {
  margin-top: 1rem;
  padding: .95rem 1rem;
  border: 1px solid #ebeaf2;
  border-radius: 12px;
  background: #faf9ff;
}

.safety-modal-agree {
  align-items: flex-start;
}
.add-loan-agree {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  margin: 0;
}

.add-loan-agree input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.add-loan-agree-box {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cfc9e8;
  flex-shrink: 0;
  margin-top: .1rem;
  position: relative;
  background: #fff;
}

.add-loan-agree input:checked + .add-loan-agree-box {
  border-color: #ff4b91;
  background: #ff4b91;
}

.add-loan-agree input:checked + .add-loan-agree-box::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.add-loan-agree-text {
  font-size: .9rem;
  color: #4a4d63;
  line-height: 1.45;
}
add-loan-safety-note {
  margin-top: .65rem;
  color: #dc2626;
  font-size: .8rem;
}

.add-loan-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.35rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.add-loan-btn-back,
.add-loan-btn-submit {
  flex: 1 1 0;
  min-height: 52px;
  min-width: 150px;
  max-width: 260px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .7rem 1.4rem;
}

.add-loan-btn-back {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  text-decoration: none;
}

.add-loan-btn-back:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.add-loan-btn-submit {
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
}

.add-loan-btn-submit:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.safety-modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.safety-modal-hero {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.15rem;
}

.safety-modal-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.safety-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4b1fd6;
  margin-bottom: .25rem;
}

.safety-modal-sub {
  font-size: .85rem;
  color: #8a8da0;
}

.safety-reminders-heading {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}

.safety-reminders-list {
  display: grid;
  gap: .55rem;
}

.safety-reminders-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid #eceaf3;
  border-radius: 12px;
  padding: .7rem .85rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
}

.safety-rem-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.safety-rem-icon.tone-pink { background: #ffe8f1; color: #ff4b91; }
.safety-rem-icon.tone-blue { background: #e8f1ff; color: #3b82f6; }
.safety-rem-icon.tone-green { background: #e7f8ef; color: #16a34a; }
.safety-rem-icon.tone-orange { background: #fff1e4; color: #f59e0b; }
.safety-rem-icon.tone-purple { background: #efeaff; color: var(--primary); }
.safety-rem-icon.tone-sky { background: #e7f6fb; color: #0ea5e9; }
.safety-rem-icon.tone-yellow { background: #fff7d6; color: #ca8a04; }
.safety-rem-icon.tone-warn { background: #ffe8d9; color: #ea580c; }

.safety-disclaimer {
  background: #f3efff;
  border: 1px solid #d9ceff;
  border-radius: 12px;
  padding: .95rem 1rem;
  margin-bottom: 1rem;
}

.safety-disclaimer h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.safety-disclaimer ul {
  padding-left: 1.1rem;
  margin: 0;
  color: #4a3d7a;
  font-size: .84rem;
}

.safety-disclaimer li {
  margin-bottom: .25rem;
}

.safety-confirm-banner {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: #fff8e8;
  border-radius: 10px;
  padding: .8rem .9rem;
  color: #6b5a2e;
  font-size: .84rem;
}

.safety-confirm-banner i {
  color: #ca8a04;
  margin-top: .1rem;
}

.safety-modal-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: .78rem;
  color: #8a8da0;
}

/* ========================
   Loan Plans / Preview Page
======================== */
.loan-plans-page-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 75, 145, .08), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(106, 56, 255, .1), transparent 30%),
    var(--light);
}

.loan-plans-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e4e2ef;
  background: #fff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.loan-plans-back:hover {
  color: var(--primary);
  border-color: #d9d1ff;
}

.loan-plans-help {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 999px;
  padding: .45rem .9rem;
}

.loan-plans-help:hover {
  color: var(--primary-hover);
  border-color: #d9d1ff;
}

.loan-plans-title {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #3b1f8e;
}

.loan-plans-subtitle {
  font-size: .92rem;
  color: #8a8da0;
}

.plans-preview-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1.15rem;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(42, 24, 112, .08);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.plans-preview-card[data-plan-preview="premium"] {
  border-color: #ff9ec4;
  box-shadow: 0 14px 34px rgba(255, 75, 145, .16);
}

.plans-preview-media {
  position: relative;
  background: linear-gradient(160deg, #f4f1ff 0%, #eef6ff 100%);
  border-radius: 14px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: .85rem;
}

.plans-preview-card[data-plan-preview="premium"] .plans-preview-media {
  background: linear-gradient(160deg, #fff0f6 0%, #f3eaff 100%);
}

.plans-preview-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  transition: transform .35s ease;
}

.plans-preview-card[data-plan-preview="premium"] .plans-preview-img {
  transform: scale(1.04);
}

.plans-preview-fav {
  position: absolute;
  top: .65rem;
  left: .65rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  z-index: 1;
}

.plans-preview-fav.is-active {
  background: #fff5f9;
}

.plans-preview-boost-badge {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--btn-gradient);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: .28rem .65rem;
  z-index: 1;
  animation: plansPulse 1.6s ease-in-out infinite;
}

@keyframes plansPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.plans-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .85rem;
}

.plans-preview-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.plans-preview-loan {
  color: var(--primary);
  font-size: 1rem;
}

.plans-preview-loan strong {
  font-size: 1.15rem;
}

.plans-preview-loc {
  color: #6b6e82;
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
}

.plans-preview-loc i {
  color: var(--primary);
}

.plans-preview-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .85rem;
}

.plans-preview-meta-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #f8f7fc;
  border-radius: 12px;
  padding: .65rem .7rem;
}

.plans-meta-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plans-meta-icon.meta-green { background: #e7f8ef; color: #16a34a; }
.plans-meta-icon.meta-orange { background: #fff1e4; color: #f59e0b; }
.plans-meta-icon.meta-blue { background: #e8f1ff; color: #3b82f6; }

.plans-preview-meta-item strong {
  display: block;
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.2;
}

.plans-preview-meta-item span {
  display: block;
  font-size: .7rem;
  color: #8a8da0;
}

.plans-preview-live-note {
  font-size: .8rem;
  color: #6b6e82;
  background: #f3f0fc;
  border-radius: 999px;
  padding: .4rem .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.plans-preview-card[data-plan-preview="premium"] .plans-preview-live-note {
  background: #fff0f6;
  color: #c2185b;
}

.plans-boost-heading {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .35rem;
}

.plans-boost-sub {
  color: #8a8da0;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.plans-benefit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.plans-benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 999px;
  padding: .55rem .95rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(42, 24, 112, .04);
  transition: transform .2s ease;
}

.plans-benefit-chip:hover {
  transform: translateY(-2px);
}

.plans-benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.plans-card {
  width: 100%;
  height: 100%;
  text-align: left;
  background: #fff;
  border: 2px solid #e7e5f0;
  border-radius: 18px;
  padding: 1.25rem 1.15rem 0;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}

.plans-card:hover {
  transform: translateY(-3px);
}

.plans-card-free.is-selected {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(106, 56, 255, .16);
}

.plans-card-premium.is-selected {
  border-color: #ff4b91;
  box-shadow: 0 12px 28px rgba(255, 75, 145, .18);
}

.plans-card-radio {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cfc9e8;
  background: #fff;
}

.plans-card.is-selected .plans-card-radio {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #fff;
}

.plans-card-premium.is-selected .plans-card-radio {
  border-color: #ff4b91;
  background: #ff4b91;
}

.plans-crown {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffe8f1;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plans-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: .35rem 0 .85rem;
}

.plans-icon-free {
  background: #efeaff;
  color: var(--primary);
}

.plans-icon-premium {
  background: #ffe8f1;
  color: #ff4b91;
}

.plans-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .55rem;
}

.plans-card-premium .plans-card-title {
  color: #d63384;
}

.plans-price-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plans-price-pill.pill-free {
  background: #efeaff;
  color: var(--primary);
}

.plans-price-pill.pill-premium {
  background: #ffe8f1;
  color: #ff4b91;
}

.plans-feature-list {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.1rem !important;
}

.plans-feature-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: #4a4d63;
  font-weight: 500;
}

.plans-card-free .plans-feature-list i { color: var(--primary); }
.plans-card-premium .plans-feature-list i { color: #ff4b91; }

.plans-card-foot {
  margin-left: -1.15rem;
  margin-right: -1.15rem;
  padding: .85rem 1.15rem;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.plans-card-free .plans-card-foot {
  background: #f3efff;
  color: #4b1fd6;
}

.plans-card-premium .plans-card-foot {
  background: #fff0f6;
  color: #c2185b;
}

.plans-compare-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.plans-compare-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .65rem;
  align-items: stretch;
}

.plans-compare-col {
  display: grid;
  gap: .55rem;
  transition: opacity .25s ease, transform .25s ease;
}

.plans-compare-table[data-highlight="free"] .plans-compare-premium,
.plans-compare-table[data-highlight="premium"] .plans-compare-free {
  opacity: .55;
  transform: scale(.98);
}

.plans-compare-table[data-highlight="free"] .plans-compare-free,
.plans-compare-table[data-highlight="premium"] .plans-compare-premium {
  opacity: 1;
  transform: scale(1);
}

.plans-compare-cell {
  background: #f3efff;
  border-radius: 12px;
  padding: .85rem .9rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  color: #4b1fd6;
}

.plans-compare-premium .plans-compare-cell {
  background: #fff0f6;
  color: #c2185b;
}

.plans-compare-mid {
  display: grid;
  gap: .55rem;
  min-width: 110px;
}

.plans-compare-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: #8a8da0;
  padding: .85rem .4rem;
}

.plans-info-bar {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  background: #eef5ff;
  border: 1px solid #d6e6ff;
  border-radius: 12px;
  padding: .9rem 1rem;
  color: #3b4f7a;
  font-size: .88rem;
}

.plans-info-bar i {
  color: #3b82f6;
  margin-top: .15rem;
}

.plans-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.plans-btn-skip,
.plans-btn-promote {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 340px;
  min-height: 64px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: .75rem 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.plans-btn-skip:hover,
.plans-btn-promote:hover {
  transform: translateY(-2px);
}

.plans-btn-main {
  font-size: .98rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.plans-btn-sub {
  font-size: .75rem;
  font-weight: 500;
  opacity: .85;
}

.plans-btn-skip {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.plans-btn-skip:hover {
  background: rgba(106, 56, 255, .05);
  color: var(--primary);
}

.plans-btn-promote {
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 75, 145, .28);
}

.plans-btn-promote:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.plans-btn-promote.is-muted {
  opacity: .55;
  box-shadow: none;
}

.plans-btn-skip.is-active-choice {
  box-shadow: 0 8px 20px rgba(106, 56, 255, .18);
}

.plans-secure-note {
  font-size: .8rem;
  color: #8a8da0;
}

.plans-secure-note i {
  color: #9a9cb0;
}

/* Other person's loan details */
.other-borrower-lock {
  color: #ff4b91;
  font-size: .85rem;
}

.other-borrower-grid {
  display: grid;
  grid-template-columns: .85fr .85fr 1.5fr;
  gap: .85rem;
}

.other-loan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto .5rem;
}

.other-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .35rem;
  text-align: center;
}

.other-action-wrap > span {
  color: #8a8da0;
  font-size: .75rem;
}

.other-chat-btn,
.other-contact-btn {
  min-height: 52px;
  border-radius: 12px;
  font-size: .94rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  position: relative;
}

.other-chat-btn {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.other-chat-btn:hover {
  color: var(--primary);
  background: rgba(106, 56, 255, .05);
}

.other-contact-btn {
  border: 0;
  background: var(--btn-gradient);
  color: #fff;
}

.other-contact-btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
}

.other-premium-badge {
  position: absolute;
  top: -11px;
  right: -7px;
  border-radius: 999px;
  background: #ffbf2f;
  color: #6b3f00;
  font-size: .62rem;
  font-weight: 700;
  padding: .2rem .48rem;
  box-shadow: 0 3px 8px rgba(116, 73, 0, .18);
}

/* Contact details locked modal */
.contact-locked-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(24, 16, 54, .25);
}

.contact-locked-head {
  max-width: 480px;
  margin: 0 auto 1.25rem;
}

.contact-lock-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #efeaff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: .75rem;
}

.contact-locked-head h2 {
  color: var(--dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.contact-locked-head p {
  color: #6b6e82;
  font-size: .88rem;
  margin: 0;
}

.contact-person {
  margin-bottom: 1rem;
}

.contact-person strong {
  color: var(--dark);
  display: block;
  font-size: 1.05rem;
  margin-bottom: .2rem;
}

.contact-person span {
  color: #6b6e82;
  display: block;
  font-size: .8rem;
}

.contact-person i {
  color: var(--primary);
}

.contact-masked-list {
  border: 1px solid #ddd9e8;
  border-radius: 12px;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.contact-masked-list > div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .75rem;
  border-bottom: 1px solid #eceaf3;
  font-size: .82rem;
}

.contact-masked-list > div:last-child {
  border-bottom: 0;
}

.contact-masked-list span,
.contact-masked-list strong {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.contact-masked-list span {
  color: var(--dark);
  font-weight: 600;
}

.contact-masked-list span i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f3efff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-masked-list strong {
  color: #4a4d63;
  font-weight: 600;
}

.contact-masked-list strong i {
  color: #aaa6b8;
}

.contact-option-title {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1rem;
}

.contact-option-title::before,
.contact-option-title::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, #f1b4d0);
  flex: 1;
}

.contact-option-title::after {
  background: linear-gradient(90deg, #f1b4d0, transparent);
}

.contact-plan-card {
  height: 100%;
  border: 1.5px solid;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.contact-pack-card {
  border-color: #ffb4cf;
  background: #fff5f8;
  color: #d81b60;
}

.contact-premium-card {
  border-color: #a895ed;
  background: #f8f6ff;
  color: #5530c9;
}

.contact-plan-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto .65rem;
}

.contact-pack-card .contact-plan-icon {
  background: #ff1f73;
  color: #fff;
}

.contact-premium-card .contact-plan-icon {
  background: #ebe7ff;
  color: #5530c9;
}

.contact-plan-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.contact-plan-card p {
  color: #5f6070;
  font-size: .78rem;
  margin-bottom: .4rem;
}

.contact-plan-price {
  display: block;
  font-size: 1rem;
  margin-bottom: .8rem;
}

.contact-plan-price small {
  color: #4a4d63;
  font-size: .72rem;
  font-weight: 500;
}

.contact-plan-card ul {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
  text-align: left;
}

.contact-plan-card li {
  color: #4a4d63;
  font-size: .78rem;
  font-weight: 500;
}

.contact-plan-card li i {
  color: currentColor;
  margin-right: .35rem;
}

.contact-plan-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  margin-top: auto;
}

.contact-pack-card .contact-plan-btn {
  background: #f61868;
}

.contact-premium-card .contact-plan-btn {
  background: #5530c9;
}

.contact-plan-btn:hover {
  color: #fff;
  filter: brightness(.94);
}

.contact-best-value {
  position: absolute;
  top: -1px;
  right: 12px;
  background: #5530c9;
  color: #fff;
  border-radius: 0 0 8px 8px;
  padding: .22rem .55rem;
  font-size: .6rem;
  font-weight: 700;
}

.contact-safe-note {
  display: grid;
  gap: .2rem;
  margin-top: 1.15rem;
  color: #6b6e82;
}

.contact-safe-note strong {
  color: var(--dark);
  font-size: .86rem;
}

.contact-safe-note span {
  font-size: .76rem;
}

.contact-safe-note small {
  font-size: .7rem;
}

/* ========================
   Membership Plans Overview
======================== */
.membership-page-body {
  background: linear-gradient(180deg, #f6f3ff 0%, #fff 28%, #fff 100%);
}

.mem-main {
  padding-bottom: 1rem;
}

.mem-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, #2a1658 0%, #5530c9 48%, #7b4dff 100%);
  border-radius: 24px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(85, 48, 201, .28);
}

.mem-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: .85rem;
}

.mem-hero-title {
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  margin-bottom: .65rem;
}

.mem-hero-sub {
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
  max-width: 34rem;
  margin-bottom: 1.1rem;
}

.mem-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.mem-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .76rem;
  font-weight: 500;
}

.mem-hero-chip i {
  color: #ffd76a;
}

.mem-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mem-hero-img {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35));
}

.mem-plans-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #ebe7f8;
  border-radius: 20px;
  padding: 1.5rem 1.05rem 1.2rem;
  box-shadow: 0 10px 28px rgba(34, 24, 78, .06);
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}

.mem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(34, 24, 78, .1);
}

.mem-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  padding: .28rem .7rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.mem-ribbon-current {
  background: #1f9d5a;
  color: #fff;
}

.mem-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: .22rem .55rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.mem-badge-popular {
  background: #e8f1ff;
  color: #1f6fe5;
}

.mem-badge-best {
  background: #f3e9ff;
  color: #7a2fe0;
}

.mem-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 96px;
  height: 96px;
  margin: .65rem auto .85rem;
  border-radius: 22px;
  overflow: hidden;
}

.mem-card-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.mem-card-contact .mem-card-img,
.mem-card-elite .mem-card-img {
  mix-blend-mode: normal;
}

.mem-card-free .mem-card-visual { background: #eefbf3; }
.mem-card-standard .mem-card-visual { background: #eef4ff; }
.mem-card-premium .mem-card-visual { background: #f4ecff; }
.mem-card-contact .mem-card-visual { background: #ffeef1; }
.mem-card-elite .mem-card-visual { background: #1a2440; }

.mem-card-name {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .45rem;
  line-height: 1.2;
}

.mem-card-tagline {
  text-align: center;
  font-size: .74rem;
  color: #c9b27a;
  margin-bottom: .35rem;
  line-height: 1.35;
}

.mem-card-price {
  text-align: center;
  color: var(--dark);
  font-size: clamp(1.85rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: .15rem 0 1rem;
}

.mem-card-price span {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: #8a8da0;
  letter-spacing: 0;
  margin-left: .2rem;
  vertical-align: middle;
}

.mem-card-price-pack {
  font-size: clamp(1.7rem, 2.2vw, 2.05rem);
}

.mem-price-from {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: #8a8da0;
  letter-spacing: .02em;
  margin-bottom: .2rem;
}

.mem-card-price-pack s {
  color: #b0b3c4;
  font-size: .9rem;
  font-weight: 500;
  margin-left: .3rem;
}

.mem-card-price-gold {
  color: #f0d078;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

.mem-card-features {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.15rem;
  flex: 1;
  text-align: left;
  padding: 0 .15rem;
}

.mem-card-features li {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .78rem;
  color: #55586c;
  line-height: 1.4;
}

.mem-card-features i {
  font-size: .9rem;
  margin-top: .05rem;
  flex-shrink: 0;
}

.mem-card-features .is-yes i { color: #1f9d5a; }
.mem-card-features .is-no i { color: #e0455f; }
.mem-card-features .is-no { color: #9a6a74; }

.mem-card-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 600;
  border: none;
  color: #fff;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .7rem 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.mem-card-btn:hover {
  color: #fff;
  filter: brightness(.96);
}

.mem-card-btn.is-disabled,
.mem-card-btn:disabled {
  background: #fff;
  color: #1f9d5a;
  border: 1.5px solid #1f9d5a;
  cursor: default;
  filter: none;
}

.mem-card-btn.is-disabled:hover,
.mem-card-btn:disabled:hover {
  color: #1f9d5a;
  filter: none;
}

.mem-card-free {
  border-color: #d9f0e3;
}

.mem-card-free .mem-card-price {
  color: #1f9d5a;
}

.mem-card-standard {
  border-color: #cfe0ff;
}

.mem-card-standard .mem-card-name,
.mem-card-standard .mem-card-price {
  color: #1f6fe5;
}

.mem-card-standard .mem-card-btn {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.mem-card-premium {
  border-color: #e0d0ff;
  box-shadow: 0 12px 30px rgba(122, 47, 224, .12);
}

.mem-card-premium .mem-card-name,
.mem-card-premium .mem-card-price {
  color: #7a2fe0;
}

.mem-card-premium .mem-card-btn {
  background: linear-gradient(90deg, #9457eb, #6a38ff);
}

.mem-card-contact {
  border-color: #ffd0d8;
}

.mem-card-contact .mem-card-name,
.mem-card-contact .mem-card-price {
  color: #e0455f;
}

.mem-card-contact .mem-card-btn {
  background: linear-gradient(90deg, #ff4b91, #e0455f);
}

.mem-card-elite {
  background: linear-gradient(180deg, #151d33 0%, #0f1526 100%);
  border-color: #2a3658;
}

.mem-card-elite .mem-card-name {
  color: #fff;
}

.mem-card-elite .mem-card-features li {
  color: #b8bfd4;
}

.mem-card-elite .mem-card-features .is-yes i {
  color: #e6c36a;
}

.mem-card-elite .mem-card-btn {
  background: linear-gradient(90deg, #e6c36a, #c9a24a);
  color: #1a1520;
}

.mem-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
  background: #fff;
  border: 1px solid #ebe7f8;
  border-radius: 16px;
  padding: .95rem 1.1rem;
  box-shadow: 0 8px 22px rgba(34, 24, 78, .05);
}

.mem-trust-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: #55586c;
}

.mem-trust-item i {
  color: var(--primary);
}

/* ========================
   Plan Detail Pages
======================== */
.plan-detail-page {
  background: #f8f7fd;
}

.plan-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.15rem;
}

.plan-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--dark);
  font-weight: 600;
  font-size: .88rem;
}

.plan-detail-back:hover {
  color: var(--primary);
}

.plan-detail-secure {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #eefbf3;
  color: #1f9d5a;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .74rem;
  font-weight: 600;
}

.plan-detail-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.25rem;
  align-items: center;
  background: #eef4ff;
  border: 1px solid #d6e4ff;
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.35rem;
  margin-bottom: 1.15rem;
}

.plan-premium-page .plan-detail-hero {
  background: linear-gradient(135deg, #fff0f7 0%, #f3e9ff 100%);
  border-color: #efd7ff;
}

.plan-contact-page .plan-detail-hero {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe8ec 100%);
  border-color: #ffd0d8;
}

.plan-detail-pill {
  display: inline-flex;
  background: #1f6fe5;
  color: #fff;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}

.plan-premium-page .plan-detail-pill {
  background: linear-gradient(90deg, #ff4b91, #9457eb);
}

.plan-detail-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  margin-bottom: .65rem;
}

.plan-detail-sub {
  color: #666a80;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.plan-detail-price {
  color: #1f6fe5;
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: .15rem 0 1rem;
}

.plan-detail-price span {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: #8a8da0;
  letter-spacing: 0;
  margin-left: .25rem;
  vertical-align: middle;
}

.plan-premium-page .plan-detail-price {
  color: #7a2fe0;
}

.plan-detail-billed {
  font-size: .82rem;
  font-weight: 600;
  color: #8a8da0;
  margin: -.55rem 0 1rem;
}

.plan-detail-checklist {
  display: grid;
  gap: .45rem;
  margin-bottom: 0;
}

.plan-detail-checklist li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  color: #44475a;
  font-weight: 500;
}

.plan-detail-checklist i {
  color: #1f9d5a;
}

.plan-detail-hero-visual {
  display: flex;
  justify-content: center;
}

.plan-detail-hero-img {
  width: min(100%, 220px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .18));
}

.plan-standard-page .plan-detail-hero-img,
.plan-premium-page .plan-detail-hero-img {
  mix-blend-mode: lighten;
}

.plan-detail-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  background: linear-gradient(90deg, #3b1d7a, #5530c9);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.plan-premium-page .plan-detail-why {
  background: linear-gradient(90deg, #7a2fe0, #ff4b91);
}

.plan-contact-page .plan-detail-why {
  background: linear-gradient(90deg, #c6284a, #ff4b91);
}

.plan-detail-why-item {
  text-align: center;
  padding: .35rem .25rem;
}

.plan-detail-why-item strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .15rem;
}

.plan-detail-why-item span {
  font-size: .76rem;
  color: rgba(255, 255, 255, .85);
}

.plan-detail-features {
  margin-bottom: 1.5rem;
}

.plan-detail-features-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-detail-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.plan-detail-feature-card {
  background: #fff;
  border: 1px solid #ebe7f8;
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 8px 20px rgba(34, 24, 78, .05);
}

.plan-detail-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0ebff;
  color: var(--primary);
  margin-bottom: .7rem;
  font-size: 1.05rem;
}

.plan-standard-page .plan-detail-feature-icon {
  background: #eef4ff;
  color: #1f6fe5;
}

.plan-premium-page .plan-detail-feature-icon {
  background: #f8eaff;
  color: #7a2fe0;
}

.plan-contact-page .plan-detail-feature-icon {
  background: #ffeef1;
  color: #e0455f;
}

.plan-detail-feature-card h3 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.plan-detail-feature-card p {
  font-size: .76rem;
  color: #6b6e82;
  margin-bottom: 0;
  line-height: 1.45;
}

.plan-detail-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.plan-detail-cta {
  min-width: min(100%, 420px);
  width: 100%;
  max-width: 560px;
  min-height: 56px;
  border-radius: 14px;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  text-decoration: none;
  line-height: 1.2;
}

.plan-premium-page .plan-detail-cta {
  background: linear-gradient(90deg, #ff4b91, #9457eb);
  box-shadow: 0 10px 24px rgba(148, 87, 235, .28);
}

.plan-contact-page .plan-detail-cta {
  background: linear-gradient(90deg, #ff4b91, #e0455f);
  box-shadow: 0 10px 24px rgba(224, 69, 95, .28);
}

.plan-detail-cta:hover {
  color: #fff;
  filter: brightness(.96);
  transform: translateY(-1px);
}

.plan-detail-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.35rem;
  padding: .35rem 0 1rem;
}

.plan-detail-trust-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  font-weight: 500;
  color: #666a80;
}

.plan-detail-trust-item i {
  color: var(--primary);
}

/* Contact Pack */
.plan-contact-feature-icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.plan-contact-feature-icon {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(224, 69, 95, .15);
  border-radius: 12px;
  padding: .55rem .7rem;
  font-size: .76rem;
  font-weight: 600;
  color: #44475a;
}

.plan-contact-feature-icon i {
  color: #e0455f;
  font-size: 1rem;
}

.plan-contact-packs {
  margin-bottom: 1.25rem;
}

.plan-contact-packs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.plan-contact-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  background: #fff;
  border: 2px solid #ffd0d8;
  border-radius: 16px;
  padding: 1.25rem .85rem .95rem;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.plan-contact-pack-card:hover {
  transform: translateY(-2px);
}

.plan-contact-pack-card.is-selected {
  border-color: #e0455f;
  box-shadow: 0 10px 24px rgba(224, 69, 95, .16);
  background: #fff7f8;
}

.plan-contact-pack-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #e0455f;
  color: #fff;
  border-radius: 0 0 8px 8px;
  padding: .2rem .55rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.plan-contact-pack-count {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  margin: .45rem 0 .35rem;
  line-height: 1.25;
}

.plan-contact-pack-price {
  color: #e0455f;
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  display: block;
  margin-top: .15rem;
}

.plan-contact-pack-price s {
  color: #b0b3c4;
  font-size: .95rem;
  font-weight: 500;
  margin-left: .25rem;
}

.plan-contact-checkout {
  background: #fff;
  border: 1px solid #ffd0d8;
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 22px rgba(224, 69, 95, .08);
}

.plan-contact-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.15rem;
  align-items: center;
}

.plan-contact-checkout-label {
  display: block;
  font-size: .74rem;
  color: #8a8da0;
  font-weight: 600;
  margin-bottom: .25rem;
}

.plan-contact-checkout-value {
  display: block;
  color: var(--dark);
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

#contactPackPay.plan-contact-checkout-value {
  color: #e0455f;
}

.plan-contact-pay-btn {
  min-width: 200px;
  min-height: 52px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(90deg, #ff4b91, #e0455f);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.35rem;
  text-decoration: none;
}

.plan-contact-pay-btn:hover {
  color: #fff;
  filter: brightness(.96);
}

/* ========================
   Elite Plan Page (redesign)
======================== */
.plan-elite-page {
  background: #f4f5f8;
}
ite-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(230, 195, 106, .12), transparent 28%),
    linear-gradient(160deg, #07132b 0%, #0d1f45 48%, #122a55 100%);
  color: #fff;
  padding: 1.25rem 0 4.5rem;
}

.elite-hero-skyline {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)),
    repeating-linear-gradient(90deg,
      transparent 0 18px,
      rgba(255, 255, 255, .05) 18px 20px,
      transparent 20px 42px,
      rgba(255, 214, 120, .08) 42px 44px);
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
}

.elite-hero-inner {
  position: relative;
  z-index: 1;
}

.elite-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.elite-back,
.elite-secure {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 600;
  color: #d7def0;
  text-decoration: none;
}

.elite-back:hover {
  color: #e6c36a;
}

.elite-secure {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(230, 195, 106, .35);
  border-radius: 999px;
  padding: .35rem .8rem;
  color: #e6c36a;
}

.elite-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(230, 195, 106, .55);
  color: #e6c36a;
  border-radius: 10px;
  padding: .4rem .8rem;
  font-size: .74rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(230, 195, 106, .08);
}

.elite-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .85rem;
  color: #fff;
}

.elite-title span {
  display: block;
  color: #e6c36a;
}

.elite-sub {
  color: #b8c3dd;
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.35rem;
  line-height: 1.55;
}

.elite-feature-row {
  display: grid;
  gap: .85rem;
  max-width: 28rem;
}

.elite-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.elite-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(230, 195, 106, .14);
  border: 1px solid rgba(230, 195, 106, .35);
  color: #e6c36a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.elite-feature strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  margin-bottom: .1rem;
}

.elite-feature span {
  color: #9aa8c7;
  font-size: .8rem;
}

.elite-banner-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem 0;
}

.elite-banner-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  object-fit: contain;
  animation: eliteFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
}

@keyframes eliteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.elite-main {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.elite-how {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 2.25rem 0 1.5rem;
}

.elite-how-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: 1.5rem;
}

.elite-how-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.elite-how-step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  position: relative;
  padding: .5rem .4rem;
  transition: transform .2s ease;
}

.elite-how-step:hover {
  transform: translateY(-3px);
}

.elite-how-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0d1f45;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.elite-how-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f3f5fa;
  color: #0d1f45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: .75rem;
}

.elite-how-step h3 {
  font-size: .92rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: .3rem;
}

.elite-how-step p {
  font-size: .76rem;
  color: #6b6e82;
  line-height: 1.4;
  margin: 0;
}

.elite-how-arrow {
  color: #c5cad8;
  font-size: 1.1rem;
  margin-top: 2rem;
  flex-shrink: 0;
}

.elite-plans-section {
  background: #fff;
  padding: 0 0 2.5rem;
}

.elite-plans-panel {
  background: #f2f4f8;
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.elite-plans-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: 1.25rem;
}

.elite-plans-title span {
  color: #c9a24a;
}

.elite-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.elite-plan-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 2px solid #e4e7ef;
  border-radius: 18px;
  padding: 1.25rem 1.1rem 1.05rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 100%;
}

.elite-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 31, 69, .1);
}

.elite-plan-card.is-selected {
  border-color: #c9a24a;
  box-shadow: 0 16px 34px rgba(201, 162, 74, .18);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 55%);
}

.elite-plan-radio {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cfd4e2;
  background: #fff;
}

.elite-plan-card.is-selected .elite-plan-radio {
  border-color: #c9a24a;
  background: #c9a24a;
  box-shadow: inset 0 0 0 4px #fff;
}

.elite-plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #101820;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .75rem;
}

.elite-plan-icon-map {
  background: #1a2744;
  color: #e6c36a;
}

.elite-plan-icon-star {
  background: #1a1208;
  color: #e6c36a;
}

.elite-plan-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: .55rem;
}

.elite-plan-checks {
  display: grid;
  gap: .3rem;
  margin-bottom: .85rem;
}

.elite-plan-checks li {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #55586c;
  font-size: .82rem;
  font-weight: 500;
}

.elite-plan-checks i {
  color: #1f9d5a;
}

.elite-plan-price {
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: #0d1f45;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: .7rem;
}

.elite-plan-price span {
  font-size: .82rem;
  font-weight: 600;
  color: #8a8da0;
}

.elite-plan-example {
  background: #eef3fb;
  color: #3b4f7a;
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .74rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

.elite-plan-example.is-warm {
  background: #fff4df;
  color: #8a6a20;
}

.elite-plan-foot {
  margin: 0;
  color: #6b6e82;
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.elite-plan-foot i {
  color: #c9a24a;
}

.elite-plan-enterprise {
  background: #fff;
}

.elite-plan-offer-tag {
  position: absolute;
  top: -1px;
  left: 14px;
  background: #e6a23c;
  color: #fff;
  border-radius: 0 0 10px 10px;
  padding: .28rem .65rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.elite-plan-enterprise h3 {
  margin-top: .35rem;
  font-size: 1.35rem;
}

.elite-plan-enterprise .elite-per {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #6b6e82;
  margin-top: .15rem;
}

.elite-plan-save {
  color: #6b6e82;
  font-size: .8rem;
  margin-bottom: .75rem;
  line-height: 1.4;
}

.elite-continue-btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #0d1f45;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.elite-continue-btn:hover {
  color: #fff;
  background: #152a55;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(13, 31, 69, .28);
}

.elite-continue-btn strong {
  color: #e6c36a;
}

.plan-elite-page .site-footer {
  background: #fff;
  border-top: 1px solid #ebeaf2;
}

/* ========== Elite Flow — shared portal ========== */
.elite-setup-page,
.elite-portal-page {
  background: #f4f6fb;
}
biz-user {
  display: flex;
  align-items: center;
  gap: .55rem;
}
* ========== Elite Setup ========== */
.elite-setup-main {
  padding: 1.5rem 0 3rem;
}

.es-hero {
  position: relative;
  background: linear-gradient(135deg, #07132b 0%, #0d1f45 55%, #16356a 100%);
  border-radius: 22px;
  padding: 1.75rem 1.75rem 1.5rem;
  color: #fff;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.es-help {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #e6c36a;
  color: #0d1f45;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1;
}

.es-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(230, 195, 106, .55);
  color: #e6c36a;
  border-radius: 10px;
  padding: .35rem .75rem;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .85rem;
  background: rgba(230, 195, 106, .08);
}

.es-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.es-title span {
  color: #e6c36a;
}

.es-sub {
  color: #b8c3dd;
  max-width: 28rem;
}

.es-hero-img {
  max-width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}

.es-section {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
}

.es-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: 1rem;
}

.es-info {
  color: #9aa3b8;
  font-size: .9rem;
  margin-left: .25rem;
}

.es-hint {
  color: #8a93a8;
  font-size: .8rem;
  margin-bottom: .75rem;
}

.es-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
}

.es-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  text-align: center;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 14px;
  padding: 1rem .5rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: #2a3145;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.es-cat-card:hover {
  border-color: #c9a24a;
}

.es-cat-card.is-selected {
  border-color: #c9a24a;
  background: #fff9eb;
  box-shadow: 0 0 0 1px rgba(201, 162, 74, .25);
}

.es-cat-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c9a24a;
  color: #fff;
  font-size: .65rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.es-cat-card.is-selected .es-cat-check {
  display: inline-flex;
}

.es-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0d1f45;
}

.es-cat-card.is-selected .es-cat-icon {
  background: #fff0c8;
  color: #b8860b;
}

.es-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.es-cover-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 14px;
  padding: 1rem;
  transition: border-color .2s ease, background .2s ease;
}

.es-cover-card.is-selected {
  border-color: #c9a24a;
  background: #fff9eb;
}

.es-cover-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c9a24a;
  color: #fff;
  font-size: .65rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.es-cover-card.is-selected .es-cover-check {
  display: inline-flex;
}

.es-cover-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2ff;
  color: #3b5bdb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .55rem;
  font-size: 1.1rem;
}

.es-cover-card strong {
  display: block;
  font-size: .88rem;
  color: #0d1f45;
  margin-bottom: .2rem;
}

.es-cover-card small {
  color: #8a93a8;
  font-size: .74rem;
  line-height: 1.35;
}

.es-state-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 12px;
  padding: .9rem 1rem;
  font-weight: 600;
  color: #4a5168;
  text-align: left;
}

.es-state-btn::after {
  margin-left: auto;
}

.es-state-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .55rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .88rem;
}

.es-state-option:hover {
  background: #f4f6fb;
}

.es-stats-line {
  margin-top: .85rem;
  margin-bottom: 0;
  font-size: .78rem;
  color: #7a849c;
}

.es-stats-line strong {
  color: #0d1f45;
}

.es-dot {
  margin: 0 .35rem;
}

.es-refresh {
  border: none;
  background: transparent;
  color: #6a38ff;
  padding: 0 .2rem;
}

.es-plan-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 30, 70, .07);
  overflow: hidden;
  margin-top: .5rem;
}

.es-plan-tab {
  display: inline-block;
  background: #0d1f45;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.25rem;
  border-radius: 0 0 14px 0;
}

.es-plan-body {
  padding: 1.35rem 1.4rem 1.25rem;
}

.es-summary li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}

.es-summary i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f5fa;
  color: #0d1f45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.es-summary span {
  display: block;
  font-size: .72rem;
  color: #8a93a8;
}

.es-summary strong {
  font-size: .88rem;
  color: #0d1f45;
}

.es-price-card {
  border: 1.5px solid #eceff5;
  border-radius: 16px;
  padding: 1rem;
  background: #fafbfe;
}

.es-price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.es-price-tabs button {
  border: none;
  background: #eef1f7;
  color: #5a647a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 8px;
  padding: .4rem .65rem;
}

.es-price-tabs button.is-active {
  background: #0d1f45;
  color: #fff;
}

.es-price-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: .25rem;
}

.es-price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #c9a24a;
  margin-bottom: .85rem;
}

.es-price-value small {
  font-size: .85rem;
  font-weight: 600;
  color: #8a93a8;
}

.es-price-feats {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  color: #3a4258;
}

.es-price-feats i {
  color: #c9a24a;
  margin-right: .2rem;
}

.es-plan-art {
  max-width: 150px;
  height: auto;
  margin-top: .5rem;
}

.es-continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  margin-top: 1.25rem;
  background: #0d1f45;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: .95rem 1.25rem;
  text-decoration: none;
}

.es-continue-btn:hover {
  background: #152a55;
  color: #fff;
}

.es-continue-btn i {
  color: #e6c36a;
  font-size: 1.15rem;
}

.es-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #eceff5;
  font-size: .78rem;
  color: #5a647a;
}

.es-trust-bar i {
  color: #c9a24a;
  margin-right: .25rem;
}

/* ========== Elite Activated ========== */
.ea-main {
  padding: 1.5rem 0 0;
}

.ea-success {
  background: #fff8ef;
  border-radius: 20px;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.ea-success-art {
  width: 110px;
  height: auto;
  margin-bottom: .75rem;
}

.ea-success-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #15142b;
  margin-bottom: .35rem;
}

.ea-success-sub {
  color: #f08a2e;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.ea-success-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: 40rem;
  background: #0d1f45;
  color: #e8ecf5;
  border-radius: 999px;
  padding: .65rem 1.15rem;
  font-size: .82rem;
  margin: 0 auto;
  text-align: left;
}

.ea-success-pill i {
  color: #e6c36a;
  flex-shrink: 0;
  margin-top: .1rem;
}

.ea-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
  margin-bottom: 1rem;
}

.ea-quick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.ea-quick-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #f6f7fb;
  border-radius: 12px;
  padding: .7rem .9rem;
  text-decoration: none;
  color: #0d1f45;
  font-weight: 600;
  font-size: .85rem;
  flex: 1 1 140px;
}

.ea-quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ebe4ff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ea-quick-art {
  margin-left: auto;
  max-height: 80px;
  width: auto;
}

.ea-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: 1rem;
}

.ea-map-img {
  max-width: 160px;
  height: auto;
  margin-bottom: .75rem;
}

.ea-add-loc {
  background: #0d1f45;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 10px;
  padding: .45rem .85rem;
}

.ea-add-loc:hover {
  background: #152a55;
  color: #fff;
}

.ea-district-list li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  font-weight: 600;
  color: #2a3145;
  margin-bottom: .45rem;
}

.ea-district-list i {
  color: #f08a2e;
}

.ea-view-all {
  font-size: .84rem;
  font-weight: 600;
  color: #6a38ff;
  text-decoration: none;
}

.ea-status-card {
  display: flex;
  gap: .75rem;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
}

.ea-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff0c8;
  color: #c9a24a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ea-status-icon.is-blue {
  background: #e8f0ff;
  color: #2f6fed;
}

.ea-status-card span {
  display: block;
  font-size: .72rem;
  color: #8a93a8;
}

.ea-status-card strong {
  font-size: .86rem;
  color: #0d1f45;
}

.ea-sidebar {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.ea-plan-summary {
  background: #0d1f45;
  color: #fff;
  border-radius: 16px;
  padding: 1.15rem;
}

.ea-plan-summary h2 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ea-plan-summary li {
  display: flex;
  gap: .65rem;
  margin-bottom: .85rem;
}

.ea-sum-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(230, 195, 106, .15);
  color: #e6c36a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ea-plan-summary strong {
  display: block;
  font-size: .82rem;
}

.ea-plan-summary small {
  font-size: .72rem;
  color: #a8b3cc;
}

.ea-link-gold {
  color: #e6c36a;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.ea-what-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
}

.ea-what-card h3 {
  font-size: .92rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: .75rem;
}

.ea-what-card li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 500;
  color: #3a4258;
  margin-bottom: .5rem;
}

.ea-what-card li i {
  color: #6a38ff;
}

.ea-credits-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border-radius: 14px;
  padding: .85rem 1rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
}

.ea-credits-row > i {
  font-size: 1.25rem;
  color: #6a38ff;
}

.ea-credits-row strong {
  display: block;
  font-size: .82rem;
  color: #0d1f45;
}

.ea-credits-row small {
  font-size: .72rem;
  color: #8a93a8;
}

.ea-credits-row a {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 600;
  color: #6a38ff;
  text-decoration: none;
  white-space: nowrap;
}

.ea-primary-btn,
.ea-outline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
}

.ea-primary-btn {
  background: #0d1f45;
  color: #e6c36a;
}

.ea-primary-btn:hover {
  background: #152a55;
  color: #e6c36a;
}

.ea-outline-btn {
  background: #fff;
  border: 1.5px solid #d8deea;
  color: #0d1f45;
}

.ea-outline-btn:hover {
  background: #f6f7fb;
  color: #0d1f45;
}

.ea-footer-banner {
  margin-top: 2rem;
  background: #fff3e4;
  padding: 1.1rem 0;
}

.ea-footer-banner p {
  font-size: .9rem;
  font-weight: 600;
  color: #3a2a12;
}

.ea-footer-banner i {
  color: #f08a2e;
  margin-right: .35rem;
}

.ea-explore-btn {
  background: #f08a2e;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: .55rem 1.1rem;
  white-space: nowrap;
}

.ea-explore-btn:hover {
  background: #e07820;
  color: #fff;
}

/* ========== Elite Dashboard ========== */
.ed-main {
  padding: 1.5rem 0 3rem;
}

.ed-hero {
  background: linear-gradient(120deg, #f3edff 0%, #faf8ff 55%, #fff 100%);
  border-radius: 22px;
  padding: 1.75rem;
  margin-bottom: 1.35rem;
  overflow: hidden;
}

.ed-greet {
  font-size: 1.35rem;
  font-weight: 800;
  color: #15142b;
}

.ed-hero-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4a5168;
  margin-bottom: .55rem;
}

.ed-hero-sub {
  color: #7a849c;
  font-size: .9rem;
  max-width: 32rem;
  margin-bottom: 1.15rem;
}

.ed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.ed-btn-primary {
  background: #6a38ff;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: .65rem 1.15rem;
}

.ed-btn-primary:hover {
  background: #5729e8;
  color: #fff;
}
ed-hero-img {
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.ed-stats {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.ed-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
}

.ed-stat-featured {
  background: linear-gradient(145deg, #3b1d8a, #6a38ff);
  color: #fff;
}

.ed-stat-top {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  margin-bottom: .55rem;
  opacity: .9;
}

.ed-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: .45rem;
}

.ed-stat-icon.is-purple { background: #ebe4ff; color: #6a38ff; }
.ed-stat-icon.is-green { background: #e6f8ef; color: #1aa35c; }
.ed-stat-icon.is-orange { background: #fff0e4; color: #f08a2e; }
.ed-stat-icon.is-gold { background: #fff0c8; color: #c9a24a; }

.ed-stat-label {
  display: block;
  font-size: .72rem;
  color: #8a93a8;
  margin-bottom: .25rem;
}

.ed-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .2rem;
  color: inherit;
}

.ed-stat-card:not(.ed-stat-featured) .ed-stat-value {
  color: #0d1f45;
}

.ed-stat-meta {
  font-size: .72rem;
  opacity: .85;
  margin-bottom: .55rem;
}

.ed-stat-link {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.ed-stat-clickable {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1.5px solid transparent;
}

.ed-stat-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 30, 70, .1);
  border-color: #e4e8f0;
  color: inherit;
}

.ed-stat-clickable .ed-stat-arrow {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f5fa;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s ease, color .2s ease;
}

.ed-stat-clickable:hover .ed-stat-arrow {
  background: #6a38ff;
  color: #fff;
}

.ed-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.ed-section-head h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1f45;
  margin: 0;
}

.ed-section-head a {
  font-size: .84rem;
  font-weight: 600;
  color: #6a38ff;
  text-decoration: none;
}

.ed-market {
  margin-bottom: 1.5rem;
}

.ed-market-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
  height: 100%;
}

.ed-market-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1f45;
  margin-bottom: .25rem;
}

.ed-market-count {
  font-size: .82rem;
  color: #5a647a;
  margin-bottom: .25rem;
}

.ed-market-growth {
  font-size: .78rem;
  font-weight: 700;
  color: #1aa35c;
  margin-bottom: .75rem;
}

.ed-market-btn {
  background: #0d1f45;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .45rem .85rem;
}

.ed-market-btn:hover {
  background: #152a55;
  color: #fff;
}

.ed-market-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.ed-insight-card {
  background: #fff8e6;
  border-radius: 16px;
  padding: 1.15rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ed-insight-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffe8a3;
  color: #c9a24a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .55rem;
  font-size: 1.15rem;
}

.ed-insight-card p {
  font-weight: 700;
  color: #0d1f45;
  font-size: .88rem;
  margin-bottom: .55rem;
}

.ed-insight-card a {
  font-size: .78rem;
  font-weight: 600;
  color: #6a38ff;
  text-decoration: none;
}

.ed-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
  height: 100%;
}

.ed-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1f45;
  margin-bottom: 1rem;
}

.ed-activity li,
.ed-attention li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid #f0f2f7;
}

.ed-activity li:last-child,
.ed-attention li:last-child {
  border-bottom: none;
}

.ed-act-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-act-icon.is-red { background: #ffe8e8; color: #e03b3b; }
.ed-act-icon.is-green { background: #e6f8ef; color: #1aa35c; }
.ed-act-icon.is-purple { background: #ebe4ff; color: #6a38ff; }

.ed-activity strong,
.ed-attention strong {
  display: block;
  font-size: .86rem;
  color: #0d1f45;
}

.ed-activity small,
.ed-attention small {
  font-size: .72rem;
  color: #8a93a8;
}

.ed-act-val {
  margin-left: auto;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ed-act-val.is-red { color: #e03b3b; }
.ed-act-val.is-green { color: #1aa35c; }

.ed-act-badge {
  margin-left: auto;
  background: #e6f8ef;
  color: #1aa35c;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .25rem .6rem;
}

.ed-expire {
  font-size: .74rem;
  font-weight: 700;
  color: #e03b3b;
  white-space: nowrap;
}

.ed-renew-btn {
  margin-left: auto;
  border: 1.5px solid #d8deea;
  color: #0d1f45;
  font-size: .74rem;
  font-weight: 700;
  border-radius: 8px;
  padding: .35rem .65rem;
  white-space: nowrap;
}

.ed-renew-btn:hover {
  background: #f6f7fb;
  color: #0d1f45;
}

/* ========== Elite Leads (Web) ========== */
.elite-leads-page {
  background: #f4f6fb;
}

.el2-main {
  padding-bottom: 2rem;
}

.el2-toolbar {
  background: #fff;
  border-bottom: 1px solid #eceff5;
  padding: .85rem 0;
}

.el2-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.el2-toolbar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.el2-back {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f3f5fa;
  color: #0d1f45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.el2-back:hover {
  background: #ebe4ff;
  color: #6a38ff;
}

.el2-page-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1f45;
  margin: 0;
}

.el2-toolbar-right {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.el2-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #0d1f45;
  color: #e6c36a;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.el2-credits-pill:hover {
  background: #152a55;
  color: #e6c36a;
}

.el2-notify-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #fff3e4;
  color: #f08a2e;
  position: relative;
}

.el2-notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e03b3b;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .25rem;
}

.el2-hero {
  background: linear-gradient(160deg, #07132b 0%, #0d1f45 55%, #122a55 100%);
  color: #fff;
  padding: 1.25rem 0 0;
}

.el2-credit-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(230, 195, 106, .35);
  border-radius: 12px;
  padding: .65rem .9rem;
  font-size: .82rem;
  color: #d7def0;
  margin-bottom: 1rem;
}

.el2-credit-note i {
  color: #e6c36a;
  font-size: 1rem;
}

.el2-credit-note strong {
  color: #e6c36a;
}

.el2-filter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  margin-bottom: 1rem;
}

.el2-filter-field label {
  display: block;
  font-size: .72rem;
  color: #a8b3cc;
  margin-bottom: .3rem;
}

.el2-category-dropdown {
  width: 100%;
}

.el2-category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: .88rem;
  padding: .7rem .9rem;
  text-align: left;
}

.el2-category-btn:hover,
.el2-category-btn:focus,
.el2-category-btn.show {
  background: rgba(255, 255, 255, .12);
  border-color: #e6c36a;
  color: #fff;
}

.el2-category-btn::after {
  margin-left: auto;
  border-top-color: #fff;
}

.el2-category-menu {
  width: 100%;
  min-width: 100%;
  border-radius: 12px;
  padding: .4rem;
  margin-top: .35rem !important;
  max-height: 280px;
  overflow-y: auto;
}

.el2-category-menu .dropdown-item {
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: #0d1f45;
  padding: .55rem .75rem;
}

.el2-category-menu .dropdown-item:hover,
.el2-category-menu .dropdown-item:focus {
  background: #f3f0ff;
  color: #6a38ff;
}

.el2-category-menu .dropdown-item.is-active {
  background: #ebe4ff;
  color: #6a38ff;
}

.el2-more-filters {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-width: 160px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  padding: .7rem .9rem;
}

.el2-more-filters:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.el2-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: 1.15rem;
}

.el2-tabs button {
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: transparent;
  color: #b8c3dd;
  border-radius: 10px;
  padding: .5rem .9rem;
  font-size: .82rem;
  font-weight: 600;
}

.el2-tabs button span {
  color: #8a93a8;
}

.el2-tabs button.is-active {
  background: #fff;
  border-color: #fff;
  color: #0d1f45;
}

.el2-tabs button.is-active span {
  color: #c9a24a;
}

.el2-content {
  background: #fff;
  border-radius: 24px 24px 0 0;
  margin-top: -4px;
  padding: 1.5rem 0 2rem;
  min-height: 50vh;
}

.el2-group-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0d1f45;
  margin: 0 0 1rem;
}

.el2-group-title:not(:first-child) {
  margin-top: 1.5rem;
}

.el2-lead-card {
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 30, 70, .05);
  margin-bottom: 1rem;
}

.el2-lead-top {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.el2-thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.el2-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: #f3f5fa;
  padding: .5rem;
}

.el2-ribbon {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 1rem;
}

.el2-ribbon.is-locked {
  color: #c9a24a;
}

.el2-ribbon.is-unlocked {
  color: #1aa35c;
}

.el2-lead-info {
  flex: 1;
  min-width: 0;
}

.el2-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}

.el2-title-row h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #0d1f45;
  margin: 0;
  line-height: 1.35;
}

.el2-loc-pill {
  flex-shrink: 0;
  background: #f3f5fa;
  color: #5a647a;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .68rem;
  font-weight: 600;
}

.el2-loan-amt {
  font-size: .84rem;
  color: #5a647a;
  margin-bottom: .55rem;
}

.el2-loan-amt strong {
  color: #6a38ff;
  font-weight: 800;
}

.el2-metric-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.el2-metric-pills span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .28rem .6rem;
  font-size: .68rem;
  font-weight: 600;
}

.el2-metric-pills .is-green {
  background: #e6f8ef;
  color: #1aa35c;
}

.el2-metric-pills .is-orange {
  background: #fff0e4;
  color: #f08a2e;
}

.el2-metric-pills .is-blue {
  background: #e8f0ff;
  color: #2f6fed;
}

.el2-contact {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #f3f0ff;
  padding: .85rem 1rem;
  border-top: 1px solid #ebe4ff;
}

.el2-contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ebe4ff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.el2-contact-rows {
  flex: 1;
  min-width: 0;
}

.el2-contact-rows p {
  margin: 0 0 .2rem;
  font-size: .78rem;
  color: #5a647a;
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.el2-contact-rows p span {
  color: #8a93a8;
  min-width: 52px;
}

.el2-contact-rows strong {
  color: #0d1f45;
  font-weight: 700;
}

.el2-masked {
  letter-spacing: .08em;
}

.el2-unlock-btn {
  background: #0d1f45;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .5rem 1rem;
  white-space: nowrap;
  border: none;
}

.el2-unlock-btn:hover {
  background: #152a55;
  color: #fff;
}

.el2-view-btn {
  background: #6a38ff;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .5rem .85rem;
  white-space: nowrap;
  text-decoration: none;
}

.el2-view-btn:hover {
  background: #5729e8;
  color: #fff;
}

/* ========== Elite My Plans ========== */
.elite-myplane-page {
  background: #f4f6fb;
}

.emy-portal-nav {
  background: #fff;
  border-bottom: 1px solid #eceff5;
  padding: .55rem 0;
}

.emy-portal-nav-inner {
  display: flex;
  align-items: center;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.emy-portal-nav-inner::-webkit-scrollbar {
  display: none;
}

.emy-portal-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #5a647a;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.emy-portal-link:hover {
  background: #f3f5fa;
  color: #0d1f45;
}

.emy-portal-link.is-active {
  background: #0d1f45;
  color: #e6c36a;
}

.emy-top {
  background: linear-gradient(160deg, #07132b 0%, #0d1f45 58%, #122a55 100%);
  color: #fff;
  padding: 1.25rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.emy-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(230, 195, 106, .12), transparent 35%);
  pointer-events: none;
}

.emy-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
}

.emy-toolbar-left {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

.emy-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}

.emy-back:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  transform: translateX(-2px);
}

.emy-toolbar h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
}

.emy-toolbar p {
  margin: .15rem 0 0;
  color: #b8c3dd;
  font-size: .88rem;
}

.emy-toolbar-right {
  display: flex;
  gap: .45rem;
}

.emy-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s ease;
}

.emy-icon-btn:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.emy-summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, #081e4f 0%, #0a2558 100%);
  border: 1px solid rgba(230, 195, 106, .35);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  position: relative;
  z-index: 1;
}

.emy-shield-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 195, 106, .25), rgba(230, 195, 106, .05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.emy-shield-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.emy-summary-stats {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .75rem;
}

.emy-stat-block strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.emy-stat-block span {
  font-size: .74rem;
  color: #a9b5d2;
}

.emy-stat-gold {
  color: #e6c36a !important;
  font-weight: 700;
}

.emy-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
  flex-shrink: 0;
}

.emy-next-expiry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.emy-next-label {
  font-size: .76rem;
  color: #a9b5d2;
}

.emy-next-expiry > strong {
  font-size: .88rem;
  color: #e6c36a;
}

.emy-days-pill {
  background: rgba(230, 195, 106, .15);
  color: #e6c36a;
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .7rem;
  font-weight: 700;
}

.emy-main {
  margin-top: -3.4rem;
  position: relative;
  z-index: 2;
}

.emy-content {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 1.5rem 0 2.5rem;
  box-shadow: 0 -8px 30px rgba(15, 30, 70, .06);
}

.emy-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.emy-kpi {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1.5px solid #eceff5;
  border-radius: 14px;
  padding: .85rem .95rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 6px 20px rgba(15, 30, 70, .04);
}

.emy-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 30, 70, .1);
  color: inherit;
}

.emy-kpi.is-purple:hover { border-color: #6a38ff; }
.emy-kpi.is-orange:hover { border-color: #f08a2e; }
.emy-kpi.is-gold:hover { border-color: #e6c36a; }

.emy-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.emy-kpi.is-purple .emy-kpi-icon { background: #ebe4ff; color: #6a38ff; }
.emy-kpi.is-orange .emy-kpi-icon { background: #fff0e4; color: #f08a2e; }
.emy-kpi.is-gold .emy-kpi-icon { background: #fff0c8; color: #c9a24a; }

.emy-kpi strong {
  display: block;
  font-size: 1.05rem;
  color: #0d1f45;
}

.emy-kpi span {
  font-size: .72rem;
  color: #8a93a8;
}

.emy-kpi-arrow {
  margin-left: auto;
  color: #c5cad6;
  font-size: .9rem;
  transition: transform .2s ease, color .2s ease;
}

.emy-kpi:hover .emy-kpi-arrow {
  transform: translateX(3px);
  color: #6a38ff;
}

.emy-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.emy-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0d1f45;
}

.emy-section-head h2 span {
  color: #6a38ff;
}

.emy-section-sub {
  margin: .2rem 0 0;
  font-size: .82rem;
  color: #8a93a8;
}

.emy-section-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.emy-plan-tabs {
  display: inline-flex;
  background: #f3f5fa;
  border-radius: 10px;
  padding: .25rem;
}

.emy-plan-tabs button {
  border: none;
  background: transparent;
  color: #5a647a;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 8px;
  padding: .4rem .75rem;
  transition: background .2s ease, color .2s ease;
}

.emy-plan-tabs button.is-active {
  background: #0d1f45;
  color: #fff;
}

.emy-filter-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid #e4e8f0;
  background: #fff;
  color: #0d1f45;
}

.emy-filter-btn:hover {
  border-color: #6a38ff;
  color: #6a38ff;
}

.emy-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.emy-plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 18px;
  padding: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 30, 70, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.emy-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 30, 70, .1);
}

.emy-plan-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.emy-plan-card.is-gold .emy-plan-accent { background: #e6c36a; }
.emy-plan-card.is-blue .emy-plan-accent { background: #234dad; }

.emy-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.emy-plan-identity {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.emy-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff9eb;
  border: 2px solid #f0e4c5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.emy-state-icon.is-blue {
  background: #e8f0ff;
  border-color: #c5d8ff;
}

.emy-state-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.emy-plan-title-row {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .15rem;
}

.emy-plan-title-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1f45;
}

.emy-status-pill {
  font-size: .66rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .18rem .5rem;
}

.emy-status-pill.is-active {
  background: #e6f8ef;
  color: #1aa35c;
}

.emy-plan-sub {
  margin: 0 0 .35rem;
  font-size: .8rem;
  color: #67718a;
}

.emy-scope-pill {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .18rem .55rem;
}

.emy-scope-pill.is-gold {
  background: #fff9eb;
  color: #b8860b;
  border: 1px solid #f0e4c5;
}

.emy-scope-pill.is-blue {
  background: #e8f0ff;
  color: #234dad;
  border: 1px solid #c5d8ff;
}

.emy-plan-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
}

.emy-toggle-wrap {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.emy-toggle-label {
  font-size: .68rem;
  color: #8a93a8;
  font-weight: 600;
}

.emy-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  margin: 0;
}

.emy-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.emy-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d8deea;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}

.emy-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.emy-toggle input:checked + .emy-toggle-slider {
  background: #1aa35c;
}

.emy-toggle input:checked + .emy-toggle-slider::before {
  transform: translateX(18px);
}

.emy-more-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f5fa;
  border-radius: 8px;
  color: #5a647a;
}

.emy-more-btn:hover {
  background: #ebe4ff;
  color: #6a38ff;
}

.emy-plan-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  padding: .85rem 0;
  border-top: 1px solid #f0f2f7;
  border-bottom: 1px solid #f0f2f7;
  margin-bottom: .65rem;
}

.emy-meta-item small {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .68rem;
  color: #8a93a8;
  margin-bottom: .2rem;
}

.emy-meta-item strong {
  display: block;
  font-size: .84rem;
  color: #0d1f45;
}

.emy-meta-item em {
  display: block;
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  margin-top: .1rem;
}

.emy-meta-item em.is-good { color: #1aa35c; }
.emy-meta-item em.is-warn { color: #f08a2e; }

.emy-validity-bar {
  height: 5px;
  background: #f0f2f7;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .85rem;
}

.emy-validity-fill {
  height: 100%;
  background: linear-gradient(90deg, #e6c36a, #f08a2e);
  border-radius: 999px;
  transition: width .4s ease;
}

.emy-validity-fill.is-blue {
  background: linear-gradient(90deg, #234dad, #6a38ff);
}

.emy-plan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.emy-btn-outline,
.emy-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .55rem .65rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.emy-btn-outline {
  background: #fff;
  border: 1.5px solid #d8deea;
  color: #0d1f45;
}

.emy-btn-outline:hover {
  background: #f6f7fb;
  color: #0d1f45;
  border-color: #0d1f45;
}

.emy-btn-gold {
  background: #fff9eb;
  border: 1.5px solid #e6c36a;
  color: #9e7308;
}

.emy-btn-gold:hover {
  background: #fff4da;
  color: #7a5a06;
}

.emy-empty-state {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed #d8deea;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.emy-empty-state i {
  font-size: 2rem;
  color: #c5cad6;
  margin-bottom: .5rem;
}

.emy-empty-state h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1f45;
}

.emy-empty-state p {
  font-size: .84rem;
  color: #8a93a8;
  margin-bottom: .85rem;
}

.emy-opp-head {
  margin-top: .5rem;
}

.emy-view-all {
  font-size: .84rem;
  font-weight: 700;
  color: #6a38ff;
  text-decoration: none;
  white-space: nowrap;
}

.emy-opp-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 200px;
  background: linear-gradient(145deg, #0d1f45 0%, #153a86 100%);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.emy-opp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(13, 31, 69, .25);
}

.emy-opp-art {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  opacity: .25;
  object-fit: contain;
  pointer-events: none;
}

.emy-opp-art.is-muted {
  opacity: .15;
}

.emy-opp-body {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}

.emy-opp-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .15rem;
  color:#fff;
}

.emy-opp-count {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.emy-opp-label {
  font-size: .8rem;
  color: #c5d4f0;
  margin-bottom: .65rem;
}

.emy-growth-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(26, 163, 92, .2);
  color: #a8f5c0;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: .85rem;
}

.emy-opp-btn {
  margin-top: auto;
  width: fit-content;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .45rem .85rem;
  text-decoration: none;
  transition: background .2s ease;
}

.emy-opp-btn:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.emy-expand-banner {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  background: linear-gradient(90deg, #fff9eb 0%, #fff4da 100%);
  border: 1px solid #f0e4c5;
  border-radius: 14px;
  padding: .95rem 1.1rem;
}

.emy-expand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffe8a3;
  color: #c9a24a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.emy-expand-copy strong {
  display: block;
  color: #3a2a12;
  font-size: .92rem;
  margin-bottom: .1rem;
}

.emy-expand-copy p {
  color: #7a6848;
  font-size: .8rem;
}

.emy-expand-btn {
  margin-left: auto;
  background: #0d1f45;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .55rem 1rem;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.emy-expand-btn:hover {
  background: #152a55;
  color: #fff;
}

/*new styles start*/
.newbrowse-bx .auth-left-text{font-size: .90rem;}
.newbrowse-bx .browse-loan-card{grid: inherit;}
.newbrowse-bx .browse-loan-top{justify-content:left;}
.newbrowse-bx .browse-loan-type{padding: .3rem .5rem;font-size: .55rem;}
.newbrowse-bx .browse-loan-thumb img {width: 90px; height: auto; object-fit: contain; padding: 10px;}
.newbrowse-bx .browse-loan-thumb{min-height: 90px;}
.newbrowse-bx .browse-loan-thumb {height: 120px; width: 120px;}
.newbrowse-bx .browse-loan-top{justify-content: start;}
.newbrowse-bx .txt-bx{width: 100%;}
.newbrowse-bx .invalid-outer { width: 100%; position: relative;}
.newbrowse-bx .invalid-bx2 {position: absolute; top: 0px; right: 30px;}

@media only screen and (max-width: 600px) {
.newbrowse-bx .browse-loan-top{display: inline-grid;}
.newbrowse-bx .browse-loan-thumb {height: 150px; width: 100%;}
.newbrowse-bx .browse-btn-outline, .browse-btn-primary{font-size: .70rem; padding: .6rem .85rem;}
.newbrowse-bx .browse-loan-user{align-items: initial;}
}
.colr{color:#fff !important;}
/*new styles end*/

/* ========== Elite Market Insights ========== */
.elite-market-insights-page {
  background: #f4f6fb;
}

.emi-main {
  padding-bottom: 2.2rem;
}

.emi-top {
  background: linear-gradient(145deg, #081a47 0%, #0d2b73 100%);
  color: #fff;
  padding: 1.1rem 0 1.35rem;
}

.emi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}

.emi-toolbar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.emi-back {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.emi-back:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.emi-toolbar h1 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 .1rem;
}

.emi-toolbar p {
  margin: 0;
  color: #c8d7ff;
  font-size: .82rem;
}

.emi-help-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.1rem;
}

.emi-help-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.emi-content {
  margin-top: -0.6rem;
}

.emi-filter-card,
.emi-cta-card {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 16px;
  padding: 1.05rem;
  box-shadow: 0 10px 28px rgba(13, 31, 69, .07);
}

.emi-filter-card {
  margin-bottom: 1.15rem;
}

.emi-label {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  color: #5f6b84;
  margin-bottom: .35rem;
}

.emi-select-wrap {
  position: relative;
}

.emi-select-wrap > i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6a38ff;
  z-index: 1;
}

.emi-select {
  padding-left: 2.35rem;
  border-radius: 12px;
  border-color: #dbe2f0;
  min-height: 48px;
  font-weight: 600;
  color: #0d1f45;
}

.emi-select:focus {
  border-color: #6a38ff;
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .12);
}

.emi-context {
  margin-top: .9rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  background: #fff8eb;
  border: 1px solid #f0e2c0;
  border-radius: 12px;
  padding: .75rem .85rem;
  color: #5c4c2e;
  font-size: .8rem;
}

.emi-context i {
  color: #c9a24a;
  font-size: 1rem;
  margin-top: .1rem;
}

.emi-demand-card {
  background: linear-gradient(155deg, #081a47 0%, #12357a 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem;
  height: 100%;
  box-shadow: 0 14px 34px rgba(8, 26, 71, .28);
}

.emi-demand-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.emi-demand-state {
  color: #e6c36a;
  font-weight: 700;
  font-size: .9rem;
  margin: 0 0 .15rem;
}

.emi-demand-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.emi-live-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .28rem .65rem;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}

.emi-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fd06d;
  box-shadow: 0 0 0 0 rgba(31, 208, 109, .6);
  animation: emiPulse 1.6s infinite;
}

@keyframes emiPulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 208, 109, .55); }
  70% { box-shadow: 0 0 0 8px rgba(31, 208, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 208, 109, 0); }
}

.emi-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}

.emi-metric {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: .8rem .7rem;
}

.emi-metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .45rem;
  font-size: .9rem;
}

.emi-metric-icon.is-purple { background: rgba(167, 139, 250, .22); color: #c4b5fd; }
.emi-metric-icon.is-green { background: rgba(34, 197, 94, .2); color: #86efac; }
.emi-metric-icon.is-orange { background: rgba(249, 115, 22, .2); color: #fdba74; }

.emi-metric small {
  display: block;
  color: #b7c6e8;
  font-size: .7rem;
  margin-bottom: .2rem;
}

.emi-metric strong {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
}

.emi-growth-bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(26, 163, 92, .16);
  border: 1px solid rgba(134, 239, 172, .25);
  border-radius: 12px;
  padding: .75rem .85rem;
}

.emi-growth-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1aa35c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emi-growth-bar strong {
  display: block;
  color: #86efac;
  font-size: .9rem;
}

.emi-growth-bar p {
  color: #c8d7ff;
  font-size: .76rem;
}

.emi-cta-card {
  height: 100%;
  background: linear-gradient(180deg, #fffaf0 0%, #fff 55%);
  display: flex;
  flex-direction: column;
}

.emi-cta-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .95rem;
}

.emi-crown {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff0c8;
  color: #c9a24a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .55rem;
  font-size: 1.05rem;
}

.emi-cta-copy h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d1f45;
  margin-bottom: .3rem;
}

.emi-cta-copy p {
  color: #6b758c;
  font-size: .8rem;
  margin: 0;
}

.emi-price {
  text-align: right;
  flex-shrink: 0;
}

.emi-price strong {
  display: block;
  color: #0d1f45;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.emi-price small {
  color: #8a93a8;
  font-size: .7rem;
  font-weight: 600;
}

.emi-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.emi-feature-row span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fff;
  border: 1px solid #efe6d0;
  border-radius: 999px;
  padding: .28rem .6rem;
  font-size: .68rem;
  font-weight: 700;
  color: #5f6b84;
}

.emi-feature-row i {
  color: #c9a24a;
}

.emi-activate-btn {
  margin-top: auto;
  width: 100%;
  background: #0d1f45;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.emi-activate-btn:hover {
  background: #152a55;
  color: #fff;
  transform: translateY(-1px);
}

.emi-how {
  margin: 1.6rem 0 1.25rem;
}

.emi-how h2,
.emi-section-head h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0d1f45;
  margin-bottom: .85rem;
}

.emi-how-track {
  display: flex;
  align-items: stretch;
  gap: .55rem;
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 16px;
  padding: 1rem;
}

.emi-how-step {
  flex: 1;
  text-align: center;
  padding: .35rem;
}

.emi-how-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: .55rem;
  transition: transform .25s ease;
}

.emi-how-step:hover .emi-how-icon {
  transform: translateY(-3px) scale(1.05);
}

.emi-how-icon.is-blue { background: #e8f0ff; color: #2f6fed; }
.emi-how-icon.is-green { background: #e5f7ed; color: #1aa35c; }
.emi-how-icon.is-orange { background: #fff0e4; color: #f08a2e; }

.emi-how-step strong {
  display: block;
  color: #0d1f45;
  font-size: .88rem;
  margin-bottom: .2rem;
}

.emi-how-step p {
  margin: 0;
  color: #6b758c;
  font-size: .76rem;
}

.emi-how-arrow {
  display: inline-flex;
  align-items: center;
  color: #b7c0d4;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.emi-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.emi-section-head h2 {
  margin: 0;
}

.emi-view-all {
  border: none;
  background: none;
  color: #6a38ff;
  font-weight: 700;
  font-size: .84rem;
  padding: 0;
}

.emi-state-card {
  position: relative;
  min-height: 210px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.emi-state-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(13, 31, 69, .25);
}

.emi-state-card.is-purple {
  background: linear-gradient(145deg, #3b1d8f 0%, #6a38ff 100%);
}

.emi-state-card.is-orange {
  background: linear-gradient(145deg, #8a3a12 0%, #d97706 100%);
}

.emi-state-art {
  position: absolute;
  right: .4rem;
  bottom: .3rem;
  opacity: .28;
  pointer-events: none;
}

.emi-state-body {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.emi-state-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .15rem;
}

.emi-state-count {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.emi-state-label {
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  margin-bottom: .55rem;
}

.emi-state-growth {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  width: fit-content;
  background: rgba(26, 163, 92, .22);
  color: #a8f5c0;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .85rem;
}

.emi-state-btn {
  margin-top: auto;
  width: fit-content;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .45rem .85rem;
}

.emi-state-btn:hover {
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

.emi-disclaimer {
  margin-top: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  background: #eef1f7;
  border-radius: 12px;
  padding: .8rem .9rem;
  color: #5f6b84;
  font-size: .78rem;
}

.emi-disclaimer i {
  color: #6a38ff;
  margin-top: .1rem;
}

.emi-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.emi-modal-state {
  text-align: left;
  border: 1px solid #e5eaf4;
  background: #f8faff;
  border-radius: 12px;
  padding: .85rem;
  transition: border-color .2s ease, background .2s ease;
}

.emi-modal-state:hover {
  border-color: #6a38ff;
  background: #f4f0ff;
}

.emi-modal-state strong {
  display: block;
  color: #0d1f45;
  font-size: .9rem;
  margin-bottom: .15rem;
}

.emi-modal-state span {
  color: #6b758c;
  font-size: .76rem;
}

.emi-demand-card.is-updating {
  animation: emiFlash .45s ease;
}

@keyframes emiFlash {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}

/* ========== Chats List ========== */
.chats-page-body {
  background: #f6f5fb;
}

.chats-app-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.chats-app-page .site-header {
  flex-shrink: 0;
}

.chats-app-page .site-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: .85rem !important;
  padding-bottom: .85rem !important;
}

.chats-app-main {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.chats-app-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  width: 100%;
  background: #fff;
  border: none;
  border-top: 1px solid #ece7f8;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.chats-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ece7f8;
  background: #fbfaff;
  min-height: 0;
  min-width: 0;
}

.chats-sidebar .chats-toolbar,
.chats-sidebar .chats-tabs,
.chats-sidebar .chats-search {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  flex-shrink: 0;
}

.chats-sidebar .chats-toolbar {
  padding-top: 1.1rem;
  padding-bottom: .35rem;
  margin-bottom: .55rem;
}

.chats-sidebar .chats-tabs {
  margin-bottom: .75rem;
}

.chats-sidebar .chats-search {
  margin-bottom: .85rem;
}

.chats-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem 1rem;
  display: grid;
  gap: .65rem;
  align-content: start;
  min-height: 0;
}

.chats-conversation {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fff;
  height: 100%;
}

.chats-conversation .chat-detail-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.chats-conversation .chat-detail-topbar,
.chats-conversation .chat-secure-banner,
.chats-conversation .chat-composer-dock {
  flex-shrink: 0;
}

.chats-conversation .chat-thread {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

.chat-composer-dock {
  border-top: 1px solid #ece7f8;
  background: #fff;
  padding: .65rem 1rem .85rem;
}

.chats-conversation .chat-quick-row {
  padding: 0 0 .55rem;
}

.chats-conversation .chat-composer {
  padding: 0;
}

.chats-conversation .chat-secure-banner {
  margin: .65rem 1.15rem 0;
}
.chat-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, #fbfaff 0%, #f3f0fa 100%);
}

.chat-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #efeaff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: .85rem;
}

.chat-empty-state h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2b1b6d;
  margin-bottom: .35rem;
}

.chat-empty-state p {
  max-width: 320px;
  color: #6b6588;
  font-size: .88rem;
  margin: 0;
}
.chats-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.chats-toolbar h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #2b1b6d;
}

.chats-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .85rem;
  width: 100%;
}

.chats-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid #d9d0f5;
  background: #fff;
  color: #6a38ff;
  font-weight: 700;
  font-size: .78rem;
  padding: .42rem .45rem;
  line-height: 1.2;
}

.chats-tab.is-lending {
  border-color: #f7b6d0;
  color: #e83e8c;
}

.chats-tab.is-active {
  background: linear-gradient(90deg, #6a38ff 0%, #e83e8c 100%);
  border-color: transparent;
  color: #fff;
}

.chats-tab-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(106, 56, 255, .12);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  padding: 0 .25rem;
  flex-shrink: 0;
}

.chats-tab.is-active .chats-tab-count {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.chats-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: .9rem;
}

.chats-search > i {
  position: absolute;
  left: 2.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9a93b8;
  font-size: .95rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.chats-search .form-control {
  border-radius: 14px;
  border-color: #e4dff5;
  height: 46px;
  min-height: 46px;
  padding: .65rem .95rem .65rem 2.55rem;
  background: #fff;
  line-height: 1.25;
  box-shadow: none;
}

.chats-search .form-control:focus {
  border-color: #cbb8ff;
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .12);
}

.chats-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: .7rem;
  align-items: center;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #ece7f8;
  border-radius: 14px;
  padding: .75rem .8rem;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease;
}

.chats-card:hover {
  transform: none;
  background: #faf8ff;
  box-shadow: none;
}

.chats-card.is-active {
  border-color: #cbb8ff;
  background: #f5f0ff;
  box-shadow: none;
}

.chats-card.is-search-hidden {
  display: none !important;
}

.chats-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.chats-card-icon.is-purple { background: #efeaff; color: #6a38ff; }
.chats-card-icon.is-pink { background: #ffe8f1; color: #e83e8c; }
.chats-card-icon.is-gold { background: #fff4d6; color: #c9a24a; }
.chats-card-icon.is-green { background: #e5f7ed; color: #1aa35c; }
.chats-card-icon.is-blue { background: #e8f0ff; color: #2f6fed; }

.chats-card-body {
  min-width: 0;
}

.chats-card-top {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .2rem;
  min-width: 0;
}

.chats-masked-name {
  display: block;
  color: #1f1845;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.chats-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  padding: .12rem .45rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.chats-tag.is-borrowing {
  background: #efeaff;
  color: #6a38ff;
}

.chats-tag.is-lending {
  background: #ffe8f1;
  color: #e83e8c;
}

.chats-last-msg {
  margin: 0;
  color: #7a7496;
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chats-card-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
  min-width: 58px;
  flex-shrink: 0;
}

.chats-card-meta time {
  color: #9a93b8;
  font-size: .7rem;
  font-weight: 600;
}

.chats-unread {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .28rem;
}

.chats-unread.is-purple { background: #6a38ff; }
.chats-unread.is-pink { background: #e83e8c; }

/* ========== Chat Safety Modal ========== */
.chat-safety-modal {
  max-height: 92vh;
}

.chat-safety-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.chat-safety-head-left {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}

.chat-safety-shield {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #efeaff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.chat-safety-head h2 {
  margin: 0 0 .2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #2b1b6d;
}

.chat-safety-head p {
  margin: 0;
  color: #6b6588;
  font-size: .82rem;
}
.chat-safety-close:hover {
  background: #efeaff;
  color: #6a38ff;
}

.chat-safety-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px solid #f0ecf8;
}

.chat-safety-list li:last-child {
  border-bottom: none;
}

.chat-safety-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.chat-safety-ico.is-pink { background: #ffe8f1; color: #e83e8c; }
.chat-safety-ico.is-blue { background: #e8f0ff; color: #2f6fed; }
.chat-safety-ico.is-purple { background: #efeaff; color: #6a38ff; }
.chat-safety-ico.is-green { background: #e5f7ed; color: #1aa35c; }
.chat-safety-ico.is-orange { background: #fff0e4; color: #f08a2e; }
.chat-safety-ico.is-amber { background: #fff4d6; color: #d4a017; }
.chat-safety-ico.is-teal { background: #e6f7f4; color: #0d9488; }
.chat-safety-ico.is-violet { background: #f1ebff; color: #7c3aed; }

.chat-safety-list strong {
  display: block;
  color: #1f1845;
  font-size: .88rem;
  margin-bottom: .1rem;
}

.chat-safety-list span {
  color: #6b6588;
  font-size: .78rem;
}

.chat-safety-disclaimer {
  background: #f5f0ff;
  border: 1px solid #e0d6ff;
  border-radius: 14px;
  padding: .9rem 1rem;
  margin-bottom: .75rem;
}

.chat-safety-disclaimer h3 {
  font-size: .9rem;
  font-weight: 800;
  color: #6a38ff;
  margin-bottom: .45rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.chat-safety-disclaimer ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #3d3658;
  font-size: .78rem;
}

.chat-safety-disclaimer li + li {
  margin-top: .3rem;
}

.chat-safety-priority {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  background: #fff8eb;
  border-radius: 12px;
  padding: .7rem .85rem;
  color: #6a5630;
  font-size: .8rem;
  margin-bottom: 1rem;
}

.chat-safety-priority i {
  color: #c9a24a;
  margin-top: .1rem;
}

.chat-safety-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: .55rem;
  margin-bottom: .75rem;
}

.chat-safety-cancel {
  border: 1.5px solid #6a38ff;
  color: #6a38ff;
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  padding: .7rem 1rem;
  text-decoration: none;
  text-align: center;
}

.chat-safety-cancel:hover {
  background: #f5f0ff;
  color: #6a38ff;
}

.chat-safety-agree {
  background: #6a38ff;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: .7rem 1rem;
}

.chat-safety-agree:hover {
  background: #5729e8;
  color: #fff;
}

.chat-safety-foot {
  text-align: center;
  color: #8a84a6;
  font-size: .72rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
}

/* ========== Chat Detail ========== */
.chat-detail-panel {
  background: #fff;
  border: 1px solid #ece7f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(60, 40, 120, .08);
}

.chat-detail-topbar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1rem;
  background: linear-gradient(90deg, #ff4b91 0%, #c43bff 100%);
  color: #fff;
}

.chat-back,
.chat-more-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.chat-back:hover,
.chat-more-btn:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}

.chat-peer-avatar,
.chat-bubble-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-peer-meta {
  flex: 1;
  min-width: 0;
}

.chat-peer-meta strong {
  display: block;
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-peer-meta strong i {
  font-size: .8rem;
}

.chat-top-loan {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 220px;
  margin-left: auto;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

.chat-top-loan:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}

.chat-top-loan i {
  flex-shrink: 0;
  font-size: .85rem;
}

.chat-top-loan span {
  overflow: hidden;
  text-overflow: ellipsis;
}
chat-loan-copy {
  flex: 1;
  min-width: 0;
}
t-view-req {
  border: 1.5px solid #e83e8c;
  color: #e83e8c;
  background: #fff;
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 700;
  padding: .4rem .7rem;
  white-space: nowrap;
  text-decoration: none;
}
.chat-secure-banner {
  margin: .7rem 1rem 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  background: #ffe8f1;
  color: #7a2d52;
  border-radius: 10px;
  padding: .55rem .75rem;
  font-size: .76rem;
}

.chat-secure-banner i {
  color: #e83e8c;
}

.chat-thread {
  padding: 1rem 1.15rem;
  background: #f8f7fc;
  min-height: 0;
  overflow-y: auto;
}

.chat-day-pill {
  width: fit-content;
  margin: 0 auto .85rem;
  background: #ebe7f5;
  color: #6b6588;
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .7rem;
  font-weight: 700;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  margin-bottom: .75rem;
}

.chat-msg.is-out {
  justify-content: flex-end;
}

.chat-bubble-avatar {
  background: #efeaff;
  color: #6a38ff;
  width: 32px;
  height: 32px;
  font-size: .65rem;
}

.chat-bubble-avatar.is-me {
  background: #ffe8f1;
  color: #e83e8c;
}

.chat-bubble {
  max-width: min(74%, 420px);
  background: #fff;
  border-radius: 14px;
  padding: .65rem .8rem;
  box-shadow: 0 4px 14px rgba(60, 40, 120, .06);
}

.chat-msg.is-out .chat-bubble {
  background: #ffe8f1;
}

.chat-bubble p {
  margin: 0 0 .25rem;
  color: #1f1845;
  font-size: .86rem;
}

.chat-bubble time {
  display: block;
  text-align: right;
  color: #9a93b8;
  font-size: .68rem;
}

.chat-bubble time i {
  color: #e83e8c;
}

.chat-offer-card {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .25rem;
}

.chat-offer-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e83e8c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-offer-card strong {
  display: block;
  color: #1f1845;
  font-size: .84rem;
}

.chat-offer-card p {
  margin: 0;
  color: #e83e8c;
  font-weight: 700;
  font-size: .82rem;
}

.chat-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .75rem 1rem 0;
}

.chat-composer-dock .chat-quick-row {
  padding: 0 0 .55rem;
}

.chat-quick-btn {
  border: 1.5px solid #f7b6d0;
  background: #fff;
  color: #e83e8c;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .74rem;
  font-weight: 700;
}

.chat-quick-btn:hover {
  background: #ffe8f1;
}

.chat-composer {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: .55rem;
  align-items: center;
  padding: .85rem 1rem 1rem;
}

.chat-attach-btn,
.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #e83e8c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chat-composer .form-control {
  border-radius: 999px;
  border-color: #e4dff5;
  min-height: 44px;
}

/* ========== Elite Unlock Modals ========== */
.el2-unlock-dialog {
  max-width: 420px;
}

.el2-unlock-modal,
.el2-contact-modal {
  position: relative;
  overflow: hidden;
}

.el2-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
}

.el2-unlock-hero,
.el2-contact-hero {
  width: 78px;
  height: 78px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.el2-unlock-hero {
  background: linear-gradient(145deg, #fff4d6 0%, #ffe8a8 100%);
}

.el2-unlock-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0d1f45;
  color: #e6c36a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.el2-unlock-title,
.el2-contact-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1f45;
  margin-bottom: .35rem;
}

.el2-unlock-desc {
  color: #5f6b84;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.el2-unlock-desc strong {
  color: #0d1f45;
  font-weight: 800;
}

.el2-credit-stack {
  display: grid;
  gap: .55rem;
  margin-bottom: .85rem;
}

.el2-credit-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-radius: 14px;
  padding: .8rem .9rem;
  text-align: left;
}

.el2-credit-row.is-available {
  background: #0d1f45;
  color: #fff;
}

.el2-credit-row.is-required {
  background: #f1ebff;
}

.el2-credit-row.is-after {
  background: #f7f9fd;
  border: 1px solid #e5eaf4;
}

.el2-credit-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.el2-credit-row.is-available .el2-credit-ico {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.el2-credit-row.is-required .el2-credit-ico {
  background: #6a38ff;
  color: #fff;
}

.el2-credit-row.is-after .el2-credit-ico {
  background: #ebe4ff;
  color: #6a38ff;
}

.el2-credit-row small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .1rem;
}

.el2-credit-row.is-available small {
  color: #c8d7ff;
}

.el2-credit-row.is-required small,
.el2-credit-row.is-after small {
  color: #6b758c;
}

.el2-credit-row p {
  margin: 0;
  line-height: 1.15;
}

.el2-credit-row strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.el2-credit-row.is-available strong,
.el2-credit-row.is-available span {
  color: #f08a2e;
}

.el2-credit-row.is-required strong,
.el2-credit-row.is-required span,
.el2-credit-row.is-after strong,
.el2-credit-row.is-after span {
  color: #6a38ff;
}

.el2-credit-row span {
  font-size: .9rem;
  font-weight: 700;
}

.el2-credit-row em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #0d1f45;
  margin-top: .15rem;
}

.el2-unlock-note,
.el2-contact-warn {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  text-align: left;
  border-radius: 12px;
  padding: .7rem .8rem;
  font-size: .76rem;
  margin-bottom: 1rem;
}

.el2-unlock-note {
  background: #fff8eb;
  color: #6a5630;
}

.el2-unlock-note i {
  color: #c9a24a;
  margin-top: .1rem;
}

.el2-unlock-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: .55rem;
  margin-bottom: .85rem;
}

.el2-cancel-btn {
  border: 1.5px solid #0d1f45;
  color: #0d1f45;
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  padding: .7rem .85rem;
}

.el2-cancel-btn:hover {
  background: #f4f6fb;
  color: #0d1f45;
  border-color: #0d1f45;
}

.el2-confirm-unlock-btn {
  background: #0d1f45;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: .7rem .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-decoration: none;
}

.el2-confirm-unlock-btn:hover {
  background: #152a55;
  color: #fff;
}

.el2-secure-note {
  color: #8a93a8;
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.el2-contact-hero {
  background: #efeaff;
}

.el2-contact-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #6a38ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.el2-contact-sub {
  color: #6b758c;
  font-size: .84rem;
  margin-bottom: .95rem;
}

.el2-contact-profile {
  margin-bottom: .95rem;
}

.el2-contact-avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ebe4ff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .55rem;
}

.el2-contact-profile strong {
  display: block;
  color: #0d1f45;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .2rem;
}

.el2-contact-loc {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #5f6b84;
  font-size: .8rem;
  font-weight: 600;
}

.el2-contact-loc i {
  color: #6a38ff;
}

.el2-contact-info-box {
  background: #f4f6fb;
  border: 1px solid #e5eaf4;
  border-radius: 14px;
  padding: .15rem .95rem;
  text-align: left;
  margin-bottom: .75rem;
}

.el2-contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .7rem 0;
  color: #0d1f45;
  font-size: .84rem;
  font-weight: 600;
}

.el2-contact-info-row + .el2-contact-info-row {
  border-top: 1px solid #e5eaf4;
}

.el2-contact-info-row i {
  color: #0d1f45;
  margin-top: .1rem;
}

.el2-contact-info-row a {
  color: #0d1f45;
  text-decoration: none;
}

.el2-credits-used-box {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #f1ebff;
  border-radius: 14px;
  padding: .8rem .9rem;
  margin-bottom: .75rem;
  text-align: left;
}

.el2-credits-used-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6a38ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.el2-credits-used-box strong {
  display: block;
  color: #0d1f45;
  font-size: .88rem;
}

.el2-credits-used-box span {
  color: #c9a24a;
  font-size: .78rem;
  font-weight: 700;
}

.el2-contact-warn {
  background: #fffdf7;
  border: 1px solid #efe4c8;
  color: #5f6b84;
}

.el2-contact-warn i {
  color: #e6c36a;
  margin-top: .1rem;
}
/* ========================
   Profile Page
======================== */
.profile-page-body {
  background: var(--light);
}

.profile-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 75, 145, .22), transparent 36%),
    radial-gradient(circle at 88% 10%, rgba(141, 92, 255, .28), transparent 34%),
    linear-gradient(145deg, #1a1038 0%, #3b1d7a 48%, #6a38ff 100%);
  color: #fff;
  padding: 1.1rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, .03) 18px,
      rgba(255, 255, 255, .03) 19px
    );
  pointer-events: none;
}

.profile-hero > .container {
  position: relative;
  z-index: 1;
}

.profile-hero-top {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 1.35rem;
}

.profile-back,
.profile-notify {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.profile-back:hover,
.profile-notify:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.profile-hero-title {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-notify-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4b91;
  border: 1.5px solid #3b1d7a;
}

.profile-hero-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .85);
  background: linear-gradient(145deg, #ff4b91, #6a38ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.profile-avatar-edit {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.profile-user-name {
  margin: 0 0 .45rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.profile-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fff;
  color: #16a34a;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

.profile-plan-badge i {
  color: #22c55e;
  font-size: .7rem;
}

.profile-user-location {
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
}

.profile-user-location i {
  margin-right: .2rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  background: rgba(15, 10, 40, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: .9rem .55rem;
  backdrop-filter: blur(8px);
}

.profile-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}

.profile-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  margin-bottom: .15rem;
}

.profile-stat-icon.tone-purple { background: rgba(141, 92, 255, .25); color: #c4b5fd; }
.profile-stat-icon.tone-green { background: rgba(34, 197, 94, .2); color: #4ade80; }
.profile-stat-icon.tone-pink { background: rgba(255, 75, 145, .22); color: #ff8fbf; }
.profile-stat-icon.tone-orange { background: rgba(245, 158, 11, .22); color: #fbbf24; }

.profile-stat strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.profile-stat span {
  font-size: .68rem;
  color: rgba(255, 255, 255, .72);
}

.profile-sheet {
  margin-top: -2.4rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.profile-sheet-inner {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 1.35rem 1rem 0;
  box-shadow: 0 -8px 28px rgba(40, 28, 90, .08);
}

.profile-plan-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: #fff;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .05);
}

.profile-plan-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  min-width: 88px;
}

.profile-plan-gift {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.profile-plan-brand strong {
  font-size: .72rem;
  color: #16a34a;
  letter-spacing: .04em;
}

.profile-plan-perks {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.profile-plan-perks li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--dark);
}

.profile-plan-perks i {
  color: #22c55e;
}

.profile-plan-cta {
  text-align: right;
}

.profile-plan-cta p {
  font-size: .78rem;
  color: #8a8da0;
  max-width: 160px;
  margin-left: auto;
}

.profile-upgrade-btn {
  background: #22c55e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.profile-upgrade-btn:hover {
  background: #16a34a;
  color: #fff;
}

.profile-menu-card {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  padding: 1rem 1rem .35rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .04);
}

.profile-menu-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 .65rem;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .15rem;
  border-bottom: 1px solid #f1f0f6;
  text-decoration: none;
  color: var(--dark);
}

.profile-menu-list li:last-child .profile-menu-item {
  border-bottom: 0;
}

.profile-menu-item:hover {
  color: var(--primary);
}

.profile-menu-item > .bi-chevron-right {
  color: #b6b8c8;
  font-size: .85rem;
  margin-left: auto;
}

.profile-menu-label {
  font-size: .9rem;
  font-weight: 500;
}

.profile-menu-value {
  margin-left: auto;
  margin-right: .35rem;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
}

.profile-menu-item.is-danger .profile-menu-label {
  color: #e11d48;
}

.profile-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.profile-menu-icon.tone-yellow { background: #fff6e0; color: #d4a017; }
.profile-menu-icon.tone-green { background: #e7f8ef; color: #16a34a; }
.profile-menu-icon.tone-purple { background: #efeaff; color: #6a38ff; }
.profile-menu-icon.tone-pink { background: #ffe8f0; color: #ff4b91; }
.profile-menu-icon.tone-blue { background: #eaf2ff; color: #3b82f6; }
.profile-menu-icon.tone-orange { background: #fff3e5; color: #f59e0b; }

.profile-biz-card {
  background: linear-gradient(135deg, #fffaf0 0%, #fff7e8 100%);
  border: 1px solid #f0e2c4;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .04);
}

.profile-biz-top {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1rem;
}

.profile-biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #15142b;
  color: #f0b429;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.profile-biz-copy {
  flex: 1;
  min-width: 0;
}

.profile-biz-title {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.profile-biz-copy p {
  font-size: .78rem;
  color: #8a8da0;
  line-height: 1.4;
}

.profile-biz-btn {
  background: #15142b;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  padding: .5rem .85rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
}

.profile-biz-btn:hover {
  background: #2a1460;
  color: #fff;
}

.profile-biz-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem;
  border-top: 1px solid #f0e2c4;
  background: rgba(255, 255, 255, .45);
  padding: .7rem .85rem;
}

.profile-biz-features li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 600;
  color: #5f6b84;
}

.profile-biz-features i {
  color: #c9a24a;
}

/* ========================
   Payment Success Modal
======================== */
.psm-dialog {
  max-width: 480px;
  margin: 1rem auto;
}

.psm-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(21, 20, 43, .25);
}

.psm-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  background: #2e1085;
}

.psm-theme-contact .psm-head {
  background: #ff4b91;
}

.psm-head-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.psm-head-icon i {
  font-size: .7rem;
  line-height: 1;
}

.psm-body {
  padding: 1.25rem 1.15rem 1.2rem;
  background: #fff;
}

.psm-hero {
  text-align: center;
  margin-bottom: 1.15rem;
}

.psm-hero-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  position: relative;
  background: #2e1085;
  box-shadow: 0 8px 20px rgba(46, 16, 133, .25);
}

.psm-hero-badge i {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.psm-theme-contact .psm-hero-badge {
  background: #22c55e;
  box-shadow: 0 8px 20px rgba(34, 197, 94, .25);
}

.psm-confetti {
  position: absolute;
  inset: -14px;
  pointer-events: none;
  z-index: 0;
}

.psm-confetti span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.psm-confetti span:nth-child(1) { top: 6px; left: 10px; background: #f59e0b; transform: rotate(18deg); }
.psm-confetti span:nth-child(2) { top: 2px; right: 12px; background: #3b82f6; border-radius: 50%; width: 5px; height: 5px; }
.psm-confetti span:nth-child(3) { bottom: 10px; left: 4px; background: #22c55e; }
.psm-confetti span:nth-child(4) { bottom: 4px; right: 8px; background: #ff4b91; transform: rotate(32deg); }
.psm-confetti span:nth-child(5) { top: 22px; right: 0; background: #8d5cff; width: 4px; height: 8px; }

.psm-thankyou {
  margin: 0 0 .4rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #2e1085;
  line-height: 1.2;
}

.psm-theme-contact .psm-thankyou {
  color: #ff4b91;
}

.psm-sub {
  margin: 0 auto;
  max-width: 360px;
  font-size: .84rem;
  color: #6b6e82;
  line-height: 1.5;
}

.psm-sub strong {
  color: #2e1085;
  font-weight: 700;
}

.psm-theme-contact .psm-sub strong {
  color: #ff4b91;
}

.psm-card {
  border: 1px solid #ebeaf2;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: .85rem;
  background: #fff;
}

.psm-card-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 700;
  color: #15142b;
  margin: 0 0 .85rem;
  line-height: 1.2;
}

.psm-card-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efeaff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.psm-card-title-icon i {
  font-size: .8rem;
  line-height: 1;
}

.psm-theme-contact .psm-card-title-icon {
  background: #ffe8f0;
  color: #ff4b91;
}

.psm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
  padding: .45rem 0;
  border-bottom: 1px solid #f1f0f6;
  font-size: .82rem;
  line-height: 1.3;
}

.psm-row:first-child {
  padding-top: 0;
}

.psm-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.psm-row span {
  color: #8a8da0;
  flex-shrink: 0;
}

.psm-row strong {
  color: #2e1085;
  font-weight: 700;
  text-align: right;
}

.psm-theme-contact .psm-row strong.is-accent {
  color: #ff4b91;
}

.psm-benefits {
  background: #f5f1ff;
  border-color: transparent;
}

.psm-theme-contact .psm-benefits {
  background: #fff0f5;
}

.psm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.psm-benefit {
  text-align: center;
  padding: .15rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.psm-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 0;
  width: 1px;
  background: rgba(106, 56, 255, .15);
}

.psm-theme-contact .psm-benefit:not(:last-child)::after {
  background: rgba(255, 75, 145, .18);
}

.psm-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #6a38ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 .45rem;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(46, 16, 133, .08);
  flex-shrink: 0;
}

.psm-benefit-icon i {
  line-height: 1;
}

.psm-theme-contact .psm-benefit-icon {
  color: #ff4b91;
}

.psm-benefit strong {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: #15142b;
  line-height: 1.3;
  margin: 0;
}

.psm-benefit span {
  display: none;
}

.psm-usage {
  background: #eefbf3;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
}

.psm-usage-main {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem .85rem;
}

.psm-usage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.psm-usage-icon i {
  line-height: 1;
}

.psm-usage-copy {
  flex: 1;
  min-width: 0;
}

.psm-usage-copy .psm-usage-label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: #15142b;
  margin-bottom: .2rem;
  line-height: 1.2;
}

.psm-usage-count {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.15;
}

.psm-usage-note {
  margin: .15rem 0 0;
  font-size: .74rem;
  color: #3f7a55;
  line-height: 1.3;
}

.psm-usage-reset {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(22, 163, 74, .12);
  border-radius: 8px;
  padding: .4rem .5rem;
  font-size: .62rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.25;
  flex-shrink: 0;
  white-space: nowrap;
}

.psm-usage-foot {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .6rem 1rem;
  background: rgba(22, 163, 74, .12);
  color: #3f7a55;
  font-size: .72rem;
  line-height: 1.35;
  border-radius: 0;
}

.psm-usage-foot i {
  flex-shrink: 0;
  font-size: .85rem;
  line-height: 1;
}

.psm-theme-contact .psm-usage {
  background: #fff0f5;
}

.psm-theme-contact .psm-usage-icon {
  background: rgba(255, 75, 145, .12);
  color: #ff4b91;
}

.psm-theme-contact .psm-usage-count,
.psm-theme-contact .psm-usage-reset {
  color: #ff4b91;
}

.psm-theme-contact .psm-usage-reset {
  background: rgba(255, 75, 145, .12);
}

.psm-theme-contact .psm-usage-note {
  color: #9d174d;
}

.psm-theme-contact .psm-usage-foot {
  background: #ffe0ec;
  color: #9d174d;
}

.psm-credits-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: .5rem;
  align-items: center;
  padding: 1rem 1rem .85rem;
}

.psm-credit-side {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.psm-credit-side .psm-benefit-icon {
  margin-bottom: .35rem;
  background: rgba(255, 75, 145, .12);
  color: #ff4b91;
  box-shadow: none;
}

.psm-credit-side span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: #8a8da0;
  line-height: 1.25;
}

.psm-credit-mid {
  text-align: center;
}

.psm-credit-mid strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ff4b91;
  line-height: 1.1;
}

.psm-credit-mid strong small {
  font-size: .85rem;
  font-weight: 700;
  color: #9d174d;
}

.psm-credit-mid > span {
  display: block;
  font-size: .72rem;
  color: #8a8da0;
  margin: .2rem 0 .4rem;
}

.psm-valid-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4b91;
  color: #fff;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1;
}

.psm-how-title {
  margin: 0 0 .9rem;
  font-size: .9rem;
  font-weight: 700;
  color: #15142b;
  line-height: 1.2;
}

.psm-how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .25rem;
}

.psm-how-step {
  flex: 1;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.psm-how-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.psm-how-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #efeaff;
  color: #6a38ff;
  font-size: 1.1rem;
  line-height: 1;
}

.psm-how-icon i {
  line-height: 1;
}

.psm-theme-contact .psm-how-icon {
  background: #ffe8f0;
  color: #ff4b91;
}

.psm-how-icon.is-lock {
  background: #ffe8f0;
  color: #ff4b91;
}

.psm-how-num {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2e1085;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.psm-theme-contact .psm-how-num {
  background: #ff4b91;
}

.psm-how-step strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #15142b;
  line-height: 1.3;
  margin: 0 0 .2rem;
}

.psm-how-step span {
  display: block;
  font-size: .62rem;
  color: #8a8da0;
  line-height: 1.3;
  max-width: 110px;
}

.psm-how-arrow {
  flex: 0 0 auto;
  width: 16px;
  color: #c9cad6;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  line-height: 1;
  align-self: flex-start;
}

.psm-done-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #2e1085;
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  margin-top: .1rem;
  text-decoration: none;
  box-shadow: none;
}

.psm-done-btn:hover,
.psm-done-btn:focus {
  background: #24106a;
  color: #fff !important;
}

.psm-theme-contact .psm-done-btn {
  background: #ff4b91;
}

.psm-theme-contact .psm-done-btn:hover,
.psm-theme-contact .psm-done-btn:focus {
  background: #e03d7d;
  color: #fff !important;
}

.psm-secure {
  margin: .7rem 0 0;
  text-align: center;
  font-size: .72rem;
  color: #8a8da0;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .psm-dialog {
    max-width: calc(100% - 1.5rem);
  }

  .psm-body {
    padding: 1.05rem .9rem 1.05rem;
  }

  .psm-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem .25rem;
  }

  .psm-benefit:not(:last-child)::after {
    display: none;
  }

  .psm-how-steps {
    flex-direction: column;
    gap: .85rem;
  }

  .psm-how-arrow {
    display: none;
  }

  .psm-how-step span {
    max-width: none;
  }

  .psm-usage-main {
    flex-wrap: wrap;
  }

  .psm-usage-reset {
    margin-left: auto;
  }

  .psm-credits-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
}

/* ========================
   Contact Us Page
======================== */
.contact-page-body {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 75, 145, .06), transparent 42%),
    radial-gradient(ellipse at 100% 8%, rgba(106, 56, 255, .07), transparent 40%),
    linear-gradient(180deg, #faf9ff 0%, #f4f2f8 48%, #fff 100%);
  min-height: 100vh;
}

.contact-hero {
  padding: 2.4rem 0 1.5rem;
  overflow: hidden;
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ff4b91;
  background: rgba(255, 75, 145, .1);
  border-radius: 999px;
  padding: .35rem .75rem;
}

.contact-hero-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: .85rem;
}

.contact-hero-title span {
  background: linear-gradient(90deg, #ff4b91, #9457eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero-lead {
  font-size: 1.02rem;
  color: #6b6e82;
  max-width: 34rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.contact-hero-rule {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4b91, #9457eb);
  margin-bottom: 1rem;
}

.contact-hero-sla {
  font-size: .95rem;
  color: #5c5870;
  max-width: 32rem;
  line-height: 1.55;
}

.contact-hero-sla strong {
  color: #ff4b91;
  font-weight: 700;
}

.contact-hero-art {
  position: relative;
  min-height: 280px;
  max-width: 420px;
  margin-left: auto;
  display: grid;
  place-items: center;
}

.contact-art-blob {
  position: absolute;
  inset: 12% 8% 8% 12%;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 75, 145, .28), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(106, 56, 255, .32), transparent 50%),
    linear-gradient(145deg, #efe7ff, #ffe4f0);
  animation: contactBlob 8s ease-in-out infinite;
}

.contact-art-headset,
.contact-art-mail,
.contact-art-chat {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(80, 30, 140, .22);
  z-index: 2;
}

.contact-art-headset {
  width: 110px;
  height: 110px;
  font-size: 3rem;
  background: linear-gradient(145deg, #9457eb, #6a38ff);
  top: 18%;
  left: 18%;
  animation: contactFloat 4.5s ease-in-out infinite;
}

.contact-art-mail {
  width: 92px;
  height: 92px;
  font-size: 2.4rem;
  background: linear-gradient(145deg, #ff4b91, #ff7ab0);
  right: 14%;
  bottom: 22%;
  animation: contactFloat 5.2s ease-in-out infinite .4s;
}

.contact-art-chat {
  width: 68px;
  height: 68px;
  font-size: 1.7rem;
  background: linear-gradient(145deg, #ff6fa8, #c56bff);
  top: 12%;
  right: 20%;
  border-radius: 50%;
  animation: contactFloat 3.8s ease-in-out infinite .8s;
}

.contact-art-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4b91;
  opacity: .55;
  z-index: 1;
}

.contact-art-dot.d1 { top: 42%; right: 8%; background: #9457eb; }
.contact-art-dot.d2 { bottom: 18%; left: 22%; width: 8px; height: 8px; }
.contact-art-dot.d3 { top: 58%; left: 10%; width: 12px; height: 12px; background: #c56bff; }

@keyframes contactFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes contactBlob {
  0%, 100% { border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%; transform: rotate(0deg); }
  50% { border-radius: 52% 48% 58% 42% / 42% 58% 42% 58%; transform: rotate(4deg); }
}

.contact-info-section {
  padding: .5rem 0 1.5rem;
}

.contact-info-card {
  height: 100%;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(40, 28, 90, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: #ddd4ff;
  box-shadow: 0 16px 36px rgba(106, 56, 255, .1);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .95rem;
}

.contact-info-icon.tone-pink {
  background: #ffe8f2;
  color: #ff4b91;
}

.contact-info-icon.tone-purple {
  background: #efeaff;
  color: var(--primary);
}

.contact-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}

.contact-info-text {
  font-size: .88rem;
  color: #6b6e82;
  line-height: 1.5;
  margin-bottom: .85rem;
}

.contact-info-text strong {
  color: var(--dark);
  font-weight: 600;
}

.contact-info-link {
  color: #ff4b91;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}

.contact-info-link:hover {
  color: #e0397d;
  text-decoration: underline;
}

.contact-info-meta {
  font-size: .84rem;
  color: #6b6e82;
  margin-bottom: .65rem !important;
}

.contact-info-meta strong {
  color: var(--primary);
  font-weight: 700;
}

.contact-info-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .55rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.contact-info-cta:hover {
  color: var(--primary-hover);
}

.contact-info-note {
  font-size: .8rem;
  color: #8a8da0;
}

.contact-form-section {
  padding: .75rem 0 1.5rem;
}

.contact-form-shell {
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(40, 28, 90, .08);
}

.contact-form-pane {
  padding: 1.6rem 1.5rem 1.7rem;
}

.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .3rem;
}

.contact-form-sub {
  font-size: .9rem;
  color: #8a8da0;
  margin-bottom: 1.25rem;
}

.contact-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #3d3a55;
  margin-bottom: .4rem;
}

.contact-label span {
  color: #e11d48;
}

.contact-input {
  min-height: 48px;
  border-radius: 12px;
  border: 1.5px solid #e4e1ef;
  font-size: .9rem;
  padding: .65rem .9rem;
  background: #fcfbff;
}

.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(106, 56, 255, .12);
  background: #fff;
}

.contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit-btn {
  min-height: 50px;
  padding: .7rem 1.45rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff4b91 0%, #9457eb 100%);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 10px 24px rgba(255, 75, 145, .28);
}

.contact-submit-btn:hover {
  background: linear-gradient(90deg, #ff3a84 0%, #8546e0 100%);
  color: #fff;
}

.contact-notice {
  height: 100%;
  background:
    linear-gradient(165deg, #fff5f9 0%, #ffeef5 55%, #f8f0ff 100%);
  border-left: 1px solid #f3d5e4;
  padding: 1.6rem 1.4rem 1.5rem;
}

.contact-notice-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff4b91;
  margin-bottom: .45rem;
}

.contact-notice-lead {
  font-size: .88rem;
  color: #5c5870;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-notice-list {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.15rem !important;
}

.contact-notice-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .82rem;
  color: #4d4a62;
  line-height: 1.45;
}

.contact-notice-list i {
  color: #ff4b91;
  font-size: .95rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.contact-trust {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 75, 145, .18);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin-top: 1.15rem;
}

.contact-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe8f2;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-trust p {
  font-size: .8rem;
  color: #5c5870;
  line-height: 1.45;
}

.contact-privacy-section {
  padding: 0 0 2.25rem;
}

.contact-privacy-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #ebeaf2;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 8px 22px rgba(40, 28, 90, .04);
}

.contact-privacy-copy {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  min-width: 0;
  flex: 1 1 280px;
}

.contact-privacy-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffe8f2;
  color: #ff4b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-privacy-copy strong {
  display: block;
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: .15rem;
}

.contact-privacy-copy p {
  font-size: .82rem;
  color: #6b6e82;
  line-height: 1.45;
}

.contact-privacy-btn {
  border: 1.5px solid #ff4b91;
  color: #ff4b91;
  background: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: .55rem 1.2rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-privacy-btn:hover {
  background: rgba(255, 75, 145, .06);
  color: #e0397d;
  border-color: #e0397d;
}

.contact-footer {
  background: #fff;
  border-top: 1px solid #ebeaf2;
  padding: 2.4rem 0 1.25rem;
}

.contact-footer-about {
  font-size: .86rem;
  color: #6b6e82;
  line-height: 1.55;
  max-width: 280px;
  margin-bottom: 1rem;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.contact-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f0fc;
  color: var(--primary);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.contact-social a:hover {
  background: var(--btn-gradient);
  color: #fff;
  transform: translateY(-2px);
}

.contact-footer-heading {
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .85rem;
}

.contact-footer-links {
  display: grid;
  gap: .55rem;
}

.contact-footer-links a {
  font-size: .86rem;
  color: #6b6e82;
  text-decoration: none;
}

.contact-footer-links a:hover,
.contact-footer-links a.is-active {
  color: #ff4b91;
}

.contact-footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid #f0eef6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem;
  font-size: .8rem;
  color: #8a8da0;
}

.contact-footer-made i {
  color: #ff4b91;
  font-size: .72rem;
}

