/* ═══════════════════════════════════════════════════════════════
   VOTIFY — Unified Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ── */
:root {
  /* Colors */
  --v-black:     #070a07;
  --v-black2:    #0c0f0c;
  --v-surface:   #101410;
  --v-surface2:  #161c16;
  --v-surface3:  #1c241c;
  --v-border:    rgba(60,160,60,.11);
  --v-border2:   rgba(60,160,60,.25);
  --v-green:     #2dcc5c;
  --v-green2:    #1fa846;
  --v-green-dim: rgba(45,204,92,.08);
  --v-text:      #dfeadf;
  --v-text-secondary: #a8b8a8;
  --v-muted:     #637563;
  --v-danger:    #e05252;
  --v-danger-dim: rgba(224,82,82,.1);
  --v-warning:   #f0a500;
  --v-warning-dim: rgba(240,165,0,.1);
  --v-info:      #5ca0e0;
  --v-info-dim:  rgba(92,160,224,.1);
  --v-white:     #ffffff;

  /* Spacing */
  --v-sp-xs: 4px;
  --v-sp-sm: 8px;
  --v-sp-md: 16px;
  --v-sp-lg: 24px;
  --v-sp-xl: 32px;
  --v-sp-2xl: 48px;
  --v-sp-3xl: 64px;

  /* Radii */
  --v-radius-sm: 6px;
  --v-radius: 10px;
  --v-radius-lg: 14px;
  --v-radius-xl: 20px;
  --v-radius-full: 50px;

  /* Shadows */
  --v-shadow-sm: 0 1px 3px rgba(0,0,0,.25);
  --v-shadow: 0 4px 16px rgba(0,0,0,.35);
  --v-shadow-lg: 0 12px 40px rgba(0,0,0,.5);
  --v-shadow-green: 0 0 24px rgba(45,204,92,.12);

  /* Typography */
  --v-font-body: 'Plus Jakarta Sans', 'Open Sans', sans-serif;
  --v-font-heading: 'Space Grotesk', 'Roboto', sans-serif;

  /* Transitions */
  --v-transition: 0.2s ease;
  --v-transition-slow: 0.35s ease;

  /* Z-index */
  --v-z-dropdown: 100;
  --v-z-sticky: 200;
  --v-z-modal-backdrop: 1040;
  --v-z-modal: 1050;
  --v-z-toast: 1100;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--v-font-body);
  background: var(--v-black);
  color: var(--v-text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--v-green);
  text-decoration: none;
  transition: color var(--v-transition);
}
a:hover {
  color: var(--v-green2);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--v-font-heading);
  color: var(--v-text);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--v-sp-md) 0;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(45,204,92,.25);
  color: var(--v-text);
}

/* ── 3. LAYOUT ── */
.v-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--v-sp-lg);
}

.v-page {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

.v-section {
  padding: var(--v-sp-3xl) 0;
}

.v-section-header {
  margin-bottom: var(--v-sp-xl);
}

.v-section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v-green);
  margin-bottom: var(--v-sp-xs);
}

.v-section-title {
  font-family: var(--v-font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
}

/* Grid */
.v-grid {
  display: grid;
  gap: var(--v-sp-lg);
}

.v-grid-2 { grid-template-columns: repeat(2, 1fr); }
.v-grid-3 { grid-template-columns: repeat(3, 1fr); }
.v-grid-4 { grid-template-columns: repeat(4, 1fr); }
.v-grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

@media (max-width: 991px) {
  .v-grid-3, .v-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .v-grid-2, .v-grid-3, .v-grid-4, .v-grid-auto { grid-template-columns: 1fr; }
}

/* Flex */
.v-flex { display: flex; }
.v-flex-center { display: flex; align-items: center; justify-content: center; }
.v-flex-between { display: flex; align-items: center; justify-content: space-between; }
.v-flex-col { display: flex; flex-direction: column; }
.v-gap-sm { gap: var(--v-sp-sm); }
.v-gap-md { gap: var(--v-sp-md); }
.v-gap-lg { gap: var(--v-sp-lg); }

/* ── 4. HEADER / NAVBAR ── */
.v-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--v-z-sticky);
  background: rgba(7,10,7,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--v-border);
}

.v-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--v-sp-lg);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--v-font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--v-text);
}
.v-logo:hover { color: var(--v-text); }
.v-logo img { height: 40px; width: auto; }

.v-nav-links {
  display: flex;
  align-items: center;
  gap: var(--v-sp-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-nav-links a {
  color: var(--v-muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--v-transition);
  padding: 6px 0;
}
.v-nav-links a:hover,
.v-nav-links a.active {
  color: var(--v-text);
}

.v-header-actions {
  display: flex;
  align-items: center;
  gap: var(--v-sp-sm);
}

/* Mobile nav toggle */
.v-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--v-border2);
  color: var(--v-text);
  width: 40px;
  height: 40px;
  border-radius: var(--v-radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background var(--v-transition), border-color var(--v-transition);
}
.v-nav-toggle:hover {
  background: var(--v-surface2);
  border-color: var(--v-green);
}

.v-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(7,10,7,.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--v-border);
  padding: var(--v-sp-md) var(--v-sp-lg);
  z-index: var(--v-z-sticky);
}

.v-mobile-menu.open {
  display: block;
}

.v-mobile-menu a {
  display: block;
  padding: var(--v-sp-sm) 0;
  color: var(--v-muted);
  font-size: 1rem;
  font-weight: 500;
}
.v-mobile-menu a:hover {
  color: var(--v-text);
}

@media (max-width: 860px) {
  .v-nav-links { display: none; }
  .v-header-desktop-cta { display: none; }
  .v-nav-toggle { display: flex; }
}

/* ── 5. BUTTONS ── */
.v-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--v-sp-sm);
  padding: 10px 24px;
  border-radius: var(--v-radius-full);
  font-family: var(--v-font-body);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--v-transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.v-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary */
.v-btn-primary {
  background: var(--v-green);
  color: var(--v-black);
}
.v-btn-primary:hover {
  background: var(--v-green2);
  color: var(--v-white);
  transform: translateY(-1px);
  box-shadow: var(--v-shadow-green);
}

/* Secondary / Outline */
.v-btn-outline {
  background: transparent;
  color: var(--v-text);
  border: 1px solid var(--v-border2);
}
.v-btn-outline:hover {
  background: rgba(255,255,255,.04);
  border-color: var(--v-green);
  color: var(--v-green);
}

/* Danger */
.v-btn-danger {
  background: var(--v-danger);
  color: var(--v-white);
}
.v-btn-danger:hover {
  background: #c94444;
  transform: translateY(-1px);
}

/* Ghost */
.v-btn-ghost {
  background: transparent;
  color: var(--v-muted);
}
.v-btn-ghost:hover {
  color: var(--v-text);
  background: var(--v-surface2);
}

/* Sizes */
.v-btn-sm {
  padding: 6px 16px;
  font-size: .82rem;
}
.v-btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* Icon button */
.v-btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--v-radius-sm);
}

/* ── 6. CARDS ── */
.v-card {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  overflow: hidden;
  transition: transform var(--v-transition-slow), border-color var(--v-transition-slow), box-shadow var(--v-transition-slow);
}

.v-card:hover {
  transform: translateY(-4px);
  border-color: var(--v-border2);
  box-shadow: var(--v-shadow-lg);
}

.v-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.v-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--v-transition-slow);
}

.v-card:hover .v-card-img img {
  transform: scale(1.05);
}

.v-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,10,7,.85) 0%, transparent 50%);
}

.v-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--v-green);
  color: var(--v-black);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--v-radius-full);
}

.v-card-body {
  padding: var(--v-sp-md) var(--v-sp-lg) var(--v-sp-lg);
}

.v-card-title {
  font-family: var(--v-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--v-sp-sm);
  line-height: 1.4;
}

.v-card-text {
  font-size: .9rem;
  color: var(--v-muted);
  line-height: 1.6;
  margin-bottom: var(--v-sp-md);
}

.v-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-card-meta {
  font-size: .85rem;
  color: var(--v-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.v-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--v-green-dim);
  border: 1px solid rgba(45,204,92,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v-green);
  font-size: .85rem;
  transition: all var(--v-transition);
}

.v-card:hover .v-card-arrow {
  background: var(--v-green);
  color: var(--v-black);
  transform: scale(1.1);
}

/* ── 7. BREADCRUMBS ── */
.v-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--v-sp-sm);
  list-style: none;
  padding: var(--v-sp-md) 0 var(--v-sp-lg);
  margin: 0;
  font-size: .85rem;
  color: var(--v-muted);
}

.v-breadcrumb a {
  color: var(--v-muted);
  transition: color var(--v-transition);
}

.v-breadcrumb a:hover {
  color: var(--v-green);
}

.v-breadcrumb-sep {
  color: var(--v-surface3);
}

.v-breadcrumb-current {
  color: var(--v-text);
  font-weight: 500;
}

/* ── 8. FORMS ── */
.v-form-group {
  margin-bottom: var(--v-sp-lg);
}

.v-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--v-text-secondary);
  margin-bottom: var(--v-sp-xs);
}

.v-label span {
  color: var(--v-green);
}

.v-input,
.v-textarea,
.v-select {
  width: 100%;
  padding: 11px 16px;
  background: var(--v-black2);
  border: 1px solid var(--v-border2);
  border-radius: var(--v-radius);
  color: var(--v-text);
  font-family: var(--v-font-body);
  font-size: .92rem;
  transition: border-color var(--v-transition), box-shadow var(--v-transition);
  outline: none;
}

.v-input::placeholder,
.v-textarea::placeholder {
  color: var(--v-muted);
}

.v-input:focus,
.v-textarea:focus,
.v-select:focus {
  border-color: var(--v-green);
  box-shadow: 0 0 0 3px var(--v-green-dim);
}

.v-input:disabled,
.v-textarea:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.v-textarea {
  resize: vertical;
  min-height: 100px;
}

.v-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23637563' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.v-file-input {
  width: 100%;
  padding: 10px 16px;
  background: var(--v-black2);
  border: 1px dashed var(--v-border2);
  border-radius: var(--v-radius);
  color: var(--v-muted);
  font-size: .88rem;
  cursor: pointer;
  transition: border-color var(--v-transition);
}

.v-file-input:hover {
  border-color: var(--v-green);
}

.v-file-input:focus {
  border-color: var(--v-green);
  box-shadow: 0 0 0 3px var(--v-green-dim);
}

.v-checkbox {
  display: flex;
  align-items: center;
  gap: var(--v-sp-sm);
  cursor: pointer;
  font-size: .88rem;
  color: var(--v-muted);
}

.v-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--v-green);
  cursor: pointer;
}

/* ── 9. MODALS ── */
.v-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: var(--v-z-modal-backdrop);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--v-sp-lg);
}

.v-modal-backdrop.show {
  display: flex;
}

.v-modal {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: var(--v-z-modal);
  animation: vModalIn .25s ease;
}

@keyframes vModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.v-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--v-sp-lg);
  border-bottom: 1px solid var(--v-border);
}

.v-modal-title {
  font-family: var(--v-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.v-modal-close {
  background: none;
  border: none;
  color: var(--v-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  line-height: 1;
  transition: color var(--v-transition);
}

.v-modal-close:hover {
  color: var(--v-text);
}

.v-modal-body {
  padding: var(--v-sp-lg);
}

.v-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--v-sp-sm);
  padding: var(--v-sp-md) var(--v-sp-lg);
  border-top: 1px solid var(--v-border);
}

/* Bootstrap modal overrides */
.modal-content {
  background: var(--v-surface) !important;
  border: 1px solid var(--v-border) !important;
  border-radius: var(--v-radius-lg) !important;
  color: var(--v-text) !important;
}

.modal-header {
  border-bottom: 1px solid var(--v-border) !important;
  padding: var(--v-sp-lg) !important;
}

.modal-header .modal-title {
  font-family: var(--v-font-heading) !important;
  font-weight: 700 !important;
  color: var(--v-text) !important;
}

.modal-body {
  padding: var(--v-sp-lg) !important;
  color: var(--v-text-secondary) !important;
}

.modal-footer {
  border-top: 1px solid var(--v-border) !important;
  padding: var(--v-sp-md) var(--v-sp-lg) !important;
}

.modal-header .close {
  color: var(--v-muted) !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: invert(1);
}

.modal-header .close:hover {
  color: var(--v-text) !important;
}

.modal-backdrop.show {
  background: rgba(0,0,0,.7) !important;
}

/* ── 10. BADGES / TAGS ── */
.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--v-radius-full);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.v-badge-green {
  background: var(--v-green-dim);
  color: var(--v-green);
  border: 1px solid rgba(45,204,92,.2);
}

.v-badge-danger {
  background: var(--v-danger-dim);
  color: var(--v-danger);
  border: 1px solid rgba(224,82,82,.2);
}

.v-badge-warning {
  background: var(--v-warning-dim);
  color: var(--v-warning);
  border: 1px solid rgba(240,165,0,.2);
}

.v-badge-info {
  background: var(--v-info-dim);
  color: var(--v-info);
  border: 1px solid rgba(92,160,224,.2);
}

/* ── 11. SIDEBAR ── */
.v-sidebar {
  position: sticky;
  top: 88px;
}

.v-sidebar-card {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  padding: var(--v-sp-lg);
  margin-bottom: var(--v-sp-lg);
}

.v-sidebar-title {
  font-family: var(--v-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--v-text);
  margin-bottom: var(--v-sp-md);
  padding-bottom: var(--v-sp-sm);
  border-bottom: 1px solid var(--v-border);
}

.v-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v-sidebar-list li {
  display: flex;
  align-items: center;
  gap: var(--v-sp-md);
  padding: var(--v-sp-sm) 0;
  font-size: .9rem;
  color: var(--v-text-secondary);
}

.v-sidebar-list li i {
  color: var(--v-green);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.v-sidebar-list li .label {
  color: var(--v-muted);
  font-size: .82rem;
}

.v-sidebar-list li .value {
  color: var(--v-text);
  font-weight: 600;
}

/* ── 12. TABS ── */
.v-tabs {
  display: flex;
  gap: 2px;
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  padding: var(--v-sp-xs);
  margin-bottom: var(--v-sp-lg);
}

.v-tab {
  flex: 1;
  padding: var(--v-sp-sm) var(--v-sp-md);
  border: none;
  background: transparent;
  color: var(--v-muted);
  font-family: var(--v-font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--v-radius);
  transition: all var(--v-transition);
  text-align: center;
}

.v-tab:hover {
  color: var(--v-text);
  background: var(--v-surface2);
}

.v-tab.active {
  background: var(--v-green);
  color: var(--v-black);
}

.v-tab-content {
  display: none;
}

.v-tab-content.active {
  display: block;
}

/* ── 13. TABLES ── */
.v-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.v-table th {
  text-align: left;
  padding: var(--v-sp-md);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--v-muted);
  border-bottom: 1px solid var(--v-border2);
}

.v-table td {
  padding: var(--v-sp-md);
  border-bottom: 1px solid var(--v-border);
  color: var(--v-text-secondary);
}

.v-table tr:hover td {
  background: var(--v-surface2);
}

/* ── 14. STAT CARDS ── */
.v-stat-card {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  padding: var(--v-sp-lg);
  text-align: center;
}

.v-stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--v-radius);
  background: var(--v-green-dim);
  border: 1px solid rgba(45,204,92,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--v-sp-md);
  color: var(--v-green);
  font-size: 1.2rem;
}

.v-stat-card-value {
  font-family: var(--v-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v-text);
  margin-bottom: var(--v-sp-xs);
}

.v-stat-card-label {
  font-size: .82rem;
  color: var(--v-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 15. EMPTY STATE ── */
.v-empty {
  text-align: center;
  padding: var(--v-sp-3xl) var(--v-sp-lg);
}

.v-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--v-surface2);
  border: 1px solid var(--v-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--v-sp-lg);
  font-size: 1.6rem;
  color: var(--v-muted);
}

.v-empty-title {
  font-family: var(--v-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--v-sp-sm);
}

.v-empty-text {
  color: var(--v-muted);
  font-size: .9rem;
  margin-bottom: var(--v-sp-lg);
}

/* ── 16. AVATAR ── */
.v-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--v-border2);
  flex-shrink: 0;
}

.v-avatar-sm {
  width: 32px;
  height: 32px;
}

.v-avatar-lg {
  width: 64px;
  height: 64px;
}

/* ── 17. DIVIDER ── */
.v-divider {
  height: 1px;
  background: var(--v-border);
  border: none;
  margin: var(--v-sp-lg) 0;
}

/* ── 18. FOOTER ── */
.v-footer {
  background: var(--v-black2);
  border-top: 1px solid var(--v-border);
  padding: var(--v-sp-3xl) 0 var(--v-sp-lg);
  margin-top: var(--v-sp-3xl);
}

.v-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--v-sp-2xl);
  margin-bottom: var(--v-sp-2xl);
}

.v-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--v-font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--v-text);
  margin-bottom: var(--v-sp-md);
}

.v-footer-brand img {
  height: 32px;
}

.v-footer-desc {
  color: var(--v-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: var(--v-sp-md);
}

.v-footer-social {
  display: flex;
  gap: var(--v-sp-sm);
}

.v-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--v-radius-sm);
  background: var(--v-surface2);
  border: 1px solid var(--v-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v-muted);
  transition: all var(--v-transition);
}

.v-footer-social a:hover {
  background: var(--v-green);
  border-color: var(--v-green);
  color: var(--v-black);
}

.v-footer-heading {
  font-family: var(--v-font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--v-text);
  margin-bottom: var(--v-sp-md);
}

.v-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v-footer-links li {
  margin-bottom: var(--v-sp-sm);
}

.v-footer-links a {
  color: var(--v-muted);
  font-size: .88rem;
  transition: color var(--v-transition);
}

.v-footer-links a:hover {
  color: var(--v-green);
}

.v-footer-bottom {
  padding-top: var(--v-sp-lg);
  border-top: 1px solid var(--v-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--v-sp-md);
}

.v-footer-bottom p {
  color: var(--v-muted);
  font-size: .85rem;
  margin: 0;
}

.v-footer-bottom a {
  color: var(--v-green);
}

@media (max-width: 768px) {
  .v-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .v-footer-grid {
    grid-template-columns: 1fr;
  }
  .v-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 19. UTILITIES ── */
.v-text-center { text-align: center; }
.v-text-right { text-align: right; }
.v-text-green { color: var(--v-green); }
.v-text-muted { color: var(--v-muted); }
.v-text-danger { color: var(--v-danger); }
.v-text-warning { color: var(--v-warning); }
.v-text-sm { font-size: .85rem; }
.v-text-xs { font-size: .78rem; }
.v-fw-600 { font-weight: 600; }
.v-fw-700 { font-weight: 700; }
.v-mt-0 { margin-top: 0 !important; }
.v-mb-0 { margin-bottom: 0 !important; }
.v-mb-sm { margin-bottom: var(--v-sp-sm); }
.v-mb-md { margin-bottom: var(--v-sp-md); }
.v-mb-lg { margin-bottom: var(--v-sp-lg); }
.v-mb-xl { margin-bottom: var(--v-sp-xl); }
.v-mt-md { margin-top: var(--v-sp-md); }
.v-mt-lg { margin-top: var(--v-sp-lg); }
.v-mt-xl { margin-top: var(--v-sp-xl); }
.v-p-md { padding: var(--v-sp-md); }
.v-p-lg { padding: var(--v-sp-lg); }
.v-w-full { width: 100%; }
.v-hidden { display: none; }
.v-relative { position: relative; }

/* ── 20. SCROLLBAR ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--v-black2);
}
::-webkit-scrollbar-thumb {
  background: var(--v-surface3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--v-muted);
}

/* ── 21. ANIMATIONS ── */
@keyframes vFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes vSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.v-fade-in {
  animation: vFadeIn .4s ease both;
}

.v-loading {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: vSpin .6s linear infinite;
}

/* ── 22. NOTYF OVERRIDES ── */
.notyf {
  z-index: var(--v-z-toast) !important;
}

.notyf__ripple {
  display: none !important;
}

/* ── 23. FORM LAYOUT (horizontal label+input) ── */
.v-form-row {
  display: flex;
  align-items: flex-start;
  gap: var(--v-sp-md);
  margin-bottom: var(--v-sp-lg);
}

.v-form-row .v-label {
  flex: 0 0 180px;
  padding-top: 11px;
  margin-bottom: 0;
  text-align: right;
}

.v-form-row .v-form-field {
  flex: 1;
}

@media (max-width: 576px) {
  .v-form-row {
    flex-direction: column;
  }
  .v-form-row .v-label {
    flex: none;
    text-align: left;
    padding-top: 0;
    margin-bottom: var(--v-sp-xs);
  }
}

/* ── 24. CANDIDAT GRID (vote-details page) ── */
.v-candidat-card {
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-lg);
  overflow: hidden;
  transition: transform var(--v-transition-slow), border-color var(--v-transition-slow), box-shadow var(--v-transition-slow);
}

.v-candidat-card:hover {
  transform: translateY(-4px);
  border-color: var(--v-border2);
  box-shadow: var(--v-shadow-lg);
}

.v-candidat-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.v-candidat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--v-transition-slow);
}

.v-candidat-card:hover .v-candidat-card-img img {
  transform: scale(1.05);
}

.v-candidat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,10,7,.9) 0%, transparent 55%);
}

.v-candidat-card-body {
  padding: var(--v-sp-lg);
}

.v-candidat-card-name {
  font-family: var(--v-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--v-sp-sm);
}

.v-candidat-card-desc {
  font-size: .88rem;
  color: var(--v-muted);
  line-height: 1.6;
  margin-bottom: var(--v-sp-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v-candidat-card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-candidat-votes {
  font-family: var(--v-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--v-green);
}

.v-candidat-card-actions {
  display: flex;
  gap: var(--v-sp-sm);
}

/* ── 25. HERO IMAGE (vote/candidat detail) ── */
.v-hero-img {
  position: relative;
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  border-radius: var(--v-radius-lg);
}

.v-hero-img img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.v-hero-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--v-green);
  color: var(--v-black);
  padding: 6px 16px;
  border-radius: var(--v-radius-full);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── 26. ACTION BAR (top of detail pages) ── */
.v-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--v-sp-sm);
}

.v-action-bar-actions {
  display: flex;
  gap: var(--v-sp-sm);
  flex-wrap: wrap;
}

/* ── 27. PROGRESS BAR ── */
.v-progress {
  width: 100%;
  height: 8px;
  background: var(--v-surface3);
  border-radius: 4px;
  overflow: hidden;
}

.v-progress-bar {
  height: 100%;
  background: var(--v-green);
  border-radius: 4px;
  transition: width .5s ease;
}

/* ── 28. PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--v-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s;
}

#preloader::after {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid var(--v-surface3);
  border-top-color: var(--v-green);
  border-radius: 50%;
  animation: vSpin .8s linear infinite;
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}
