/* Global styles for dashboard and other pages - shared across all page content */

:root {
  --vp-orange: #FF9C24;
  --vp-orange-dark: #e88a10;
  --vp-blue: #5BB2FF;
  --vp-blue-dark: #0087FF;
  --vp-page-bg: #f4f5f7;
  --vp-card-bg: #ffffff;
  --vp-sidebar-bg: #ffffff;
  --vp-sidebar-card-blue: #E0EEF9;
  --vp-avatar-border: rgba(0, 0, 0, 0.06);
  --vp-edit-icon-blue: #007AFF;
  --vp-sidebar-text: #4B5563;
  --vp-sidebar-muted: #6b7280;
  --vp-sidebar-hover: #f3f4f6;
  --vp-sidebar-active: #1a3e75;
  --vp-sidebar-separator: #D3DCE6;
  --vp-pro-card-bg: #f8f9fa;
  --vp-border: #e5e7eb;
  --vp-text: #4B5563;
  --vp-text-muted: #6b7280;
  --vp-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Layout: navbar + sidebar (shared) */
* {
  box-sizing: border-box;
}

html,
body {
  font-family: var(--vp-font);
}

body,
body *,
input,
button,
select,
textarea,
.vp-header,
.vp-main,
.vp-sidebar {
  font-family: var(--vp-font);
}

body {
  background: var(--vp-page-bg);
  color: var(--vp-text);
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html {
  height: 100%;
}

.vp-notification-flash {
  flex-shrink: 0;
}

.vp-header {
  background: var(--vp-card-bg);
  border-bottom: 1px solid var(--vp-border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}
.vp-header-row1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}
.vp-header-row1 .vp-header-icons-row {
  display: none;
}
.vp-header-row2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.vp-header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: #374151;
}
.vp-header-menu-btn:hover {
  background: var(--vp-sidebar-hover);
}
.vp-header-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.vp-header-menu-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.vp-header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vp-header-logo img {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.vp-header-logo:hover {
  opacity: 0.9;
}

.vp-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--vp-blue-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  /* font-weight: 600; */
  text-decoration: none;
  cursor: pointer;
  font-family: var(--vp-font);
  transition: background 0.2s;
}

.vp-btn-primary:hover {
  background: #0066cc;
  color: #fff;
}

.vp-btn-primary.vp-btn-enter-competition {
  background: #1f4377;
  border-radius: 10px;
}

.vp-btn-primary.vp-btn-enter-competition:hover {
  background: #183566;
  color: #fff;
}

.vp-btn-primary img.vp-icon-sm {
  width: 18px;
  height: 18px;
}

.vp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vp-card-bg);
  border: 1px solid var(--vp-border);
  color: var(--vp-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.vp-icon-btn:hover {
  background: var(--vp-page-bg);
  color: var(--vp-text);
}

.vp-icon-btn img {
  width: 20px;
  height: 20px;
}

.vp-icon-btn-notify {
  position: relative;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.25rem;
  border: none;
  background: transparent;
  border-radius: 0;
}

.vp-icon-btn-notify:hover {
  background: transparent;
}

.vp-icon-btn-notify img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(50%);
}

.vp-notify-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  background: #1f4377;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vp-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}

.vp-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vp-avatar-circle:hover {
  opacity: 0.9;
}

.vp-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  height: auto;
}

.vp-sidebar {
  width: 280px;
  height: 100%;
  background: var(--vp-sidebar-bg);
  color: var(--vp-sidebar-text);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--vp-border);
  border-radius: 0 0 16px 0;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.06);
}

.vp-sidebar-inner {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.vp-sidebar-nav {
  padding: 0;
  flex: none;
}

.vp-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  color: var(--vp-sidebar-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.vp-sidebar-nav a:hover {
  background: var(--vp-sidebar-hover);
  color: var(--vp-sidebar-text);
}

.vp-sidebar-nav a.active {
  background: var(--vp-sidebar-active);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}

.vp-sidebar-nav a.active .vp-nav-icon {
  filter: brightness(0) invert(1);
}

.vp-nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.vp-sidebar-separator {
  border: none;
  border-bottom: 1px dashed var(--vp-sidebar-separator);
  margin: 0.75rem 0 1rem 0;
}

.vp-sidebar-pro-card {
  background: var(--vp-pro-card-bg);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 0;
}

.vp-sidebar-pro-card .vp-pro-status-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vp-sidebar-active);
  text-transform: uppercase;
  margin: 0 0 0.35rem 0;
}

.vp-sidebar-pro-card .vp-pro-status-desc {
  font-size: 0.8125rem;
  color: var(--vp-sidebar-muted);
  line-height: 1.4;
  margin: 0;
}

.vp-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.vp-content {
  padding: 1.5rem;
  flex: 1;
  min-height: 0;
}

/* Dashboard page */
.vp-dashboard-page {
  background: #F8F9FA;
  min-height: 100%;
}

.vp-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-dashboard-greeting h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vp-text);
  margin: 0 0 0.25rem 0;
  color: #2D2D2D;
}

.vp-dashboard-greeting p {
  font-size: 0.9375rem;
  color: var(--vp-text-muted);
  margin: 0;
  color: #6A7282;
}

.vp-dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vp-dashboard-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--vp-text);
  border: 1px solid var(--vp-border);
  border-radius: 10px;
  font-size: 0.875rem;
  /* font-weight: 600; */
  text-decoration: none;
  cursor: pointer;
  font-family: var(--vp-font);
  transition: background 0.2s, border-color 0.2s;
  color: #2D2D2D;
}

.vp-dashboard-btn-secondary:hover {
  background: var(--vp-sidebar-hover);
  border-color: var(--vp-sidebar-muted);
  color: var(--vp-text);
}

.vp-dashboard-btn-secondary img {
  width: 18px;
  height: 18px;
}

.vp-dashboard-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #1f4377;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  /* font-weight: 600; */
  text-decoration: none;
  cursor: pointer;
  font-family: var(--vp-font);
  transition: background 0.2s;
}

.vp-dashboard-btn-primary:hover {
  background: #183566;
  color: #fff;
}

.vp-dashboard-btn-primary img {
  width: 18px;
  height: 18px;
}

.vp-dashboard-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.vp-dash-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.vp-dash-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vp-text);
  margin: 0 0 0.25rem 0;
  color: #2D2D2D;
}

.vp-dash-card .vp-dash-card-sub {
  font-size: 0.75rem;
  color: var(--vp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 1rem 0;
  color: #99A1AF;
}

/* Submission Impact - donut */
.vp-donut-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.vp-donut-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.vp-dash-stats {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
  font-size: 0.8125rem;
  color: var(--vp-text);
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.vp-dash-stats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  color: #6A7282;
}

.vp-dash-stats li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vp-sidebar-active);
}

/* Monthly Earnings */
.vp-dash-earnings-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--vp-text);
  margin: 0 0 0.25rem 0;
  color: #2D2D2D;
  margin-top: 1rem;
}

.vp-dash-earnings-meta {
  font-size: 0.8125rem;
  color: var(--vp-text-muted);
  margin: 0 0 1rem 0;
  color: #6A7282;
}

.vp-dash-chart-wrap {
  height: 120px;
  margin-top: auto;
}

.vp-dash-chart-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Notifications */
.vp-dash-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.vp-dash-notif-head h3 {
  margin: 0;
}

.vp-dash-notif-mark {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--vp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--vp-font);
}

.vp-dash-notif-mark:hover {
  color: var(--vp-text);
}

.vp-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vp-notif-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  align-items: flex-start;
  background: #F9FAFB;
  border-radius: 10px;
}

.vp-notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--vp-sidebar-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #E8EDF4;
}

.vp-notif-icon img {
  width: 22px;
  height: 22px;
}

.vp-notif-body {
  flex: 1;
  min-width: 0;
}

.vp-notif-body .vp-notif-title {
  font-size: 0.9375rem;
  /* font-weight: bold; */
  color: var(--vp-text);
  margin: 0 0 0.2rem 0;
  color: #2D2D2D;
}

.vp-notif-body .vp-notif-desc {
  font-size: 0.8125rem;
  color: var(--vp-text-muted);
  margin: 0;
  color: #6A7282;
  font-style: italic;
}

.vp-notif-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1f4377;
  text-decoration: none;
  flex-shrink: 0;
}

.vp-notif-link:hover {
  text-decoration: underline;
}

.vp-dash-view-all {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--vp-sidebar-hover);
  color: var(--vp-text);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--vp-font);
  text-align: center;
  color: #6A7282;
  background: #FFFFFF;
}

.vp-dash-view-all:hover {
  background: #e5e7eb;
}

/* Section 2: Active Competitions + Quick Summary */
.vp-dashboard-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.vp-card-ac-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vp-card-ac-head h3 {
  margin: 0;
}

.vp-card-ac-sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--vp-text-muted);
}

.vp-card-ac-head h3::after {
  content: " | ";
  color: var(--vp-text-muted);
  font-weight: 400;
}

.vp-comp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vp-comp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--vp-border);
}

.vp-comp-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.vp-comp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vp-comp-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: #fff;
  color: #1F4377;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
}

.vp-comp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  gap: 0.5rem;
}

.vp-comp-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0 0 0.15rem 0;
}

.vp-comp-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1F4377;
  margin: 0;
  font-weight: 700;
}

.vp-comp-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1f4377;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s;
}

.vp-comp-btn:hover {
  background: #183566;
  color: #fff;
}

.vp-comp-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.vp-browse-all {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid var(--vp-border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vp-text);
  cursor: pointer;
  font-family: var(--vp-font);
  transition: background 0.2s, border-color 0.2s;
  color: #6A7282;
}

.vp-browse-all:hover {
  background: var(--vp-sidebar-hover);
  border-color: var(--vp-sidebar-muted);
}

.vp-card-quick-summary {
  min-height: 0;
  flex: 1;
}

.vp-qs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.vp-qs-head h3 {
  margin: 0;
  color: #2D2D2D;
}

.vp-qs-sub {
  font-size: 0.875rem;
  /* font-weight: 700; */
  color: #99A1AF;
}

.vp-qs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.75rem 1rem;
  flex: 1;
  min-height: 0;
}

.vp-qs-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  min-height: 0;
}

.vp-qs-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D2D2D;
}

.vp-qs-label {
  font-size: 0.75rem;
  color: #6A7282;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Section 3: AI Analysis + Recent Submissions */
.vp-dashboard-row-3 {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem; 
  padding-bottom: 1.5rem;
}

.vp-card-ai-analysis,
.vp-card-recent-submissions {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-width: 0;
}

.vp-ai-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vp-ai-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0;
}

.vp-ai-sub {
  font-size: 0.9375rem;
  color: #99A1AF;
  font-weight: 400;
}

.vp-ai-head h3::after {
  content: " | ";
  margin-left: 0.25rem;
  color: #99A1AF;
  font-weight: 400;
}

.vp-ai-tags {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vp-ai-tag {
  background: rgba(31, 67, 119, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.vp-ai-tag-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1F4377;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.vp-ai-tag-text {
  font-size: 0.875rem;
  color: #2D2D2D;
  margin: 0;
  line-height: 1.4;
}

.vp-ai-view-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(31, 67, 119, 0.12);
  color: #1F4377;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--vp-font);
}

.vp-ai-view-btn:hover {
  background: rgba(31, 67, 119, 0.2);
  color: #1F4377;
}

/* Recent Submissions Status */
.vp-rs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.vp-rs-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0;
}

.vp-rs-link {
  font-size: 0.8125rem;
  color: #1F4377;
  font-weight: 500;
  text-decoration: none;
}

.vp-rs-link:hover {
  text-decoration: underline;
}

.vp-rs-table-wrap {
  overflow-x: auto;
}

.vp-rs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.vp-rs-table thead tr {
  background: #F9FAFB;
}

.vp-rs-table th {
  text-align: left;
  font-weight: 600;
  color: #6A7282;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem 0.75rem 0;
  font-family: var(--vp-font);
}

.vp-rs-table td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  color: #2D2D2D;
  vertical-align: middle;
}

.vp-rs-photo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #2D2D2D;
}

.vp-rs-photo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #F3F4F6;
  border-radius: 6px;
  flex-shrink: 0;
}

.vp-rs-photo-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.vp-rs-status {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid currentColor;
}

.vp-rs-status-blue {
  border-color: #1F4377;
  color: #1F4377;
}

.vp-rs-status-under-review {
  border-color: #2D2D2D;
  color: #2D2D2D;
}

.vp-rs-status-pending {
  border-color: #E5E7EB;
  color: #666666;
}

.vp-rs-impact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  font-weight: 600;
  color: #2D2D2D;
}

.vp-rs-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vp-rs-actions img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  cursor: pointer;
}

.vp-rs-actions img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .vp-rs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vp-rs-table {
    min-width: 520px;
  }
  .vp-rs-table th,
  .vp-rs-table td {
    white-space: nowrap;
    padding: 0.6rem 0.5rem 0.6rem 0;
  }
  .vp-rs-status {
    white-space: nowrap;
  }
}

@media (max-width: 992px) {
  .vp-dashboard-cols {
    grid-template-columns: 1fr;
  }

  .vp-dashboard-row-2 {
    grid-template-columns: 1fr;
  }

  .vp-dashboard-row-3 {
    grid-template-columns: 1fr;
  }

  .vp-qs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vp-comp-cards {
    grid-template-columns: 1fr;
  }

  .vp-qs-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 0.75rem 1rem;
  }
  .vp-qs-cell {
    padding: 0.4rem 0;
  }
  .vp-qs-value {
    font-size: 1.1rem;
  }
  .vp-qs-label {
    font-size: 0.65rem;
  }
}

.vp-sidebar-overlay {
  display: none;
}

.vp-sidebar-toggle {
  display: none;
}

@media (max-width: 992px) {
  .vp-sidebar {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .vp-header {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .vp-header-row1 {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 0.5rem;
    order: 0;
  }
  .vp-header-row1 .vp-header-logo {
    flex: 1;
    min-width: 0;
  }
  .vp-header-row1 .vp-header-logo img {
    max-width: 140px;
    height: 40px;
    object-fit: contain;
  }
  .vp-header-row1 .vp-header-icons-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .vp-header-row2 {
    flex: 1 1 100%;
    justify-content: flex-end;
    order: 1;
  }
  .vp-header-row2 .vp-header-icons-desk {
    display: none !important;
  }
  .vp-header-menu-btn {
    display: flex;
    flex-shrink: 0;
  }
  .vp-sidebar-toggle {
    display: none;
  }
  .vp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .vp-sidebar.open {
    transform: translateX(0);
  }

  .vp-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    cursor: pointer;
  }

  body.vp-sidebar-open .vp-sidebar-overlay {
    display: block;
  }

  .vp-sidebar-toggle {
    display: flex;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vp-blue);
    color: #fff;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(91, 178, 255, 0.4);
  }

  .vp-sidebar-toggle img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
  }
}

/* Dashboard bar (page title strip) */
.vp-dashboard-bar {
  background: rgba(91, 178, 255, 0.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.vp-dash-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vp-text);
  margin: 0 0 0.25rem 0;
  display: block;
}

.vp-dash-subtitle {
  font-size: 0.9375rem;
  color: var(--vp-text-muted);
  margin: 0;
}

.vp-dashboard-bar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vp-dashboard-bar-user .vp-user-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vp-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.vp-dashboard-bar-user .vp-user-circle img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.vp-dashboard-bar-user .vp-user-label {
  font-size: 0.8125rem;
  color: var(--vp-text-muted);
}

/* Welcome box */
.vp-welcome-box {
  background: var(--vp-blue);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.vp-welcome-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vp-welcome-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.vp-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: #facc15;
  color: #4B5563;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.vp-pro-badge img {
  width: 14px;
  height: 14px;
}

.vp-welcome-msg {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.5rem;
  width: 100%;
}

.vp-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.vp-btn-welcome {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--vp-blue);
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--vp-font);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.vp-btn-welcome:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--vp-blue-dark);
}

.vp-btn-welcome img {
  width: 18px;
  height: 18px;
}

/* KPI cards */
.vp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-kpi-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vp-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.vp-kpi-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--vp-text-muted);
}

.vp-kpi-icon-wrap {
  font-size: 1.125rem;
  line-height: 1;
}

.vp-kpi-icon-wrap img {
  width: 22px;
  height: 22px;
}

.vp-kpi-card.primary {
  background: var(--vp-blue);
  border-color: var(--vp-blue);
}

.vp-kpi-card.primary .vp-kpi-label {
  color: rgba(255, 255, 255, 0.85);
}

.vp-kpi-card.primary .vp-kpi-value {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.vp-kpi-card.primary .vp-kpi-icon-wrap img {
  filter: brightness(0) invert(1);
}

.vp-kpi-card.primary .vp-kpi-meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.vp-kpi-card.primary .vp-kpi-meta .vp-kpi-meta-sub {
  color: rgba(255, 255, 255, 0.7);
}

.vp-kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vp-text);
}

.vp-kpi-meta {
  font-size: 0.75rem;
  color: var(--vp-text-muted);
  margin-top: 0.5rem;
}

.vp-kpi-meta .vp-kpi-meta-accent {
  font-weight: 600;
}

.vp-kpi-meta .vp-kpi-meta-accent.green {
  color: #059669;
}

.vp-kpi-meta .vp-kpi-meta-accent.orange {
  color: var(--vp-orange);
}

.vp-kpi-meta .vp-kpi-meta-accent.purple {
  color: #7c3aed;
}

.vp-kpi-meta .vp-kpi-meta-sub {
  color: var(--vp-text-muted);
}

/* Quick actions */
.vp-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-quick-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.vp-quick-card:hover {
  border-color: var(--vp-blue);
  box-shadow: 0 4px 12px rgba(91, 178, 255, 0.25);
}

.vp-quick-card .vp-quick-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.5rem;
  display: block;
  color: var(--vp-blue);
  filter: brightness(0) saturate(100%) invert(65%) sepia(60%) saturate(2000%) hue-rotate(190deg);
}

.vp-quick-card span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--vp-text);
}

/* Chart cards */
.vp-charts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-chart-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vp-chart-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.vp-chart-card .vp-chart-meta {
  font-size: 0.75rem;
  color: var(--vp-text-muted);
  margin-bottom: 0.75rem;
}

.vp-chart-card .vp-chart-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--vp-text);
  margin-bottom: 0.75rem;
}

.vp-chart-placeholder {
  height: 100px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
  border-radius: 8px;
  position: relative;
}

.vp-chart-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Revenue section */
.vp-revenue-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vp-revenue-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.vp-revenue-card .vp-chart-meta {
  font-size: 0.8125rem;
  color: var(--vp-text-muted);
  margin-bottom: 1rem;
}

.vp-revenue-chart {
  height: 180px;
  position: relative;
}

/* Category distribution */
.vp-cat-grid {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vp-donut-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.vp-cat-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.vp-cat-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.vp-cat-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vp-cat-mini-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

.vp-cat-mini {
  padding: 0.5rem 0.75rem;
  background: var(--vp-page-bg);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.vp-cat-mini.blue {
  background: rgba(91, 178, 255, 0.2);
}

.vp-cat-mini.orange {
  background: rgba(255, 170, 76, 0.2);
}

.vp-cat-mini img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

/* Listings & Inquiries */
.vp-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vp-list-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vp-list-card .vp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.vp-list-card .vp-card-head h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.vp-list-card .vp-card-head .vp-link {
  font-size: 0.8125rem;
  color: var(--vp-blue);
  font-weight: 500;
  text-decoration: none;
}

.vp-list-card .vp-card-head .vp-link:hover {
  text-decoration: underline;
}

.vp-list-card .vp-card-sub {
  font-size: 0.75rem;
  color: var(--vp-text-muted);
  margin-top: 0.15rem;
}

.vp-listing-item,
.vp-inquiry-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--vp-border);
}

.vp-listing-item:last-child,
.vp-inquiry-item:last-child {
  border-bottom: none;
}

.vp-listing-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--vp-page-bg);
  object-fit: contain;
  flex-shrink: 0;
}

.vp-listing-info,
.vp-inquiry-info {
  flex: 1;
  min-width: 0;
}

.vp-listing-info .vp-name,
.vp-inquiry-info .vp-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.vp-listing-info .vp-meta,
.vp-inquiry-info .vp-meta {
  font-size: 0.8125rem;
  color: var(--vp-text-muted);
}

.vp-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.vp-status.active {
  background: #d1fae5;
  color: #065f46;
}

.vp-status.pending {
  background: #fef3c7;
  color: #b45309;
}

.vp-status.unread {
  background: #dbeafe;
  color: #1e40af;
}

.vp-status.read {
  background: #e5e7eb;
  color: #4b5563;
}

.vp-status.replied {
  background: #d1fae5;
  color: #065f46;
}

@media (max-width: 1200px) {
  .vp-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vp-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vp-charts-row {
    grid-template-columns: 1fr;
  }

  .vp-cat-grid {
    grid-template-columns: 1fr;
  }

  .vp-cat-mini-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .vp-content {
    padding: 1rem;
  }

  .vp-kpi-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .vp-quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .vp-welcome-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .vp-dash-title {
    font-size: 1.5rem;
  }

  .vp-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .vp-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Select Participation Package Modal */
.vp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.vp-modal-overlay.vp-modal-open {
  opacity: 1;
  visibility: visible;
}

.vp-modal {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 580px;
  min-height: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.25rem 1.5rem 1.5rem;
  font-family: var(--vp-font);
  box-sizing: border-box;
}
.vp-modal.vp-modal-large {
  width: 90%;
  max-width: 880px;
  min-height: 580px;
  padding: 1.5rem 1.75rem 1.75rem;
}

.vp-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #4B5563;
  padding: 0;
}
.vp-modal-close:hover {
  color: #2D2D2D;
}

.vp-modal-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #2D2D2D;
  margin: 0 0 1rem 0;
  padding-right: 2rem;
}

.vp-modal-field {
  margin-bottom: 1rem;
}
.vp-modal-label {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #99A1AF;
  margin-bottom: 0.4rem;
}
.vp-modal-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  padding: 0 0.75rem;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 15px;
  cursor: pointer;
}
.vp-modal-select-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #99A1AF;
}
.vp-modal-select-arrow {
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: #6A7282;
}

.vp-modal-packages {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.vp-package-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #D1D5DB;
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--vp-font);
  transition: border-color 0.2s, background 0.2s;
}
.vp-package-card:hover {
  border-color: #9CA3AF;
}
.vp-package-card.vp-package-selected {
  background: #EBF2FA;
  border-color: #1F4377;
}
.vp-package-card.vp-package-selected .vp-package-name,
.vp-package-card.vp-package-selected .vp-package-price,
.vp-package-card.vp-package-selected .vp-package-entry {
  color: #1F4377;
}
.vp-package-card.vp-package-selected .vp-package-desc {
  color: #6A7282;
}

.vp-package-tag {
  position: absolute;
  top: -1px;
  right: 10px;
  padding: 0.2rem 0.4rem;
  background: #1F4377;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 0 0 4px 4px;
}

.vp-package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.vp-package-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #2D2D2D;
}
.vp-package-price {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #2D2D2D;
  text-align: right;
  margin-top: 1.0rem;
}
.vp-package-desc {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #6A7282;
  margin: 0 0 0.5rem 0;
}
.vp-package-entry {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #99A1AF;
}
.vp-package-check {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F4377;
}
.vp-package-check svg {
  width: 100%;
  height: 100%;
}

.vp-modal-proceed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1.25rem;
  background: #1F4377;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  /* font-weight: 700; */
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s;
  height: 50px;
}
.vp-modal-proceed:hover {
  background: #183566;
  color: #ffffff;
}

/* Modal steps (package selection vs upload) */
.vp-modal-step[hidden] {
  display: none !important;
}

/* Upload Photo step */
.vp-upload-target {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6A7282;
  margin: -0.5rem 0 1rem 0;
  padding-right: 2rem;
}
.vp-upload-requirements {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #EBF2FA;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.vp-upload-req-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.vp-upload-req-content {
  flex: 1;
  min-width: 0;
}
.vp-upload-req-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1F4377;
  display: block;
  margin-bottom: 0.25rem;
}
.vp-upload-req-list {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #1F4377;
  margin: 0;
  line-height: 1.4;
}

.vp-upload-req-rules-link {
  font-size: 12px;
  font-weight: 600;
  color: #1F4377;
  text-decoration: underline;
}

.vp-upload-req-rules-link:hover {
  color: #183566;
}

.vp-upload-drop {
  border: 2px dashed #D1D5DB;
  border-radius: 10px;
  background: #FAFAFA;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 280px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.vp-upload-drop:hover,
.vp-upload-drop:focus-within {
  border-color: #1F4377;
  background: #F5F8FC;
}
.vp-upload-drop-dragover {
  border-color: #1F4377;
  background: #F5F8FC;
}
.vp-upload-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.vp-upload-drop-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E8EDF4;
  margin-bottom: 0.25rem;
}
.vp-upload-drop-icon {
  width: 40px;
  height: 40px;
}
.vp-upload-drop-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #374151;
  margin: 0;
}
.vp-upload-drop-sub {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #6A7282;
  margin: 0;
}
.vp-upload-next {
  margin-bottom: 0.75rem;
}
.vp-upload-back {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6A7282;
  cursor: pointer;
  padding: 0.5rem;
  /* text-decoration: underline; */
}
.vp-upload-back:hover {
  color: #1F4377;
}

/* Step 3: Finalize Submission */
/* ──────────────────────────────────────────────
   Step 3: Finalize Submission – Updated Styling
─────────────────────────────────────────────── */

.vp-finalize-target {
  font-size: 14px;
  color: #6A7282;
  margin: -0.5rem 0 1.25rem 0;
  font-weight: 500;
}

.vp-finalize-cols {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.75rem;
  align-items: start;
}

.vp-finalize-preview {
  background: #F3F4F6;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.vp-finalize-preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

#vpFinalizePreviewImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

.vp-finalize-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 14px;
  text-align: center;
  padding: 1.5rem;
}

/* Show image when src is set */
.vp-finalize-preview-inner:has(#vpFinalizePreviewImg:not([src=""])) #vpFinalizePreviewImg {
  display: block;
}

.vp-finalize-preview-inner:has(#vpFinalizePreviewImg:not([src=""])) .vp-finalize-preview-placeholder {
  display: none;
}

.vp-finalize-summary {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.0rem;
}

.vp-finalize-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.vp-finalize-summary-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #99A1AF;
}

.vp-finalize-summary-price {
  font-size: 20px;
  font-weight: 800;
  color: #1F4377;
}

.vp-finalize-secure {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 14px;
  font-weight: 500;
  color: #2D2D2D;
  margin: 0;
}

  .vp-secure-icon {
    width: 18px;
    height: 18px;
  }

.vp-technical-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
}

/* Form fields */
.vp-finalize-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #99A1AF;
  margin-bottom: 0.35rem;
  display: block;
}

.vp-required {
  color: #DC2626;
}

.vp-finalize-input,
.vp-finalize-textarea {
  width: 100%;
  padding: 0.55rem 0.9rem;
  border: 1px solid #F3F4F6;
  border-radius: 8px;
  background: #F9FAFB;
  font-size: 14px;
  color: #7D7D7E;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.5rem;
}

.vp-finalize-input:focus,
.vp-finalize-textarea:focus {
  outline: none;
  border-color: #1F4377;
  box-shadow: 0 0 0 3px rgba(31,67,119,0.1);
}

.vp-finalize-textarea {
  min-height: 80px;
  resize: vertical;
}

/* EXIF section */
.vp-finalize-exif-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6A7282;
  display: block;
  margin: 1.25rem 0 0.75rem;
}

.vp-finalize-row,
.vp-finalize-row-three {
  display: grid;
  gap: 1rem;
}

.vp-finalize-row {
  grid-template-columns: 1fr 1fr;
}

.vp-finalize-row-three {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Agreement */
.vp-finalize-agree {
  background: #E8EDF4;
  border: 1px solid rgba(31, 67, 119, 0.1);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.vp-finalize-agree p {
  margin: 0;
  font-size: 13px;
  color: #6A7282;
  line-height: 1.5;
}

.vp-finalize-agree a {
  color: #1F4377;
  font-weight: 600;
}

/* Buttons */
.vp-finalize-actions {
  display: flex;
  gap: 1rem;
}

.vp-finalize-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.vp-finalize-btn-draft {
  background: white;
  border: 1px solid #F3F4F6;
  color: #6A7282;
}

.vp-finalize-btn-draft:hover {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #374151;
}

.vp-finalize-btn-submit {
  background: #BCC7D6;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: not-allowed;
}

.vp-finalize-btn-submit:not([disabled]) {
  background: #1F4377;
  cursor: pointer;
}

.vp-finalize-btn-submit:not([disabled]):hover {
  background: #183566;
}

.vp-submit-secure-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
  .vp-finalize-cols {
    grid-template-columns: 1fr;
  }
  .vp-finalize-row,
  .vp-finalize-row-three {
    grid-template-columns: 1fr;
  }
}
/* ──────────────────────────────────────────────
   Step 4: Processing Screen
─────────────────────────────────────────────── */

.vp-processing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  text-align: center;
  padding: 2rem 1rem;
}

.vp-processing-target {
  font-size: 14px;
  font-weight: 500;
  color: #6A7282;
  /* margin: 0.5rem 0 2.5rem 0; */
  letter-spacing: 0.4px;
}

.vp-processing-spinner-wrap {
  margin: 1.5rem 0 2rem 0;
}

.vp-processing-spinner {
  width: 72px;
  height: 72px;
  border: 5px solid #E5E7EB;
  border-top: 5px solid #1F4377;
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.vp-processing-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2D2D2D;
  margin: 0 0 0.75rem 0;
}

.vp-processing-subtitle {
  font-size: 15px;
  color: #6A7282;
  margin: 0;
  max-width: 340px;
  line-height: 1.45;
}

/* Optional — smaller status line that can appear after some time */
.vp-processing-status {
  margin-top: 2.5rem;
  font-size: 13.5px;
  color: #8894A6;
  font-style: italic;
}

/* Profile page */
/* Profile page */
.vp-profile-page {
  background: var(--vp-page-bg);
  padding: 1.5rem 1.5rem 2rem;
  max-width: 100%;
}
.vp-profile-cover-wrap {
  position: relative;
  border-radius: 12px 12px 0 0;
  background: #fff;
  border: 1px solid var(--vp-border);
  border-bottom: none;
}
.vp-profile-cover {
  height: 300px;
  background: #E2E8F0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0 0;
}
.vp-profile-change-cover {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F4377;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.vp-profile-change-cover:hover {
  background: #F9FAFB;
  color: #1F4377;
}
.vp-profile-change-cover img {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.vp-profile-cover-icon {
  width: 18px;
  height: 18px;
}
.vp-profile-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 0 0 12px 12px;
  border: 1px solid var(--vp-border);
  border-top: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding-bottom: 1rem;
}
.vp-profile-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.75rem 1.5rem 1.25rem;
  margin-top: 0;
}
.vp-profile-avatar {
  width: 150px;
  height: 150px;
  margin-top: -2.75rem;
  transform: translateY(-20px);
  border-radius: 12px;
  background: linear-gradient(180deg, #1F4377 0%, #3B6BA8 50%, #5B8BC4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.vp-profile-initials {
  font-family: var(--vp-font);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.vp-profile-meta {
  flex: 1;
  min-width: 0;
  padding-bottom: 0.25rem;
}
.vp-profile-name {
  font-family: var(--vp-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.vp-profile-pro-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: #F2F9EB;
  color: #82C43C;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vp-profile-handle {
  font-size: 0.9375rem;
  color: #6A7282;
  margin: 0 0 0.15rem 0;
}
.vp-profile-member {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.vp-profile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
}
.vp-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.vp-profile-btn-outline {
  background: #F3F4F6;
  color: #1F4377;
  border: 1px solid #E5E7EB;
}
.vp-profile-btn-outline:hover {
  background: #E5E7EB;
  color: #1F4377;
}
.vp-profile-btn-primary {
  background: #1F4377;
  color: #fff;
}
.vp-profile-btn-primary:hover {
  background: #183566;
  color: #fff;
}
.vp-profile-btn-icon {
  width: 18px;
  height: 18px;
}
.vp-profile-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.5rem;
  margin: 0 1rem 1rem;
  background: #1F4377;
  border-radius: 10px;
  width: fit-content;
  min-width: 0;
}
.vp-profile-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--vp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.vp-profile-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.vp-profile-tab.active {
  background: #fff;
  color: #2d2d2d;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.vp-profile-tab-icon-active {
  display: none;
}
.vp-profile-tab.active .vp-profile-tab-icon-inactive {
  display: none;
}
.vp-profile-tab.active .vp-profile-tab-icon-active {
  display: inline-block;
}
.vp-profile-tab:not(.active) .vp-profile-tab-icon-inactive {
  display: inline-block;
}
.vp-profile-tab:not(.active) .vp-profile-tab-icon-active {
  display: none;
}
.vp-profile-tab-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
.vp-profile-tab-content-wrap {
  background: #fff;
  border: 1px solid var(--vp-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 1.5rem;
}
.vp-profile-tab-pane {
  padding: 0;
  min-height: 200px;
}
.vp-profile-tab-pane[hidden] {
  display: none;
}
.vp-profile-two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.0rem;
  align-items: start;
  margin-top: 1rem;
}
.vp-profile-form-col {
  min-width: 0;
}
.vp-profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vp-profile-form-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.vp-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.vp-profile-label {
  font-family: var(--vp-font);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99A1AF;
  margin: 0;
}
.vp-profile-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
}
.vp-profile-input-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.vp-profile-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  color: #2d2d2d;
}
.vp-profile-input::placeholder {
  color: #9CA3AF;
}
.vp-profile-input:focus {
  outline: none;
}
.vp-profile-select {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  color: #2d2d2d;
  cursor: pointer;
  padding: 0;
  padding-right: 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2399A1AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 12px;
}
.vp-profile-select:focus {
  outline: none;
}
.vp-profile-select option {
  color: #2d2d2d;
  padding: 8px 12px;
  font-family: var(--vp-font);
}
/* Custom Dropdown */
.vp-custom-dropdown {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.vp-custom-dropdown-selected {
  flex: 1;
  min-width: 0;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  color: #2d2d2d;
  line-height: 1.4;
}
.vp-custom-dropdown-selected.is-placeholder .vp-custom-dropdown-text {
  color: #9CA3AF;
}
.vp-custom-dropdown-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.45;
  transition: transform 0.2s ease;
}
.vp-custom-dropdown.open .vp-custom-dropdown-arrow {
  transform: rotate(90deg);
}
.vp-custom-dropdown-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 50;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
}
.vp-custom-dropdown.open .vp-custom-dropdown-options {
  display: block;
}
.vp-custom-dropdown-options li {
  padding: 10px 16px;
  font-size: 0.9375rem;
  color: #2d2d2d;
  cursor: pointer;
  font-family: var(--vp-font);
  transition: background 0.15s;
}
.vp-custom-dropdown-options li:hover {
  background: #F3F4F6;
}
.vp-custom-dropdown-options li.active {
  color: #2563eb;
  font-weight: 500;
}

.vp-profile-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1F4377;
  flex-shrink: 0;
}
.vp-profile-verified-icon {
  width: 14px;
  height: 14px;
}
.vp-profile-editor-wrap {
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.vp-profile-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}
.vp-editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--vp-font);
  font-size: 0.8125rem;
  color: #4B5563;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  cursor: pointer;
}
.vp-editor-btn:hover {
  background: #F3F4F6;
}
.vp-editor-bold { font-weight: 700; }
.vp-editor-italic { font-style: italic; }
.vp-editor-underline { text-decoration: underline; }
.vp-editor-divider {
  width: 1px;
  height: 20px;
  background: #E5E7EB;
  margin: 0 0.25rem;
}
.vp-profile-editor-body {
  min-height: 120px;
  padding: 0.75rem 1rem;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #374151;
}
.vp-profile-editor-body:focus {
  outline: none;
}
.vp-profile-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.vp-profile-social-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
}
.vp-profile-social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.vp-profile-social-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  color: #2d2d2d;
}
.vp-profile-social-input:focus {
  outline: none;
  box-shadow: none;
}
.vp-profile-social-input::placeholder {
  color: #9CA3AF;
}
.vp-profile-social-item:focus-within {
  border-color: #E5E7EB;
  box-shadow: none;
  outline: none;
}
.vp-profile-textarea-wrap {
  padding: 0.6rem 0.75rem;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
}
.vp-profile-textarea {
  width: 100%;
  min-height: 100px;
  border: none;
  background: transparent;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  color: #2d2d2d;
  resize: vertical;
}
.vp-profile-textarea::placeholder {
  color: #9CA3AF;
}
.vp-profile-textarea:focus {
  outline: none;
}
.vp-profile-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.vp-profile-portfolio-slot {
  aspect-ratio: 1;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.vp-profile-portfolio-file {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.vp-profile-portfolio-camera-icon {
  width: 40px;
  height: 40px;
  opacity: 0.6;
  pointer-events: none;
}
.vp-profile-portfolio-camera-icon[hidden] {
  display: none;
}
.vp-profile-portfolio-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.vp-profile-portfolio-preview[hidden] {
  display: none;
}
.vp-profile-portfolio-add {
  aspect-ratio: 1;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 100px;
  cursor: pointer;
  font-family: var(--vp-font);
  color: #4B5563;
  transition: background 0.2s, border-color 0.2s;
}
.vp-profile-portfolio-add:hover {
  background: #F3F4F6;
  border-color: #E5E7EB;
}
.vp-profile-portfolio-add-icon {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}
.vp-profile-portfolio-add-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vp-profile-account-section {
  margin-bottom: 1.5rem;
}
.vp-profile-account-section-divider {
  padding-top: 1.5rem;
  border-top: 1px solid var(--vp-border);
}
.vp-profile-account-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--vp-font);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}
.vp-profile-account-section-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.vp-profile-privacy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.vp-profile-privacy-item:last-child {
  margin-bottom: 0;
}
.vp-profile-privacy-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vp-profile-privacy-name {
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}
.vp-profile-privacy-desc {
  font-family: var(--vp-font);
  font-size: 0.8125rem;
  color: #6A7282;
}
.vp-profile-toggle {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.vp-profile-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.vp-profile-toggle-slider {
  position: absolute;
  inset: 0;
  background: #E5E7EB;
  border-radius: 24px;
  transition: background 0.2s;
}
.vp-profile-toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.vp-profile-toggle-input:checked + .vp-profile-toggle-slider {
  background: #1F4377;
}
.vp-profile-toggle-input:checked + .vp-profile-toggle-slider::before {
  transform: translateX(20px);
}
.vp-profile-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.5rem;
}
.vp-profile-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: #1F4377;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.vp-profile-save-btn:hover {
  background: #183566;
}
.vp-profile-save-btn .vp-profile-btn-icon {
  width: 18px;
  height: 18px;
}
.vp-profile-sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1rem;
  margin-bottom: 1.5rem;
}
.vp-profile-side-card {
  background: #fff;
  border: 1px solid var(--vp-border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.vp-profile-side-card-title {
  font-family: var(--vp-font);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}
.vp-profile-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.vp-profile-progress-label {
  font-family: var(--vp-font);
  font-size: 0.875rem;
  color: #6A7282;
}
.vp-profile-progress-pct {
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F4377;
}
.vp-profile-progress-wrap {
  margin-bottom: 1rem;
}
.vp-profile-progress-bar {
  width: 100%;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}
.vp-profile-progress-fill {
  height: 100%;
  background: #1F4377;
  border-radius: 4px;
  transition: width 0.2s;
}
.vp-profile-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vp-profile-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  color: #6A7282;
  padding: 0.35rem 0;
}
.vp-profile-checklist-item.done {
  color: #2d2d2d;
}
.vp-checklist-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.vp-checklist-circle {
  width: 16px;
  height: 16px;
  border: 1.5px solid #D1D5DB;
  border-radius: 50%;
  flex-shrink: 0;
}
.vp-profile-side-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.vp-profile-side-card-head-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vp-profile-side-card-head-left .vp-profile-side-card-title {
  margin-bottom: 0;
  line-height: 1.2;
}
.vp-profile-side-card-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  align-self: center;
  object-fit: contain;
}
.vp-profile-side-card-link {
  font-family: var(--vp-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1F4377;
  text-decoration: none;
}
.vp-profile-side-card-link:hover {
  text-decoration: underline;
}
.vp-profile-club-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.vp-profile-club-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #F3F4F6;
}
.vp-profile-club-item:last-child {
  border-bottom: none;
}
.vp-profile-club-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  background: #E5E7EB;
}
.vp-profile-club-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.vp-profile-club-name {
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}
.vp-profile-club-members {
  font-size: 0.75rem;
  color: #99A1AF;
}
.vp-profile-club-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.vp-profile-join-clubs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--vp-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6A7282;
  cursor: pointer;
}
.vp-profile-join-clubs-btn:hover {
  background: #F3F4F6;
}
.vp-join-icon {
  width: 14px;
  height: 14px;
}
.vp-profile-club-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-profile-club-empty {
  font-size: 0.8125rem;
  color: #99A1AF;
  margin: 0;
  line-height: 1.5;
}
.vp-profile-club-empty-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.vp-profile-club-empty-link:hover {
  text-decoration: underline;
}
.vp-profile-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vp-profile-quick-links li {
  border-bottom: 1px solid #F3F4F6;
}
.vp-profile-quick-links li:last-child {
  border-bottom: none;
}
.vp-profile-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  color: #4A5565;
  text-decoration: none;
}
.vp-profile-quick-link:hover {
  color: #1F4377;
}
.vp-profile-quick-link img {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.vp-profile-quick-link-danger {
  color: #FB2C36;
}
.vp-profile-quick-link-danger:hover {
  color: #d9252e;
}
.vp-profile-quick-link-danger img {
  filter: invert(27%) sepia(92%) saturate(2500%) hue-rotate(346deg);
}
.vp-profile-placeholder {
  font-size: 0.9375rem;
  color: #6A7282;
  margin: 0;
}
@media (max-width: 992px) {
  .vp-profile-two-col {
    grid-template-columns: 1fr;
  }
  .vp-profile-sidebar-cards {
    position: static;
  }
}
@media (max-width: 768px) {
  .vp-profile-info {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    padding: 0 1rem 1rem;
  }
  .vp-profile-avatar {
    width: 80px;
    height: 80px;
    transform: translateY(-16px);
  }
  .vp-profile-initials {
    font-size: 1.5rem;
  }
  .vp-profile-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .vp-profile-card {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .vp-profile-nav {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-sizing: border-box;
  }
  .vp-profile-tab {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 0.6rem 0.75rem;
    font-size: 0.8125rem;
  }
  .vp-profile-tab.active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
  }
  .vp-profile-tab-pane {
    padding: 1rem;
  }
  .vp-profile-form-rows {
    grid-template-columns: 1fr;
  }
  .vp-profile-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-profile-social-grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────────
   Competitions page
─────────────────────────────────────────────── */

.vp-competitions-page {
  background: var(--vp-page-bg);
  padding: 1.5rem 1.5rem 3.5rem;
  max-width: 100%;
}

.vp-competitions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-competitions-header-left {
  min-width: 0;
}

.vp-competitions-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0 0 0.25rem 0;
  font-family: var(--vp-font);
}

.vp-competitions-subtitle {
  font-size: 0.9375rem;
  color: var(--vp-text-muted);
  margin: 0;
  font-family: var(--vp-font);
  color: #6A7282;
}

.vp-competitions-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.vp-competitions-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 45px;
  padding: 0 0.75rem 0 1rem;
  background: #fff;
  border: 1px solid var(--vp-border);
  border-radius: 10px;
  min-width: 260px;
  box-sizing: border-box;
}

.vp-competitions-search-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: block;
}

.vp-competitions-search {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  color: #2D2D2D;
}

.vp-competitions-search::placeholder {
  color: #9CA3AF;
}

.vp-competitions-search:focus {
  outline: none;
}

.vp-competitions-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid var(--vp-border);
  background: #fff;
  border-radius: 10px;
  color: #6A7282;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.vp-competitions-filter-btn:hover {
  background: var(--vp-sidebar-hover);
  border-color: #D1D5DB;
  color: var(--vp-text);
}

.vp-competitions-filter-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.vp-competitions-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--vp-border);
  padding-bottom: 0;
}

.vp-competitions-tab {
  padding: 0.75rem 1.25rem;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #99A1AF;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.vp-competitions-tab:hover {
  color: #6A7282;
}

.vp-competitions-tab.active {
  color: #1F4377;
  border-bottom-color: #1F4377;
}

.vp-competitions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.vp-competition-card {
  background: var(--vp-card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--vp-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.vp-competition-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vp-competition-card.vp-competition-card-hidden {
  display: none;
}

.vp-competition-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E5E7EB;
}

.vp-competition-card-media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.vp-competition-card-media-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.vp-competition-card:hover .vp-competition-card-media-link img {
  transform: scale(1.02);
}

.vp-competition-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  background: #fff;
  color: #2d2d2d;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  font-family: var(--vp-font);
}

/* Hide category on closed cards */
.vp-competition-card[data-status="completed"] .vp-competition-card-category {
  display: none;
}

.vp-competition-card-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  font-family: var(--vp-font);
}

.vp-competition-status-active {
  background: #82C43C;
  color: #2d2d2d;
}

.vp-competition-status-upcoming {
  background: #EFF6FF;
  color: #155DFC;
}

/* Closed: center on image with overlay, white bg + dark text */
.vp-competition-card-img-wrap-closed {
  position: relative;
}

.vp-competition-card-img-wrap-closed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.vp-competition-card-img-wrap-closed .vp-competition-status-closed {
  top: 50%;
  left: 50%;
  right: auto;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #2d2d2d;
  font-size: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: var(--vp-font);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vp-competition-card-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.vp-competition-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-competition-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.vp-competition-card-title-link:hover {
  color: #1F4377;
  text-decoration: underline;
}

.vp-competition-card-desc {
  font-size: 0.875rem;
  color: #6A7282;
  margin: 0;
  line-height: 1.4;
  font-family: var(--vp-font);
}

.vp-competition-card-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #6A7282;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-competition-clock {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: block;
}

.vp-competition-card-winner {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-competition-card-winner .vp-winner-label {
  color: #1F4377;
}

.vp-competition-card-winner .vp-winner-name {
  color: #6A7282;
}

.vp-competition-card-prize-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #F3F4F6;
}

.vp-competition-prize-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-competition-prize-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F4377;
  font-family: var(--vp-font);
}

.vp-competition-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: #F9FAFB;
  color: #2d2d2d;
  /* border: 1px solid var(--vp-border); */
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vp-competition-card-btn:hover {
  background: #F3F4F6;
  color: #2d2d2d;
  border-color: #E5E7EB;
}

.vp-competition-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .vp-competitions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vp-competitions-header {
    flex-direction: column;
    align-items: stretch;
  }
  .vp-competitions-search-wrap {
    min-width: 0;
  }
  .vp-competitions-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vp-competitions-tab {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
  }
  .vp-competitions-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ──────────────────────────────────────────────
   Competition Details page
─────────────────────────────────────────────── */

.vp-competition-details-page {
  background: var(--vp-page-bg);
  padding: 0.5rem 1.5rem 3.5rem;
  max-width: 100%;
}

.vp-detail-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  /* margin-bottom: 0.0rem; */
  padding: 0.5rem 0;
}

.vp-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #2d2d2d;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.vp-detail-back:hover {
  background: var(--vp-sidebar-hover);
  color: #2d2d2d;
}

.vp-detail-back-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.vp-detail-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.vp-detail-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.vp-detail-card.vp-detail-submissions {
  margin-bottom: 0.5rem;
}

.vp-detail-hero {
  border-radius: 12px;
  overflow: hidden;
  background: #E5E7EB;
  aspect-ratio: 16/9;
  max-height: 420px;
}

.vp-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vp-detail-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vp-detail-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 1rem 0;
  font-family: var(--vp-font);
}

.vp-detail-about-desc {
  font-size: 0.9375rem;
  color: #6A7282;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
  font-family: var(--vp-font);
}

.vp-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #F3F4F6;
  border-bottom: 1px solid #F3F4F6;
}

.vp-detail-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vp-detail-metric-label {
  font-size: 0.7875rem;
  /* font-weight: 700; */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-detail-metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: #2d2d2d;
  font-family: var(--vp-font);
}

.vp-detail-metric-value.vp-detail-status-not-entered {
  color: #DC2626;
}

.vp-detail-metric-value.vp-detail-metric-value-prize {
  color: #1F4377;
}

.vp-detail-actions {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

.vp-detail-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 80%;
  padding: 0.75rem 1.25rem;
  background: #1F4377;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.vp-detail-btn-primary:hover {
  background: #183566;
  color: #fff;
}

.vp-detail-btn-primary:disabled,
.vp-detail-btn-primary[aria-disabled="true"] {
  background: #94a3b8;
  color: #f8fafc;
  cursor: not-allowed;
  opacity: 0.92;
}

.vp-detail-btn-primary:disabled:hover,
.vp-detail-btn-primary[aria-disabled="true"]:hover {
  background: #94a3b8;
  color: #f8fafc;
}

.vp-detail-submit-upcoming-note {
  width: 80%;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

.vp-detail-submit-card--upcoming {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.vp-detail-btn-primary .vp-detail-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.vp-detail-submit-card {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.vp-detail-submit-card-desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #6A7282;
  line-height: 1.5;
}

.vp-detail-submit-rules-link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1F4377;
  text-align: center;
  text-decoration: none;
}

.vp-detail-submit-rules-link:hover {
  text-decoration: underline;
}

.vp-detail-submit-unavailable {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.vp-detail-submit-unavailable-text {
  margin: 0;
  font-size: 0.875rem;
  color: #6A7282;
  line-height: 1.5;
}

.vp-detail-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.65rem 1rem;
  background: #fff;
  color: #6A7282;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.vp-detail-btn-secondary:hover {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #6A7282;
}

.vp-detail-btn-secondary .vp-detail-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vp-detail-submissions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vp-detail-submissions-head .vp-detail-card-title {
  margin: 0;
  color: #2d2d2d;
}

.vp-detail-history-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1F4377;
  text-decoration: none;
  font-family: var(--vp-font);
}

.vp-detail-history-link:hover {
  color: #183566;
}

.vp-detail-history-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vp-detail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #F3F4F6;
}

.vp-detail-empty-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
  display: block;
}

.vp-detail-empty-text {
  font-size: 0.9375rem;
  color: #99A1AF;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-detail-about-inner {
  margin-bottom: 1.5rem;
}

.vp-detail-about .vp-detail-submissions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef2f7;
}

/* My Submissions: category-grouped list */
.vp-detail-submissions-list,
.vp-detail-submissions-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vp-detail-submission-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vp-detail-submission-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eef2f7;
}

.vp-detail-submission-group-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f4377;
  font-family: var(--vp-font);
}

.vp-detail-submission-group-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

.vp-detail-submission-group-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vp-detail-submission-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  box-sizing: border-box;
}

.vp-detail-submission-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.vp-detail-submission-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-detail-submission-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vp-detail-submission-main {
  min-width: 0;
  flex: 1;
}

.vp-detail-submission-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-detail-submission-date {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.vp-detail-submission-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.vp-detail-submission-ai {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f4377;
  background: rgba(31, 67, 119, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.vp-detail-submission-result-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1f4377;
  text-decoration: none;
  white-space: nowrap;
}

.vp-detail-submission-result-link:hover {
  text-decoration: underline;
}

/* Detail page submit modal: no back button */
.vp-modal.vp-detail-submit-modal {
  width: min(94vw, 760px);
  min-height: auto;
}

.vp-detail-submit-modal .vp-upload-back {
  display: none;
}

/* Submit button loader */
.vp-detail-submit-btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vp-spin 0.8s linear infinite;
}

.vp-detail-submit-modal .vp-modal-proceed.vp-loading .vp-detail-submit-btn-text {
  display: none;
}

.vp-detail-submit-modal .vp-modal-proceed.vp-loading .vp-detail-submit-btn-loader {
  display: inline-block;
}

.vp-detail-submit-modal .vp-modal-proceed:disabled:not(.vp-loading) {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes vp-spin {
  to { transform: rotate(360deg); }
}

.vp-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 1rem;
}

.vp-detail-requirements .vp-detail-card-title {
  margin-bottom: 1rem;
  color: #2d2d2d;
}

.vp-detail-requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vp-detail-requirements-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6A7282;
  font-family: var(--vp-font);
}

.vp-detail-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vp-detail-support {
  background: #1F4377;
  border-color: #1F4377;
  color: #fff;
}

.vp-detail-support-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-family: var(--vp-font);
}

.vp-detail-support-desc {
  font-size: 0.875rem;
  color: #DBEAFE;
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
  font-family: var(--vp-font);
}

.vp-detail-support-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1.25rem;
  background: #355685;
  color: #E8EDF4;
  border: none;
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}

.vp-detail-support-btn:hover {
  background: #2d4970;
  color: #E8EDF4;
}

@media (max-width: 992px) {
  .vp-detail-layout {
    grid-template-columns: 1fr;
  }
  .vp-detail-sidebar {
    position: static;
  }
  .vp-detail-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vp-detail-submission-item {
    align-items: flex-start;
  }

  .vp-detail-submission-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .vp-detail-submission-meta {
    justify-content: flex-start;
  }

  .vp-detail-submission-thumb {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 576px) {
  .vp-detail-metrics {
    grid-template-columns: 1fr;
  }
  .vp-detail-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .vp-detail-btn-primary,
  .vp-detail-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
  }
  .vp-detail-btn-secondary {
    flex: none;
  }
  /* My Submissions box – mobile */
  .vp-detail-card.vp-detail-submissions {
    padding: 1.25rem 1rem 1.5rem;
    margin-bottom: 1rem;
  }
  .vp-detail-submissions-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .vp-detail-submissions-head .vp-detail-card-title {
    font-size: 0.9375rem;
    margin: 0;
  }
  .vp-detail-history-link {
    font-size: 0.8125rem;
    flex-shrink: 0;
  }
  .vp-detail-empty-state {
    min-height: 160px;
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }
  .vp-detail-empty-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
  .vp-detail-empty-text {
    font-size: 0.875rem;
    text-align: center;
    max-width: 100%;
    line-height: 1.4;
    padding: 0 0.25rem;
  }
}

/* ──────────────────────────────────────────────
   My Submissions page
─────────────────────────────────────────────── */

.vp-my-submissions-page {
  background: var(--vp-page-bg);
  padding: 1.5rem 1.5rem 3.5rem;
  max-width: 100%;
}

.vp-submissions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-submissions-header-left {
  min-width: 0;
}

.vp-submissions-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.25rem 0;
  font-family: var(--vp-font);
}

.vp-submissions-subtitle {
  font-size: 0.9375rem;
  color: #6A7282;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-submissions-header-right {
  flex-shrink: 0;
}

.vp-submissions-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-family: var(--vp-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #6A7282;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.vp-submissions-filter-btn:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.vp-submissions-filter-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.vp-submissions-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.vp-submissions-table-wrap {
  overflow-x: auto;
}

.vp-submissions-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--vp-font);
}

.vp-submissions-table thead tr {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.vp-submissions-table th {
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #99A1AF;
  padding: 0.75rem 1rem 0.875rem;
  white-space: nowrap;
}

.vp-submissions-table th.vp-sub-th-actions {
  text-align: left;
  padding-left: 0.75rem;
  width: 140px;
  min-width: 140px;
  box-sizing: border-box;
}

.vp-submissions-table tbody tr {
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
}

.vp-submissions-table tbody tr:last-child {
  border-bottom: none;
}

.vp-submissions-table tbody tr:hover {
  background: #FAFAFA;
}

.vp-submissions-table td {
  padding: 0.875rem 1rem;
  vertical-align: middle;
  font-size: 0.9375rem;
  color: #2d2d2d;
}

.vp-sub-cell-submission {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.vp-sub-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.vp-sub-name {
  font-weight: 700;
  color: #2d2d2d;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.vp-sub-td-competition {
  color: #6A7282;
}

.vp-sub-td-date {
  color: #6A7282;
  white-space: nowrap;
}

.vp-sub-status {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  white-space: nowrap;
}

.vp-sub-status-judging {
  background: #EFF6FF;
  color: #155DFC;
  border: 1px solid #DBEAFE;
}

.vp-sub-status-finalist {
  background: #FAF5FF;
  color: #9810FA;
  border: 1px solid #F3E8FF;
}

.vp-sub-status-reviewed {
  background: #F0FDF4;
  color: #00A63E;
  border: 1px solid #DCFCE7;
}

.vp-sub-td-actions {
  text-align: left;
  width: 140px;
  min-width: 140px;
  white-space: nowrap;
  padding-left: 0.5rem;
  box-sizing: border-box;
}

.vp-sub-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.vp-sub-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #6A7282;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.vp-sub-action-btn:hover {
  background: #F3F4F6;
  color: #2d2d2d;
}

.vp-sub-action-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

/* My Submissions: mobile card layout (no horizontal scroll) */
@media (max-width: 768px) {
  .vp-my-submissions-page {
    padding: 1rem 1rem 2.5rem;
  }
  .vp-submissions-card {
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .vp-submissions-table-wrap {
    overflow: visible;
    padding: 0;
  }
  .vp-submissions-table {
    min-width: 0;
    display: block;
  }
  .vp-submissions-table thead {
    display: none;
  }
  .vp-submissions-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .vp-submissions-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
  .vp-submissions-table tbody tr:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .vp-submissions-table tbody td {
    border: none;
    font-size: 0.875rem;
    padding: 0;
  }
  /* Row 1: Submission (thumb + name) – full width, no label */
  .vp-submissions-table tbody td.vp-sub-td-submission {
    width: 100%;
    order: 1;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 0.75rem;
  }
  .vp-submissions-table tbody td.vp-sub-td-submission::before {
    display: none;
  }
  .vp-submissions-table tbody .vp-sub-cell-submission {
    gap: 0.75rem;
  }
  .vp-submissions-table tbody .vp-sub-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .vp-submissions-table tbody .vp-sub-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2d2d;
  }
  /* Row 2: Competition + Date side by side */
  .vp-submissions-table tbody td.vp-sub-td-competition {
    flex: 1;
    min-width: 0;
    order: 2;
    padding-right: 0.5rem;
  }
  .vp-submissions-table tbody td.vp-sub-td-competition::before {
    content: attr(data-label);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #99A1AF;
    display: block;
    margin-bottom: 0.2rem;
  }
  .vp-submissions-table tbody td.vp-sub-td-date {
    flex: 0 0 auto;
    order: 3;
  }
  .vp-submissions-table tbody td.vp-sub-td-date::before {
    content: attr(data-label);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #99A1AF;
    display: block;
    margin-bottom: 0.2rem;
  }
  .vp-submissions-table tbody td.vp-sub-td-competition,
  .vp-submissions-table tbody td.vp-sub-td-date {
    color: #6A7282;
    font-size: 0.8125rem;
  }
  /* Row 3: Status badge */
  .vp-submissions-table tbody td.vp-sub-td-status {
    width: 100%;
    order: 4;
    padding: 0.5rem 0 0.75rem;
  }
  .vp-submissions-table tbody td.vp-sub-td-status::before {
    content: attr(data-label);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #99A1AF;
    display: block;
    margin-bottom: 0.35rem;
  }
  .vp-submissions-table tbody .vp-sub-status {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
  }
  /* Row 4: Actions – full width, divider */
  .vp-submissions-table tbody td.vp-sub-td-actions {
    width: 100%;
    min-width: 0;
    order: 5;
    padding-top: 0.75rem;
    border-top: 1px solid #F3F4F6;
  }
  .vp-submissions-table tbody td.vp-sub-td-actions::before {
    display: none;
  }
  .vp-submissions-table tbody .vp-sub-actions {
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .vp-submissions-table tbody .vp-sub-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
  }
  .vp-submissions-table tbody .vp-sub-action-btn img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 576px) {
  .vp-submissions-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .vp-submissions-title {
    font-size: 1.5rem;
  }
  .vp-submissions-subtitle {
    font-size: 0.875rem;
  }
  .vp-submissions-filter-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ──────────────────────────────────────────────
   AI Insights Hub page
─────────────────────────────────────────────── */

.vp-ai-insights-page {
  background: var(--vp-page-bg);
  padding: 1.5rem 1.5rem 3.5rem;
  max-width: 100%;
  font-family: var(--vp-font);
}

.vp-ai-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.vp-ai-header-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.vp-ai-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1F4377;
  border-radius: 10px;
  flex-shrink: 0;
}

.vp-ai-header-logo .vp-ai-header-icon {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1);
}

.vp-ai-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.25rem 0;
  font-family: var(--vp-font);
}

.vp-ai-subtitle {
  font-size: 0.9375rem;
  color: #6A7282;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-ai-tabs {
  display: inline-flex;
  align-items: center;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 15px;
  padding: 0.25rem;
  gap: 0;
}

.vp-ai-tab {
  padding: 0.5rem 1.25rem;
  font-family: var(--vp-font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #99A1AF;
  background: transparent;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.vp-ai-tab:hover {
  color: #6A7282;
}

.vp-ai-tab.active {
  background: #fff;
  color: #2d2d2d;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.vp-ai-top-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  height: 280px;
}

.vp-ai-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vp-ai-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #99A1AF;
  margin: 0 0 0.75rem 0;
  font-family: var(--vp-font);
}

.vp-ai-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d2d2d;
  margin: 0 0 0.5rem 0;
  font-family: var(--vp-font);
  line-height: 1.2;
}

.vp-ai-improvement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vp-ai-improvement-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-ai-improvement-value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #059669;
  font-family: var(--vp-font);
}

.vp-ai-trending-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.vp-ai-progress-wrap {
  height: 8px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.vp-ai-progress-bar {
  height: 100%;
  background: #1F4377;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.vp-ai-card-desc {
  font-size: 0.875rem;
  color: #6A7282;
  line-height: 1.5;
  margin: 0;
  font-family: var(--vp-font);
}

.vp-ai-trend-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vp-ai-trend-head .vp-ai-card-label {
  margin: 0;
  color: #2d2d2d;
  font-size: 0.75rem;
}

.vp-ai-trend-period {
  font-size: 0.75rem;
  font-weight: 500;
  font-style: italic;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-ai-chart-wrap {
  height: 140px;
  margin-bottom: 0.5rem;
}

.vp-ai-line-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.vp-ai-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #A0AEC0;
  font-family: var(--vp-font);
  padding: 0 0.25rem;
}

.vp-ai-scans-title {
  font-size: 0.9125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #99A1AF;
  margin: 0 0 1.25rem 0;
  font-family: var(--vp-font);
  text-align: center;
}

.vp-ai-scans {
  margin-bottom: 2rem;
}

.vp-ai-scans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.vp-ai-scan-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--vp-border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
  padding: 0.75rem;
}

.vp-ai-scan-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vp-ai-scan-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.vp-ai-scan-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E5E7EB;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.vp-ai-scan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vp-ai-scan-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: #F5F8FC;
  color: #2d2d2d;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 8px;
  font-family: var(--vp-font);
}

.vp-ai-scan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.25rem 0;
  padding: 0 0.25rem;
  font-family: var(--vp-font);
}

.vp-ai-scan-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #99A1AF;
  margin-top: 10px;
  padding: 0 0.25rem 0.5rem;
  font-family: var(--vp-font);
}

@media (max-width: 992px) {
  .vp-ai-top-row {
    grid-template-columns: 1fr;
  }
  .vp-ai-scans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vp-ai-header {
    flex-direction: column;
    align-items: stretch;
  }
  .vp-ai-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .vp-ai-title {
    font-size: 1.5rem;
  }
  .vp-ai-tabs {
    width: 100%;
    justify-content: center;
  }
  .vp-ai-score {
    font-size: 2rem;
  }
  .vp-ai-scans-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- AI Scan Detail Page ----- */
.vp-ai-scan-detail-page {
  background: var(--vp-page-bg);
  padding: 1.5rem 1.5rem 5rem;
  max-width: 100%;
  font-family: var(--vp-font);
}

.vp-ai-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.vp-ai-detail-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vp-ai-detail-photo-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  height: 500px;
}

.vp-ai-detail-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #E5E7EB;
}

.vp-ai-detail-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vp-ai-detail-photo-actions {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  justify-content: flex-end;
}

.vp-ai-detail-rule-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: none;
  border-radius: 8px;
  color: #2d2d2d;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--vp-font);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.vp-ai-detail-rule-btn:hover {
  background: #F9FAFB;
  opacity: 0.95;
}

.vp-ai-detail-rule-icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  display: block;
}

.vp-ai-detail-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vp-ai-detail-analysis-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vp-ai-detail-analysis-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.vp-ai-detail-analysis-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.vp-ai-detail-icon-composition { color: #155DFC; }
.vp-ai-detail-icon-light {  color: #D97706; }
.vp-ai-detail-icon-color {  color: #7C3AED; }
.vp-ai-detail-icon-tech {  color: #4B5563; }

.vp-ai-detail-analysis-icon img {
  display: block;
}

.vp-ai-detail-analysis-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2d2d2d;
  margin: 0;
  flex: 1;
  font-family: var(--vp-font);
}

.vp-ai-detail-analysis-score {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F4377;
  font-family: var(--vp-font);
}

.vp-ai-detail-analysis-desc-box {
  background: #F9FAFB;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.vp-ai-detail-analysis-desc {
  font-size: 0.875rem;
  color: #4A5565;
  margin: 0;
  line-height: 1.4;
  font-family: var(--vp-font);
}

.vp-ai-detail-analysis-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-family: var(--vp-font);
}

.vp-ai-detail-analysis-row {
  display: flex;
  gap: 3%;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.vp-ai-detail-analysis-row:last-child {
  margin-bottom: 0;
}

.vp-ai-detail-analysis-label {
  flex: 0 0 30%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-ai-detail-analysis-value {
  flex: 0 0 65%;
  color: #2d2d2d;
  font-family: var(--vp-font);
}


.vp-ai-detail-color-swatches {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  margin-top: 1rem;
  
}

.vp-ai-detail-color-swatches span {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  display: block;
}

.vp-ai-detail-mood-harmony {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 1rem;
}

.vp-ai-detail-mood-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.vp-ai-detail-mood-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #99A1AF;
  font-family: var(--vp-font);
}

.vp-ai-detail-mood-value {
  font-size: 0.875rem;
  color: #2d2d2d;
  line-height: 1.4;
  font-family: var(--vp-font);
}

.vp-ai-detail-tech-list .vp-ai-detail-analysis-row {
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.vp-ai-detail-tech-list .vp-ai-detail-analysis-row:last-child {
  margin-bottom: 0;
}

.vp-ai-detail-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1rem;
  margin-bottom: 3rem;
}

.vp-ai-detail-score-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vp-ai-detail-score-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #E8EDF4;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.vp-ai-detail-score-icon-img {
  width: 32px;
  height: 32px;
  display: block;
}

.vp-ai-detail-score-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #99A1AF;
  margin: 0 0 0.25rem 0;
  font-family: var(--vp-font);
}

.vp-ai-detail-score-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.5rem 0;
  line-height: 1;
  font-family: var(--vp-font);
}

.vp-ai-detail-score-sub {
  font-size: 0.8125rem;
  color: #6A7282;
  margin: 0;
  line-height: 1.4;
  font-family: var(--vp-font);
  padding: 1rem;
}

.vp-ai-detail-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vp-ai-detail-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  font-family: var(--vp-font);
}

.vp-ai-detail-card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Strengths & Improvements in one box */
.vp-ai-detail-strengths-improvements {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vp-ai-detail-strengths-block,
.vp-ai-detail-improvements-block {
  margin: 0;
}

.vp-ai-detail-strengths-divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 1rem 0;
}

.vp-ai-detail-title-green { color: #00C950; }
.vp-ai-detail-bullets-green li { color: #2d2d2d; font-family: var(--vp-font); }
.vp-ai-detail-bullets-green li::before { color: #00C950; }

.vp-ai-detail-title-red { color: #FB2C36; }
.vp-ai-detail-bullets-red li { color: #2d2d2d; font-family: var(--vp-font); }
.vp-ai-detail-bullets-red li::before { color: #FB2C36; }

.vp-ai-detail-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  font-family: var(--vp-font);
}

.vp-ai-detail-bullets li {
  margin-bottom: 0.35rem;
  padding-left: 1.25rem;
  position: relative;
}

.vp-ai-detail-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.vp-ai-detail-bullets li:last-child {
  margin-bottom: 0;
}

.vp-ai-detail-actionable {
  background: #1F4377;
  border-radius: 12px;
  padding: 1.5rem;
  color: #FFFFFF;
  padding: 2rem;
}

.vp-ai-detail-actionable-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0 0 0.75rem 0;
  font-family: var(--vp-font);
}

.vp-ai-detail-actionable-text {
  font-size: 0.8375rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  color: #FFFFFF;
  font-family: var(--vp-font);
  margin-top: 2rem;
}

.vp-ai-detail-ref-btn {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  color: #2d2d2d;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--vp-font);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.vp-ai-detail-ref-btn:hover {
  background: #F9FAFB;
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .vp-ai-detail-layout {
    grid-template-columns: 1fr;
  }
  .vp-ai-detail-right {
    position: static;
  }
}

@media (max-width: 768px) {
  .vp-ai-detail-analysis-grid {
    grid-template-columns: 1fr;
  }
  .vp-ai-scan-detail-page {
    padding-bottom: 4rem;
  }
  .vp-ai-detail-right {
    margin-bottom: 2.5rem;
  }
  .vp-ai-detail-photo-card {
    height: 320px;
  }
}

/* ===== Toast Notifications ===== */
.vp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}
.vp-toast-show { opacity: 1; transform: translateY(0); }
.vp-toast-success { background: #16a34a; }
.vp-toast-error { background: #dc3545; }
.vp-toast-close {
  background: none; border: none; color: #fff; font-size: 18px;
  cursor: pointer; padding: 0; line-height: 1; opacity: 0.8;
}
.vp-toast-close:hover { opacity: 1; }

/* ===== Cropper Modal ===== */
.vp-crop-modal {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.vp-crop-modal-show { opacity: 1; }
.vp-crop-modal-dialog {
  background: #fff; border-radius: 14px; width: 90%; max-width: 640px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25); overflow: hidden;
}
.vp-crop-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #e5e7eb;
}
.vp-crop-modal-title {
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; margin: 0;
}
.vp-crop-modal-close {
  background: none; border: none; font-size: 22px; cursor: pointer; color: #6b7280;
}
.vp-crop-modal-body { padding: 16px 20px; max-height: 60vh; overflow: auto; }
.vp-crop-modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 20px; border-top: 1px solid #e5e7eb;
}

/* ===== Drag & Drop Zone ===== */
.vp-crop-dropzone {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.vp-crop-dropzone:hover {
  border-color: #2563eb;
  background: #f0f5ff;
}
.vp-crop-dropzone-active {
  border-color: #2563eb;
  background: #eff6ff;
  border-style: solid;
}
.vp-crop-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.vp-crop-dropzone-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  margin: 0 0 4px;
}
.vp-crop-dropzone-sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
}
.vp-crop-dropzone-browse {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
}
.vp-crop-dropzone-hint {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}