/*
 * VendorVerse for WooCommerce — Frontend CSS v2.1.0 (Tailwind + FA Design)
 * Developer: susheelhbti@gmail.com | Freelance & Project Basis
 */

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --vv-blue:       #3b82f6;
  --vv-blue-dk:    #1d4ed8;
  --vv-green:      #10b981;
  --vv-purple:     #8b5cf6;
  --vv-orange:     #f59e0b;
  --vv-red:        #ef4444;
  --vv-slate:      #64748b;
  --vv-slate-lt:   #f1f5f9;
  --vv-white:      #ffffff;
  --vv-border:     #e2e8f0;
  --vv-radius-sm:  6px;
  --vv-radius:     12px;
  --vv-radius-lg:  16px;
  --vv-shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --vv-shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --vv-shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --vv-transition: 150ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset scope ─────────────────────────────────────────── */
.vv-scope * { box-sizing: border-box; }
.vv-scope { font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif; color: #1e293b; line-height: 1.6; }
.vv-scope a { text-decoration: none; }

/* ── Utility classes (Tailwind-like) ─────────────────────── */
.vv-flex   { display: flex; }
.vv-grid   { display: grid; }
.vv-hidden { display: none !important; }
.vv-block  { display: block; }

/* ── Page sections ───────────────────────────────────────── */
.vv-section {
  padding: 0;
  margin-bottom: 24px;
}

/* ── Hero welcome card ───────────────────────────────────── */
.vv-welcome-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  border-radius: var(--vv-radius-lg);
  padding: 28px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px -10px rgba(59,130,246,.45);
}
.vv-welcome-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.vv-welcome-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 80px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.vv-welcome-name { font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.vv-welcome-sub  { font-size: .9rem; opacity: .85; margin: 0; }
.vv-welcome-bal  { font-size: 2rem; font-weight: 800; line-height: 1; margin: 0; }
.vv-welcome-bal-label { font-size: .8rem; opacity: .8; margin-top: 2px; }

/* ── Stats grid ──────────────────────────────────────────── */
.vv-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.vv-stat {
  background: var(--vv-white);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--vv-shadow);
  transition: transform var(--vv-transition), box-shadow var(--vv-transition);
  position: relative;
  overflow: hidden;
}
.vv-stat:hover { transform: translateY(-3px); box-shadow: var(--vv-shadow-md); }
.vv-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stat-color, var(--vv-blue));
}
.vv-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  background: color-mix(in srgb, var(--stat-color, var(--vv-blue)) 12%, white);
  color: var(--stat-color, var(--vv-blue));
}
.vv-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--vv-text, #1e293b); margin-bottom: 2px; line-height: 1.2; }
.vv-stat-label { font-size: .72rem; color: var(--vv-slate); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }

/* ── Cards ────────────────────────────────────────────────── */
.vv-card {
  background: var(--vv-white);
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  box-shadow: var(--vv-shadow);
  overflow: hidden;
}
.vv-card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--vv-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vv-card-title {
  font-size: .95rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vv-card-title i { color: var(--vv-blue); }
.vv-card-body { padding: 20px; }

/* ── Grid layouts ─────────────────────────────────────────── */
.vv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vv-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.vv-grid-2-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.vv-grid-3-1 { display: grid; grid-template-columns: 3fr 1fr; gap: 24px; }

/* ── Buttons ──────────────────────────────────────────────── */
.vv-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--vv-radius-sm);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--vv-transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.vv-btn:hover { transform: translateY(-1px); }
.vv-btn:active { transform: translateY(0); }
.vv-btn-primary   { background: var(--vv-blue);   color: #fff; }
.vv-btn-primary:hover   { background: var(--vv-blue-dk); color: #fff; }
.vv-btn-success   { background: var(--vv-green);  color: #fff; }
.vv-btn-success:hover   { background: #059669; color: #fff; }
.vv-btn-danger    { background: var(--vv-red);    color: #fff; }
.vv-btn-danger:hover    { background: #dc2626; color: #fff; }
.vv-btn-outline   { background: transparent; border: 1.5px solid var(--vv-border); color: #475569; }
.vv-btn-outline:hover   { background: var(--vv-slate-lt); border-color: #94a3b8; color: #1e293b; }
.vv-btn-ghost     { background: transparent; color: var(--vv-blue); padding: 6px 10px; }
.vv-btn-ghost:hover     { background: #eff6ff; }
.vv-btn-sm  { padding: 6px 12px; font-size: .8rem; gap: 5px; }
.vv-btn-lg  { padding: 12px 24px; font-size: .95rem; }
.vv-btn-block { width: 100%; justify-content: center; }
.vv-btn:disabled, .vv-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.vv-btn-loading i.fa-spinner { animation: vv-spin 1s linear infinite; }

/* ── Form elements ────────────────────────────────────────── */
.vv-form-group { margin-bottom: 18px; }
.vv-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.vv-input, .vv-select, .vv-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--vv-border);
  border-radius: var(--vv-radius-sm);
  font-size: .9rem;
  color: #1e293b;
  background: #fff;
  transition: border-color var(--vv-transition), box-shadow var(--vv-transition);
  outline: none;
  font-family: inherit;
}
.vv-input:focus, .vv-select:focus, .vv-textarea:focus {
  border-color: var(--vv-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.vv-input.error, .vv-select.error, .vv-textarea.error { border-color: var(--vv-red); }
.vv-textarea { resize: vertical; min-height: 90px; }
.vv-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.vv-field-hint { font-size: .78rem; color: var(--vv-slate); margin-top: 4px; }
.vv-field-error { font-size: .78rem; color: var(--vv-red); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.vv-char-count { font-size: .72rem; color: var(--vv-slate); text-align: right; margin-top: 3px; }

/* ── File input ──────────────────────────────────────────── */
.vv-file-wrap {
  border: 2px dashed var(--vv-border);
  border-radius: var(--vv-radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--vv-transition);
  background: var(--vv-slate-lt);
  position: relative;
}
.vv-file-wrap:hover { border-color: var(--vv-blue); background: #eff6ff; }
.vv-file-wrap input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vv-file-wrap .vv-file-icon { font-size: 1.8rem; color: var(--vv-slate); margin-bottom: 6px; }
.vv-file-wrap .vv-file-label { font-size: .85rem; color: var(--vv-slate); }
.vv-file-preview { margin-top: 10px; max-width: 120px; border-radius: var(--vv-radius-sm); border: 2px solid var(--vv-border); }

/* ── Badges & pills ──────────────────────────────────────── */
.vv-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.vv-badge-blue    { background: #dbeafe; color: #1d4ed8; }
.vv-badge-green   { background: #d1fae5; color: #065f46; }
.vv-badge-yellow  { background: #fef3c7; color: #92400e; }
.vv-badge-red     { background: #fee2e2; color: #991b1b; }
.vv-badge-gray    { background: #f1f5f9; color: #475569; }
.vv-badge-purple  { background: #ede9fe; color: #5b21b6; }

/* ── Alerts / Toasts ─────────────────────────────────────── */
.vv-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--vv-radius-sm);
  font-size: .88rem;
  margin-bottom: 16px;
  animation: vv-fade-in .25s ease;
}
.vv-alert i { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.vv-alert-success { background: #f0fdf4; color: #15803d; border-left: 4px solid var(--vv-green); }
.vv-alert-error   { background: #fff1f2; color: #b91c1c; border-left: 4px solid var(--vv-red); }
.vv-alert-warning { background: #fffbeb; color: #b45309; border-left: 4px solid var(--vv-orange); }
.vv-alert-info    { background: #eff6ff; color: #1d4ed8; border-left: 4px solid var(--vv-blue); }
.vv-alert-close   { margin-left: auto; background: none; border: none; cursor: pointer; opacity: .6; font-size: 1rem; padding: 0; }

/* ── Toast notification (fixed top-right) ─────────────────── */
#vv-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.vv-toast {
  background: #1e293b;
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--vv-radius-sm);
  font-size: .88rem;
  box-shadow: var(--vv-shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: vv-slide-in .25s ease;
}
.vv-toast.success { background: #065f46; }
.vv-toast.error   { background: #991b1b; }
.vv-toast.warning { background: #92400e; }

/* ── Table ────────────────────────────────────────────────── */
.vv-table-wrap { overflow-x: auto; }
.vv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.vv-table thead th {
  background: var(--vv-slate-lt);
  padding: 11px 14px;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vv-slate);
  border-bottom: 1px solid var(--vv-border);
  white-space: nowrap;
}
.vv-table thead th:first-child { border-radius: 6px 0 0 0; }
.vv-table thead th:last-child  { border-radius: 0 6px 0 0; }
.vv-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--vv-border);
  color: #334155;
  vertical-align: middle;
}
.vv-table tbody tr:hover td { background: #f8fafc; }
.vv-table tbody tr:last-child td { border-bottom: none; }
.vv-table .vv-table-check { width: 16px; height: 16px; cursor: pointer; accent-color: var(--vv-blue); }

/* ── Product card (store grid) ────────────────────────────── */
.vv-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.vv-product-card {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  overflow: hidden;
  box-shadow: var(--vv-shadow);
  transition: transform var(--vv-transition), box-shadow var(--vv-transition);
}
.vv-product-card:hover { transform: translateY(-4px); box-shadow: var(--vv-shadow-lg); }
.vv-product-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.vv-product-card-body { padding: 14px; }
.vv-product-card-title { font-size: .9rem; font-weight: 600; color: #1e293b; margin: 0 0 6px; }
.vv-product-card-price { font-size: 1.05rem; font-weight: 700; color: var(--vv-blue); }
.vv-product-img-placeholder { width: 100%; height: 160px; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #94a3b8; }

/* ── Product list table rows ──────────────────────────────── */
.vv-product-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--vv-border); }
.vv-product-thumb-placeholder { width: 48px; height: 48px; background: #f1f5f9; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 1.2rem; }

/* ── Stars ────────────────────────────────────────────────── */
.vv-stars { display: inline-flex; gap: 2px; color: #d1d5db; }
.vv-stars .filled { color: #f59e0b; }
.vv-star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.vv-star-input input { display: none; }
.vv-star-input label { cursor: pointer; font-size: 1.8rem; color: #d1d5db; transition: color var(--vv-transition); }
.vv-star-input input:checked ~ label, .vv-star-input label:hover, .vv-star-input label:hover ~ label { color: #f59e0b; }

/* ── Review cards ─────────────────────────────────────────── */
.vv-review-card {
  background: #fff;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--vv-shadow);
}
.vv-review-reply {
  background: #f8fafc;
  border-left: 3px solid var(--vv-blue);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: .85rem;
  color: #475569;
}

/* ── Messages / Chat ──────────────────────────────────────── */
.vv-chat-layout { display: flex; height: 520px; border: 1px solid var(--vv-border); border-radius: var(--vv-radius); overflow: hidden; background: #fff; box-shadow: var(--vv-shadow); }
.vv-chat-sidebar { width: 280px; border-right: 1px solid var(--vv-border); display: flex; flex-direction: column; flex-shrink: 0; background: #f8fafc; }
.vv-chat-sidebar-header { padding: 16px; border-bottom: 1px solid var(--vv-border); font-weight: 600; font-size: .9rem; }
.vv-chat-conversations { overflow-y: auto; flex: 1; }
.vv-conv-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; transition: background var(--vv-transition); border-bottom: 1px solid var(--vv-border); text-decoration: none; color: inherit; }
.vv-conv-item:hover { background: #eff6ff; }
.vv-conv-item.active { background: #dbeafe; border-left: 3px solid var(--vv-blue); }
.vv-conv-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--vv-blue), var(--vv-purple)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.vv-conv-name { font-size: .88rem; font-weight: 600; color: #1e293b; }
.vv-conv-time { font-size: .72rem; color: var(--vv-slate); }
.vv-unread-badge { background: var(--vv-blue); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; margin-left: auto; }

.vv-chat-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.vv-chat-header { padding: 14px 18px; border-bottom: 1px solid var(--vv-border); display: flex; align-items: center; gap: 12px; background: #fff; }
.vv-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.vv-msg-row { display: flex; }
.vv-msg-row.mine  { justify-content: flex-end; }
.vv-msg-row.other { justify-content: flex-start; }
.vv-msg-bubble {
  max-width: 68%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .875rem;
  line-height: 1.5;
}
.vv-msg-row.mine  .vv-msg-bubble { background: var(--vv-blue); color: #fff; border-bottom-right-radius: 4px; }
.vv-msg-row.other .vv-msg-bubble { background: #fff; color: #1e293b; border: 1px solid var(--vv-border); border-bottom-left-radius: 4px; }
.vv-msg-time { font-size: .68rem; opacity: .65; margin-top: 3px; text-align: right; }
.vv-chat-input-wrap { padding: 14px; border-top: 1px solid var(--vv-border); background: #fff; display: flex; gap: 10px; }
.vv-chat-input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--vv-border); border-radius: 24px; font-size: .88rem; outline: none; resize: none; font-family: inherit; transition: border-color var(--vv-transition); }
.vv-chat-input:focus { border-color: var(--vv-blue); }
.vv-chat-send { width: 42px; height: 42px; background: var(--vv-blue); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--vv-transition); }
.vv-chat-send:hover { background: var(--vv-blue-dk); }

/* ── Withdrawal / balance display ─────────────────────────── */
.vv-balance-hero {
  background: linear-gradient(135deg, #065f46, #10b981);
  color: #fff;
  border-radius: var(--vv-radius);
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 12px 30px -8px rgba(16,185,129,.4);
  margin-bottom: 20px;
}
.vv-balance-amount { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.vv-balance-label  { font-size: .85rem; opacity: .85; margin-top: 4px; }
.vv-balance-min    { font-size: .78rem; background: rgba(255,255,255,.2); border-radius: 20px; padding: 3px 12px; display: inline-block; margin-top: 8px; }

/* ── Store / vendor page ──────────────────────────────────── */
.vv-store-banner { height: 220px; border-radius: var(--vv-radius-lg) var(--vv-radius-lg) 0 0; background: linear-gradient(135deg, #1e3a8a, #3b82f6); position: relative; overflow: hidden; }
.vv-store-banner img { width: 100%; height: 100%; object-fit: cover; }
.vv-store-avatar { width: 88px; height: 88px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; box-shadow: var(--vv-shadow-md); position: absolute; bottom: -44px; left: 28px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--vv-blue); overflow: hidden; }
.vv-store-info { padding: 56px 28px 24px; }
.vv-store-name { font-size: 1.4rem; font-weight: 700; color: #1e293b; }
.vv-store-bio  { color: var(--vv-slate); font-size: .9rem; margin-top: 4px; }
.vv-follow-btn { transition: all var(--vv-transition); }
.vv-follow-btn.following { background: var(--vv-slate-lt) !important; color: #64748b !important; }

/* ── Tab nav ──────────────────────────────────────────────── */
.vv-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--vv-border); margin-bottom: 20px; }
.vv-tab {
  padding: 10px 18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--vv-slate);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--vv-transition);
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.vv-tab:hover { color: var(--vv-blue); }
.vv-tab.active { color: var(--vv-blue); border-bottom-color: var(--vv-blue); font-weight: 600; }

/* ── Quick action buttons ─────────────────────────────────── */
.vv-quick-actions { display: flex; flex-direction: column; gap: 8px; }
.vv-quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--vv-slate-lt);
  border-radius: var(--vv-radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all var(--vv-transition);
  border: 1px solid transparent;
}
.vv-quick-action:hover { background: #eff6ff; border-color: #bfdbfe; color: var(--vv-blue-dk); }
.vv-quick-action i { width: 20px; text-align: center; color: var(--vv-blue); }

/* ── Plan cards ───────────────────────────────────────────── */
.vv-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.vv-plan-card {
  background: #fff;
  border: 2px solid var(--vv-border);
  border-radius: var(--vv-radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all var(--vv-transition);
}
.vv-plan-card.featured { border-color: var(--vv-blue); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.vv-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--vv-blue); color: #fff; padding: 3px 16px; border-radius: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.vv-plan-name  { font-weight: 700; font-size: .95rem; color: var(--vv-slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.vv-plan-price { font-size: 2.4rem; font-weight: 800; color: #1e293b; }
.vv-plan-price span { font-size: .9rem; font-weight: 500; color: var(--vv-slate); }
.vv-plan-features { list-style: none; padding: 0; margin: 16px 0; text-align: left; }
.vv-plan-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .875rem; border-bottom: 1px solid var(--vv-slate-lt); }
.vv-plan-features li:last-child { border: none; }
.vv-plan-features .yes { color: var(--vv-green); }
.vv-plan-features .no  { color: #94a3b8; }

/* ── Chart period selector ────────────────────────────────── */
.vv-chart-period { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.vv-chart-period-btn {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--vv-border);
  background: #fff;
  color: var(--vv-slate);
  transition: all var(--vv-transition);
}
.vv-chart-period-btn:hover, .vv-chart-period-btn.active { background: var(--vv-blue); color: #fff; border-color: var(--vv-blue); }

/* ── Dev credit card ──────────────────────────────────────── */
.vv-dev-banner {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #e2e8f0;
  border-radius: var(--vv-radius-sm);
  padding: 14px 18px;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.vv-dev-banner i { font-size: 1.5rem; color: #38bdf8; flex-shrink: 0; }
.vv-dev-banner a { color: #38bdf8; font-weight: 600; }

/* ── Skeleton loading ─────────────────────────────────────── */
.vv-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: vv-skeleton 1.4s ease infinite;
  border-radius: 4px;
}
.vv-skeleton-text { height: 14px; border-radius: 4px; margin-bottom: 8px; }
.vv-skeleton-card { height: 120px; border-radius: var(--vv-radius); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes vv-fade-in  { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes vv-slide-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes vv-skeleton { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes vv-spin     { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes vv-pop      { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .vv-welcome-card  { padding: 20px; }
  .vv-welcome-name  { font-size: 1.2rem; }
  .vv-welcome-bal   { font-size: 1.5rem; }
  .vv-stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .vv-grid-2, .vv-grid-3, .vv-grid-2-3, .vv-grid-3-1 { grid-template-columns: 1fr; }
  .vv-chat-layout   { flex-direction: column; height: auto; }
  .vv-chat-sidebar  { width: 100%; max-height: 200px; }
  .vv-chat-messages { height: 300px; }
  .vv-product-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vv-plan-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vv-stats-grid { grid-template-columns: 1fr 1fr; }
  .vv-card-body  { padding: 14px; }
}
