/* =========================================================
   DRAVOLIN (dravolin.site) - EMERALD & CLEAN LIGHT THEME
   ========================================================= */
:root {
  --emerald-950: #022c22;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --bg-page:     #f3f6f4;
  --bg-card:     #ffffff;
  --text-main:   #0f172a;
  --text-muted:  #475569;
  --text-light:  #94a3b8;
  --border-soft: #e2e8f0;
  --border-emerald: rgba(5, 150, 105, 0.22);

  --shadow-xs:   0 1px 2px rgba(6, 78, 59, 0.05);
  --shadow-sm:   0 4px 12px rgba(6, 78, 59, 0.06);
  --shadow-md:   0 10px 25px -5px rgba(6, 78, 59, 0.12);
  --shadow-lg:   0 20px 35px -10px rgba(2, 44, 34, 0.22);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  --font-head:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================
   HEADER & LIVE TICKER BAR
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emerald-900);
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-text-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-text-link:hover,
.nav-text-link.active {
  color: var(--emerald-600);
}

/* Live Stream Ticker */
.live-ticker-bar {
  background: linear-gradient(90deg, var(--emerald-950) 0%, var(--emerald-900) 50%, var(--emerald-950) 100%);
  color: #ffffff;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.live-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.live-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a7f3d0;
}

.live-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.live-marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px 2px 3px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: #ecfdf5;
}

.marquee-avatar-chip img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #34d399;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.live-counter-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #d1fae5;
  flex-shrink: 0;
}

.live-counter-box strong {
  color: #ffffff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-md {
  padding: 11px 22px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.btn-emerald-solid {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-800) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}

.btn-emerald-solid:hover {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-700) 100%);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.36);
}

.btn-outline-emerald {
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1.5px solid var(--emerald-600);
}

.btn-outline-emerald:hover {
  background: var(--emerald-100);
}

.btn-white-emerald {
  background: #ffffff;
  color: var(--emerald-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-white-emerald:hover {
  background: var(--emerald-50);
}

/* =========================================================
   MAIN CONTAINER & DASHBOARD OVERVIEW
   ========================================================= */
.main-container {
  flex: 1;
  padding: 20px 0 80px;
}

.wallet-compact-wrap {
  margin-bottom: 18px;
}

/* Compact Digital Emerald Wallet Card */
.wallet-card.wallet-compact {
  background: linear-gradient(135deg, var(--emerald-950) 0%, var(--emerald-800) 65%, var(--emerald-700) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wallet-card.wallet-compact::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.wallet-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wallet-left-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wallet-balance-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-block .label {
  font-size: 0.72rem;
  color: #d1fae5;
  display: block;
  line-height: 1.1;
}

.balance-block .amount {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.eye-toggle-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.eye-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.wallet-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.minutes-badge {
  background: rgba(2, 44, 34, 0.45);
  border: 1px solid rgba(167, 243, 208, 0.25);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  text-align: right;
}

.minutes-badge span {
  display: block;
  font-size: 0.65rem;
  color: #a7f3d0;
  line-height: 1.1;
}

.minutes-badge strong {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: #ffffff;
}

/* Rate & Pagination Control Card */
.rate-control-card {
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.rate-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  width: fit-content;
}

.rate-highlight h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 6px 0 4px;
}

.rate-highlight h2 span {
  color: var(--emerald-600);
}

.rate-highlight p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.page-info-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--emerald-600);
  color: var(--emerald-700);
}

.page-btn.active {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  color: #ffffff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================================================
   SECTION HEADER & PARTNERS GRID
   ========================================================= */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.partner-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.avatar-wrap img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-100);
  background: var(--emerald-50);
}

.online-indicator {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.partner-meta {
  min-width: 0;
}

.partner-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.partner-details {
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-col span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.detail-col strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-800);
}

.detail-col.right {
  text-align: right;
}

.detail-col.right strong {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.8rem;
}

.bottom-pagination-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   CHAT PAGE (SIMULATED LIVE CONVERSATION)
   ========================================================= */
.chat-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
  min-height: 480px;
}

.chat-topbar {
  background: var(--emerald-900);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-icon-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #34d399;
}

.chat-user-text h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-user-text span {
  font-size: 0.75rem;
  color: #a7f3d0;
}

.chat-rate-tag {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(167, 243, 208, 0.35);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #ecfdf5;
}

.chat-messages-area {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  background-color: #f0f5f2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-system-notice {
  align-self: center;
  background: #ffffff;
  border: 1px solid var(--border-emerald);
  color: var(--emerald-900);
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.msg-bubble {
  max-width: 80%;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  position: relative;
  animation: fadeInUp 0.25s ease;
}

.msg-partner {
  align-self: flex-start;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-xs);
}

.msg-time {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 5px;
  text-align: right;
}

.typing-bubble {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  padding: 10px 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-600);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-bar {
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-bar input {
  flex: 1;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 11px 16px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-bar input:focus {
  border-color: var(--emerald-600);
}

.send-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-600);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.send-circle-btn:hover {
  background: var(--emerald-700);
}

/* =========================================================
   LOGIN, ABOUT & CONTACT PAGES
   ========================================================= */
.auth-card-box {
  max-width: 440px;
  margin: 24px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-header h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--emerald-600);
}

.toggle-pass-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.alert-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}

.auth-divider {
  text-align: center;
  margin: 18px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.content-page-card {
  max-width: 820px;
  margin: 12px auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.content-page-card h1 {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--emerald-900);
  margin-bottom: 12px;
}

.content-page-card p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.feature-mini-card {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  padding: 16px;
}

.feature-mini-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--emerald-900);
  margin-bottom: 6px;
}

.feature-mini-card p {
  font-size: 0.84rem;
  margin-bottom: 0;
}

/* =========================================================
   FLOATING DOCK & MODALS
   ========================================================= */
.floating-dock {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  border: none;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}

.fab-pill:hover {
  transform: translateY(-2px);
}

.fab-support {
  background: var(--emerald-800);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.fab-install {
  background: #ffffff;
  color: var(--emerald-900);
  border: 1.5px solid var(--emerald-600);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 44, 34, 0.62);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 410px;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--bg-page);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emerald-soft {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
}

.modal-card h3 {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.support-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: border-color 0.2s, background 0.2s;
}

.support-item-btn:hover {
  border-color: var(--emerald-600);
  background: var(--emerald-50);
}

.whatsapp-item {
  background: var(--emerald-50);
  border-color: var(--emerald-500);
  color: var(--emerald-900);
}

.install-steps {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--emerald-950);
  color: #d1fae5;
  padding-top: 38px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-desc {
  font-size: 0.85rem;
  color: #a7f3d0;
  max-width: 360px;
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-links-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
  font-size: 0.78rem;
  color: #6ee7b7;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .partner-card {
    padding: 12px;
    gap: 10px;
  }
  .partner-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .avatar-wrap, .avatar-wrap img {
    width: 46px;
    height: 46px;
  }
  .partner-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 10px;
  }
  .detail-col.right {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hide-xs {
    display: none;
  }
  .brand-logo {
    height: 30px;
  }
  .balance-block .amount {
    font-size: 1.45rem;
  }
  .floating-dock {
    bottom: 12px;
    right: 12px;
  }
  .fab-pill {
    padding: 9px 14px;
    font-size: 0.78rem;
  }
}


@media (max-width: 540px) {
  .main-container {
    padding: 14px 0 76px;
  }
  .wallet-card.wallet-compact {
    padding: 11px 14px;
  }
  .wallet-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .balance-block .amount {
    font-size: 1.22rem;
  }
  .wallet-right-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .minutes-badge {
    padding: 3px 8px;
  }
  .minutes-badge span {
    display: none;
  }
  .minutes-badge strong {
    font-size: 0.76rem;
  }
  .wallet-right-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

/* =========================================================
   V4 ADDITIONS: CUSTOMER ASSISTANCE (WITH WHATSAPP ICON) & ICONS
   ========================================================= */
.nav-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chat-system-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Eye icon button inside password input */
.toggle-pass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.toggle-pass-btn:hover {
  color: var(--emerald-700);
}

.input-with-icon .form-control {
  padding-right: 42px;
}

/* Feature icon box on About page */
.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--emerald-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Support modal row label alignment */
.support-item-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Footer icon links */
.footer-icon-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1fae5;
  transition: color 0.2s, transform 0.2s;
}

.footer-icon-list a:hover {
  color: #ffffff;
  transform: translateX(2px);
  text-decoration: none;
}

/* Floating Dock: Only 2 items (Download Dravolin App + customer assistance with WhatsApp icon) */
.floating-dock {
  bottom: 20px;
  right: 22px;
  align-items: flex-end;
  gap: 10px;
}

.fab-pill.fab-assistance {
  background: #1ed760 !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 0 18px rgba(30, 215, 96, 0.55), 0 6px 16px rgba(0, 0, 0, 0.22);
}

.fab-pill.fab-assistance:hover {
  background: #18c456 !important;
  box-shadow: 0 0 24px rgba(30, 215, 96, 0.78), 0 8px 20px rgba(0, 0, 0, 0.28);
}

.fab-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
