/* =========================
   DESIGN SYSTEM
========================= */

:root {
  --bg-main: #0b1220;
  --bg-dark: #0a0f1a;
  --bg-card: #121a2b;

  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.75);
  --text-muted: rgba(255,255,255,0.5);

  --accent: #f59e0b;
  --accent-light: #fbbf24;

  --border: rgba(255,255,255,0.08);

  --radius-lg: 22px;
  --radius-md: 12px;
}

/* =========================
   BASE
========================= */

.vp-marketing {
  background: linear-gradient(180deg, var(--bg-main), var(--bg-dark));
  color: var(--text-primary);
  font-family: Arial, sans-serif;
}

/* Sections */
.vp-section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 40px;
}

/* =========================
   TYPOGRAPHY
========================= */

.vp-marketing h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.vp-marketing h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 18px;
}

.vp-marketing h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.vp-marketing p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Small label */
.vp-eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-block;
}

/* =========================
   HERO
========================= */

.vp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vp-hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  min-height: 420px;
  object-fit: cover;
  box-shadow: 0 25px 70px rgba(0,0,0,0.4);
  filter: brightness(0.95) contrast(1.05);
}

/* =========================
   BUTTONS
========================= */

.vp-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.vp-btn {
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

/* Primary */
.vp-btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #111;
  box-shadow: 0 10px 30px rgba(245,158,11,0.3);
}

.vp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(245,158,11,0.4);
}

/* Secondary */
.vp-btn--secondary {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}

.vp-btn--secondary:hover {
  border-color: rgba(255,255,255,0.3);
}

/* =========================
   GRID
========================= */

.vp-grid {
  display: grid;
  gap: 24px;
}

.vp-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* =========================
   CARDS
========================= */

.vp-card,
.vp-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.25s ease;
}

.vp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.4);
}

/* =========================
   IMAGES
========================= */

.vp-image-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  height: 260px;
  object-fit: cover;
  filter: brightness(0.95);
}

/* =========================
   SPLIT SECTION
========================= */

.vp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.vp-split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* =========================
   LIST
========================= */

.vp-list {
  margin-top: 20px;
  padding-left: 20px;
}

.vp-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* =========================
   STEPS
========================= */

.vp-step__number {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-weight: bold;
}

/* =========================
   CTA
========================= */

.vp-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {

  .vp-hero,
  .vp-split,
  .vp-grid--3 {
    grid-template-columns: 1fr;
  }

  .vp-marketing h1 {
    font-size: 42px;
  }

  .vp-marketing h2 {
    font-size: 30px;
  }

  .vp-section {
    padding: 80px 20px;
  }

}
/* =========================
   AUTH PAGES
========================= */

.vp-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0b1220, #0a0f1a);
}

.vp-auth-box {
  width: 100%;
  max-width: 420px;
  background: #121a2b;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.vp-auth-box h2 {
  margin-bottom: 10px;
}

.vp-auth-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
}

/* Inputs */
.vp-auth input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f172a;
  color: #fff;
  font-size: 15px;
}

.vp-auth input:focus {
  outline: none;
  border-color: #f59e0b;
}

/* Footer */
.vp-auth-footer {
  margin-top: 20px;
  font-size: 14px;
}

.vp-auth-footer a {
  color: #f59e0b;
  text-decoration: none;
}
/* FORCE HERO TEXT VISIBILITY */
.vp-marketing h1,
.vp-marketing h2,
.vp-marketing h3 {
  color: #ffffff !important;
}

.vp-marketing p {
  color: rgba(255,255,255,0.85) !important;
}
/* =========================
   DASHBOARD
========================= */

.vp-dashboard {
  display: flex;
  min-height: 100vh;
  background: #0b1220;
}

/* SIDEBAR */
.vp-sidebar {
  width: 240px;
  background: #121a2b;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.vp-sidebar h2 {
  color: #fff;
  margin-bottom: 30px;
}

.vp-sidebar nav a {
  display: block;
  padding: 12px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-radius: 8px;
}

.vp-sidebar nav a:hover {
  background: rgba(245,158,11,0.1);
  color: #fff;
}

/* MAIN */
.vp-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* TOPBAR */
.vp-topbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* CONTENT */
.vp-content {
  padding: 30px;
}
/* =========================
   DASHBOARD FIX (FINAL)
========================= */

/* Fix text visibility */
.vp-dashboard,
.vp-dashboard h1,
.vp-dashboard h2,
.vp-dashboard h3,
.vp-dashboard p {
  color: #ffffff !important;
}

/* Sidebar improvement */
.vp-sidebar {
  background: linear-gradient(180deg, #0f172a, #0b1220);
}

.vp-sidebar nav a {
  color: rgba(255,255,255,0.7);
}

.vp-sidebar nav a:hover {
  background: rgba(245,158,11,0.15);
  color: #fff;
}

/* Active link (add manually later if needed) */
.vp-sidebar nav a.active {
  background: rgba(245,158,11,0.25);
  color: #fff;
}

/* Topbar */
.vp-topbar {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}

/* Cards (premium upgrade) */
.vp-dashboard .vp-card {
  background: linear-gradient(145deg, #121a2b, #0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px;
  transition: all 0.25s ease;
}

.vp-dashboard .vp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Improve spacing */
.vp-content h1 {
  margin-bottom: 30px;
}

/* Fix WordPress admin bar offset */
body.admin-bar .vp-dashboard {
  margin-top: 32px;
}
.vp-auth-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: left;
  font-size: 14px;
}

.vp-auth-message--error {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #fecaca;
}

.vp-auth-message--success {
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: #bbf7d0;
}
/* =========================
   FRONTEND APP PAGES
========================= */

.vp-dashboard-body {
  margin: 0;
  background: #0b1220;
}

.vp-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.vp-page-sub {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.72);
}

.vp-properties-layout {
  align-items: start;
}

.vp-grid--2 {
  grid-template-columns: 420px minmax(0, 1fr);
}

.vp-form-card h3,
.vp-card h3 {
  margin-top: 0;
}

.vp-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.vp-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vp-form-group label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.vp-form input,
.vp-form textarea,
.vp-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

.vp-form input:focus,
.vp-form textarea:focus,
.vp-form select:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.vp-form textarea {
  resize: vertical;
  min-height: 120px;
}

.vp-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.vp-table {
  width: 100%;
  border-collapse: collapse;
}

.vp-table th,
.vp-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  vertical-align: top;
}

.vp-table th {
  color: #fff;
  font-size: 14px;
}

.vp-empty-state {
  margin-top: 18px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
}

@media (max-width: 1100px) {
  .vp-grid--2 {
    grid-template-columns: 1fr;
  }
}
.vp-repeater-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vp-repeater-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vp-repeater-item {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-repeater-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vp-remove-row {
  background: transparent;
  color: #fca5a5;
  border: 1px solid rgba(252,165,165,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.vp-repeater-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vp-repeater-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vp-repeater-item {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-repeater-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vp-media-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vp-media-preview img {
  max-width: 120px;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
}

.vp-file-preview a {
  color: #fbbf24;
  text-decoration: none;
  font-size: 14px;
}

.vp-remove-media,
.vp-remove-file,
.vp-remove-row {
  background: transparent;
  color: #fca5a5;
  border: 1px solid rgba(252,165,165,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  width: fit-content;
}
/* === VUEPORTAL FALLBACK CARDS === */

.fallback-art{
	position:absolute;inset:0;
	display:flex;align-items:center;justify-content:center;
}

.fallback-icon{
	width:110px;height:110px;border-radius:999px;
	display:flex;align-items:center;justify-content:center;
	background:rgba(255,255,255,.14);
	border:1px solid rgba(255,255,255,.2);
	font-size:48px;font-weight:800;color:#fff;
	backdrop-filter:blur(8px);
	box-shadow:0 20px 40px rgba(0,0,0,.22);
}

.fallback-1{background:linear-gradient(135deg,#0f172a,#1d4ed8)}
.fallback-2{background:linear-gradient(135deg,#0f172a,#0ea5e9)}
.fallback-3{background:linear-gradient(135deg,#1e293b,#7c3aed)}
.fallback-4{background:linear-gradient(135deg,#111827,#f59e0b)}
.fallback-5{background:linear-gradient(135deg,#0b1320,#10b981)}
.fallback-6{background:linear-gradient(135deg,#172033,#ef4444)}