/* ==========================================================================
   Vinguele - Event Detail Redesign CSS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --vg-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --vg-font-serif: 'Anton', sans-serif;
  --vg-pink: #e7015e;
  --vg-pink-hover: #c40150;
  --vg-pink-light: #fff0f5;
  --vg-green: #00B074;
  --vg-green-light: #E6F7F1;
  --vg-navy: #110D3B;
  --vg-navy-light: #1c184c;
  --vg-text-dark: #1E293B;
  --vg-text-muted: #64748B;
  --vg-border: #E2E8F0;
  --vg-bg-light: #FAFAFC;
}

.vg-detail-page {
  font-family: var(--vg-font-sans);
  background-color: var(--vg-bg-light);
  min-height: 100vh;
  padding-bottom: 90px;
  padding-top: 10px;
  overflow-x: hidden;
}

/* Back Link */
.vg-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vg-navy);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  margin: 20px 0;
  transition: all 0.2s ease;
}

.vg-detail-back:hover {
  color: var(--vg-pink);
  transform: translateX(-3px);
}

/* ==========================================================================
   Hero Banner Area
   ========================================================================== */

.vg-detail-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.vg-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 13, 59, 0.1) 0%, rgba(17, 13, 59, 0.4) 50%, rgba(17, 13, 59, 0.85) 100%);
  pointer-events: none;
}

.vg-hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.vg-detail-badge {
  background-color: var(--vg-pink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(231, 1, 94, 0.35);
}

.vg-detail-title {
  font-family: var(--vg-font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .vg-detail-hero {
    height: 320px;
    padding: 24px;
    border-radius: 20px;
  }
  .vg-detail-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Floating Meta Info Card
   ========================================================================== */

.vg-meta-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--vg-border);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.vg-meta-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vg-meta-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--vg-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.vg-meta-text .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--vg-text-muted);
  display: block;
  margin-bottom: 2px;
}

.vg-meta-text .val {
  font-size: 15px;
  font-weight: 700;
  color: var(--vg-navy);
  display: block;
}

@media (max-width: 768px) {
  .vg-meta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
}

/* ==========================================================================
   2-Column Layout (Main Content + Sidebar)
   ========================================================================== */

.vg-detail-layout {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  align-items: flex-start;
}

.vg-detail-main {
  flex: 1;
  min-width: 0;
}

.vg-detail-sidebar {
  width: 380px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

@media (max-width: 991.98px) {
  .vg-detail-layout {
    flex-direction: column;
  }
  .vg-detail-sidebar {
    width: 100%;
    position: static;
  }
}

/* About / Content Card */
.vg-about-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--vg-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 30px;
}

.vg-section-h3 {
  font-family: var(--vg-font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin-bottom: 18px;
}

.vg-about-content {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.vg-organizer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  color: var(--vg-text-muted);
}

.vg-organizer-note strong {
  color: var(--vg-navy);
}

/* ==========================================================================
   Sidebar Options Card (Tickets & Registration)
   ========================================================================== */

.vg-sidebar-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--vg-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.vg-sidebar-title {
  font-family: var(--vg-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin-bottom: 20px;
}

/* Ticket Option Card */
.vg-option-item {
  border: 1.5px solid var(--vg-border);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  background: #ffffff;
}

.vg-option-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.vg-option-item.selected {
  border-color: var(--vg-pink);
  background: var(--vg-pink-light);
  box-shadow: 0 4px 14px rgba(231, 1, 94, 0.12);
}

.vg-option-item.selected-green {
  border-color: var(--vg-green);
  background: var(--vg-green-light);
  box-shadow: 0 4px 14px rgba(0, 176, 116, 0.12);
}

.vg-option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.vg-option-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--vg-navy);
  margin-bottom: 4px;
}

.vg-option-item.selected .vg-option-name {
  color: var(--vg-pink);
}

.vg-option-item.selected-green .vg-option-name {
  color: var(--vg-green);
}

.vg-option-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--vg-navy);
}

.vg-option-desc {
  font-size: 12px;
  color: var(--vg-text-muted);
  line-height: 1.4;
  margin-top: 6px;
}

.vg-check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.vg-option-item.selected .vg-check-circle {
  background: var(--vg-pink);
  border-color: var(--vg-pink);
  color: #ffffff;
}

.vg-option-item.selected-green .vg-check-circle {
  background: var(--vg-green);
  border-color: var(--vg-green);
  color: #ffffff;
}

/* Main CTA Buttons in Sidebar */
.vg-btn-cta-pink {
  background: var(--vg-pink);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 6px 20px rgba(231, 1, 94, 0.35);
  transition: all 0.25s ease;
  margin-top: 16px;
}

.vg-btn-cta-pink:hover {
  background: var(--vg-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 1, 94, 0.45);
}

.vg-btn-cta-green {
  background: var(--vg-green);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 176, 116, 0.3);
  transition: all 0.25s ease;
  margin-top: 16px;
}

.vg-btn-cta-green:hover {
  background: #009663;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 176, 116, 0.4);
}

.vg-cta-subtext {
  text-align: center;
  font-size: 12px;
  color: var(--vg-text-muted);
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Trust Badges */
.vg-trust-list {
  list-style: none;
  padding: 16px 0 0 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vg-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--vg-text-dark);
}

.vg-trust-item a {
  color: var(--vg-text-dark);
  text-decoration: none !important;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.vg-trust-item a:hover {
  color: var(--vg-pink);
}

.vg-trust-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--vg-text-dark);
  flex-shrink: 0;
}

.vg-trust-icon-green {
  background: var(--vg-green-light);
  color: var(--vg-green);
}

/* Organisateur Card */
.vg-organizer-box {
  background: #F4EFEA;
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.vg-org-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vg-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.vg-org-text .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8c7f75;
  letter-spacing: 0.5px;
  display: block;
}

.vg-org-text .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--vg-navy);
  display: block;
}

/* ==========================================================================
   Sticky Bottom Bar (Persistent Mobile / Quick Action)
   ========================================================================== */

.vg-sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--vg-border);
  padding: 12px 32px;
  z-index: 999;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.vg-sticky-info-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--vg-navy);
  margin: 0;
}

.vg-sticky-info-sub {
  font-size: 12px;
  color: var(--vg-text-muted);
  margin: 0;
}

.vg-sticky-btn {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none !important;
}

/* ==========================================================================
   Voting / Contest Section Styles
   ========================================================================== */

.vg-contest-hero-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--vg-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 36px;
}

.vg-contest-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.vg-badge-status-peach {
  background: #FFF0E8;
  color: #FF5A1F;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 50px;
}

.vg-badge-chat-green {
  background: #E8F7F0;
  color: var(--vg-green);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.vg-badge-chat-green:hover {
  background: #d4f2e3;
  color: #007a50;
}

.vg-contest-title {
  font-family: var(--vg-font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.vg-contest-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--vg-text-muted);
  max-width: 680px;
  margin-bottom: 24px;
}

.vg-contest-stats-row {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.vg-contest-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vg-contest-stat-item i {
  color: var(--vg-pink);
  font-size: 18px;
}

.vg-contest-stat-item .stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vg-text-muted);
  letter-spacing: 0.6px;
  display: block;
}

.vg-contest-stat-item .stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--vg-navy);
  display: block;
}

/* Candidate Category Filter Bar */
.vg-candidates-filter-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.vg-candidates-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--vg-text-muted);
}

.vg-candidates-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vg-candidates-cats::-webkit-scrollbar {
  display: none;
}

.vg-contest-cat-pill {
  background: #ffffff;
  border: 1px solid var(--vg-border);
  color: var(--vg-text-muted);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
  white-space: nowrap;
}

.vg-contest-cat-pill.active {
  background: #FFE6F0;
  border-color: #FFB3D1;
  color: var(--vg-pink) !important;
}

/* Candidates Grid Header (Title + Search) */
.vg-candidates-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.vg-candidates-count-title {
  font-family: var(--vg-font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin: 0;
}

.vg-candidate-search-input {
  background: #ffffff;
  border: 1px solid var(--vg-border);
  border-radius: 50px;
  padding: 9px 20px 9px 40px;
  font-size: 14px;
  color: var(--vg-text-dark);
  outline: none;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.vg-candidate-search-input:focus {
  border-color: var(--vg-pink);
}

.vg-candidate-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vg-candidate-search-wrap i {
  position: absolute;
  left: 16px;
  color: #94A3B8;
  font-size: 13px;
}

/* Candidate Card */
.vg-candidate-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--vg-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vg-candidate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(231, 1, 94, 0.25);
}

.vg-cand-media {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #f1f5f9;
  overflow: hidden;
}

.vg-cand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vg-candidate-card:hover .vg-cand-img {
  transform: scale(1.05);
}

.vg-cand-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.vg-cand-rank-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 32px;
  height: 30px;
  padding: 0 10px;
  border-radius: 50px;
  background: #FFB800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  gap: 3px;
  z-index: 2;
}

.vg-cand-rank-badge.rank-1 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #111111;
}

.vg-cand-rank-badge.rank-2 {
  background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
  color: #0F172A;
}

.vg-cand-rank-badge.rank-3 {
  background: linear-gradient(135deg, #FDBA74 0%, #C2410C 100%);
  color: #ffffff;
}

.vg-cand-rank-badge.rank-other {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
}

.vg-cand-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  margin-left: 6px;
}

.vg-cand-cat-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(17, 13, 59, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.vg-cand-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vg-cand-name {
  font-family: var(--vg-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin-bottom: 4px;
}

.vg-cand-votes {
  font-size: 13px;
  color: var(--vg-text-muted);
  font-weight: 500;
  margin-bottom: 18px;
}

.vg-cand-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vg-cand-vote-btn {
  flex: 1;
  background: var(--vg-pink);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(231, 1, 94, 0.25);
  border: none;
}

.vg-cand-vote-btn:hover {
  background: var(--vg-pink-hover);
  transform: translateY(-1px);
}

.vg-cand-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--vg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vg-navy);
  text-decoration: none !important;
  transition: all 0.2s;
  flex-shrink: 0;
}

.vg-cand-arrow-btn:hover {
  background: var(--vg-navy);
  color: #ffffff;
  border-color: var(--vg-navy);
}

/* ==========================================================================
   Horizontal Scrollable Candidates by Category
   ========================================================================== */
.vg-category-block {
  margin-bottom: 48px;
  position: relative;
}

.vg-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F1F5F9;
  flex-wrap: wrap;
  gap: 12px;
}

.vg-category-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vg-category-title {
  font-family: var(--vg-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vg-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vg-category-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vg-pink);
  display: inline-block;
  flex-shrink: 0;
}

.vg-category-count-badge {
  background: #F1F5F9;
  color: #64748B;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #E2E8F0;
  letter-spacing: 0.3px;
}

.vg-category-scroll-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vg-scroll-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--vg-border);
  color: var(--vg-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  font-size: 13px;
}

.vg-scroll-arrow-btn:hover {
  background: var(--vg-navy);
  color: #ffffff;
  border-color: var(--vg-navy);
  transform: scale(1.06);
}

.vg-category-desc {
  font-size: 14px;
  color: var(--vg-text-muted);
  margin-top: -6px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Horizontal scroll track */
.vg-candidates-horizontal-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 10px 4px 24px 4px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(231, 1, 94, 0.25) rgba(0, 0, 0, 0.03);
}

.vg-candidates-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.vg-candidates-horizontal-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.vg-candidates-horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(231, 1, 94, 0.25);
  border-radius: 10px;
}

.vg-candidates-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(231, 1, 94, 0.6);
}

.vg-candidate-card-col {
  flex: 0 0 285px;
  width: 285px;
  max-width: 285px;
  scroll-snap-align: start;
  display: flex;
}

.vg-candidate-card-col .vg-candidate-card {
  width: 100%;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .vg-category-block {
    margin-bottom: 36px;
  }
  .vg-category-title {
    font-size: 1.35rem;
  }
  .vg-candidate-card-col {
    flex: 0 0 275px;
    width: 275px;
    max-width: 275px;
  }
  .vg-candidates-horizontal-scroll {
    gap: 14px;
    padding-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .vg-category-block {
    margin-bottom: 28px;
  }
  .vg-category-title {
    font-size: 1.2rem;
  }
  .vg-candidate-card-col {
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
  }
  .vg-cand-media {
    height: 195px;
  }
  .vg-cand-name {
    font-size: 1.15rem;
  }
  .vg-cand-body {
    padding: 14px;
  }
  .vg-cand-votes {
    margin-bottom: 12px;
  }
  .vg-cand-vote-btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .vg-cand-arrow-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   Cagnotte (Crowdfunding) Redesign Styles
   ========================================================================== */

/* Back link for cagnottes */
.vg-cagnotte-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vg-navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

.vg-cagnotte-back-link:hover {
  color: var(--vg-pink);
  transform: translateX(-4px);
}

/* Cover Image */
.vg-cagnotte-cover {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
  background-color: #E2E8F0;
}

@media (max-width: 768px) {
  .vg-cagnotte-cover {
    height: 260px;
    border-radius: 20px;
  }
}

.vg-cagnotte-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vg-cagnotte-cat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ffffff;
  color: var(--vg-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

/* Title & Organizer */
.vg-cagnotte-title {
  font-family: var(--vg-font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--vg-navy);
  line-height: 1.25;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .vg-cagnotte-title {
    font-size: 28px;
  }
}

.vg-cagnotte-organizer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.vg-cagnotte-org-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vg-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}

.vg-cagnotte-org-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vg-cagnotte-org-meta {
  display: flex;
  flex-direction: column;
}

.vg-cagnotte-org-label {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.vg-cagnotte-org-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--vg-navy);
}

.vg-cagnotte-divider {
  border: none;
  border-top: 1px solid var(--vg-border);
  margin: 24px 0 30px 0;
}

/* Story section */
.vg-cagnotte-story-title {
  font-family: var(--vg-font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--vg-navy);
  margin-bottom: 12px;
  margin-top: 24px;
}

.vg-cagnotte-story-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Supporters Card (Derniers soutiens) */
.vg-cagnotte-supporters-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--vg-border);
  margin-top: 40px;
}

@media (max-width: 576px) {
  .vg-cagnotte-supporters-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

.vg-supporters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.vg-supporters-title {
  font-family: var(--vg-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--vg-navy);
  margin: 0;
}

.vg-supporters-count-pill {
  background: #F1F5F9;
  color: #64748B;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Individual Supporter Item */
.vg-supporter-item {
  background: #FAF8F5;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.vg-supporter-item:last-child {
  margin-bottom: 0;
}

.vg-supporter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.vg-supporter-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vg-supporter-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #EFF6FF;
  color: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.vg-supporter-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.vg-supporter-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--vg-navy);
  margin-bottom: 2px;
}

.vg-supporter-time {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vg-supporter-time i {
  font-size: 10px;
}

.vg-supporter-amount {
  background: #ffffff;
  border-radius: 12px;
  padding: 7px 18px;
  font-weight: 800;
  font-size: 15px;
  color: var(--vg-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.vg-supporter-quote {
  font-size: 13px;
  color: #475569;
  font-style: italic;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 16px;
  margin: 6px 0 0 0;
  display: inline-block;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.vg-all-supporters-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748B;
  text-transform: uppercase;
  text-decoration: none !important;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--vg-border);
  transition: color 0.2s;
  cursor: pointer;
}

.vg-all-supporters-link:hover {
  color: var(--vg-navy);
}

/* ==========================================================================
   Right Column: Cagnotte Sticky Sidebar
   ========================================================================== */

.vg-cagnotte-sidebar-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

@media (max-width: 576px) {
  .vg-cagnotte-sidebar-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
}

.vg-cagnotte-amounts-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.vg-cagnotte-collected {
  font-size: 30px;
  font-weight: 800;
  color: var(--vg-navy);
  line-height: 1;
}

.vg-cagnotte-collected .currency {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  margin-left: 4px;
}

.vg-cagnotte-goal {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}

/* Progress bar */
.vg-cagnotte-bar-track {
  background: #E2E8F0;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.vg-cagnotte-bar-fill {
  background: var(--vg-navy);
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}

.vg-cagnotte-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Metrics grid */
.vg-cagnotte-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.vg-cagnotte-metric-box {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid #F1F5F9;
}

.vg-metric-icon {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--vg-navy);
}

.vg-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--vg-navy);
  line-height: 1.2;
  margin-bottom: 2px;
}

.vg-metric-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Action Buttons */
.vg-btn-participate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--vg-pink);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 18px rgba(231, 1, 94, 0.35);
  transition: all 0.25s;
  text-decoration: none !important;
  cursor: pointer;
  margin-bottom: 12px;
}

.vg-btn-participate:hover {
  background: var(--vg-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 1, 94, 0.45);
}

.vg-btn-discuss {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #E6F7F1;
  color: #00B074 !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 16px;
  border: none;
  transition: all 0.2s;
  text-decoration: none !important;
  cursor: pointer;
  margin-bottom: 12px;
}

.vg-btn-discuss:hover {
  background: #D1F2E7;
  transform: translateY(-1px);
}

.vg-btn-share-project {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #ffffff;
  color: #334155 !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 16px;
  border: 1.5px solid var(--vg-border);
  transition: all 0.2s;
  text-decoration: none !important;
  cursor: pointer;
  margin-bottom: 24px;
}

.vg-btn-share-project:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--vg-navy) !important;
}

/* Trust Box */
.vg-cagnotte-trust-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
}

.vg-cagnotte-trust-box svg,
.vg-cagnotte-trust-box i {
  color: #00B074;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Cagnotte Contribution Modal
   ========================================================================== */
#cagnotteContributionModal .modal-content {
  border-radius: 28px;
  border: 1px solid var(--vg-border);
  box-shadow: 0 20px 60px rgba(17, 13, 59, 0.2);
  overflow: hidden;
  padding: 10px;
}

#cagnotteContributionModal .modal-header {
  border-bottom: 1px solid #F1F5F9;
  padding: 20px 24px 16px 24px;
}

#cagnotteContributionModal .modal-title {
  font-family: var(--vg-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--vg-navy);
}

#cagnotteContributionModal .modal-body {
  padding: 24px;
}

.vg-cagnotte-amounts-preset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.vg-preset-btn {
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--vg-navy);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.vg-preset-btn:hover,
.vg-preset-btn.active {
  background: var(--vg-pink-light);
  border-color: var(--vg-pink);
  color: var(--vg-pink);
}

.vg-anonymity-switch {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.vg-anonymity-switch label {
  flex: 1;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}

.vg-anonymity-switch input[type="radio"]:checked + label {
  background: var(--vg-pink-light);
  border-color: var(--vg-pink);
  color: var(--vg-pink);
}

/* ==========================================================================
   Suppression de l'aspect card en vue mobile (Page Détail Événement)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Fond de page seamless */
  .vg-detail-page {
    background-color: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 60px !important;
  }

  .vg-detail-page > .container,
  .vg-voting-section > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 2. Hero card en mode concours / voting */
  .vg-contest-hero-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 16px 0 !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  /* 3. Hero banner en mode classique : bord à bord sans coins card */
  .vg-detail-hero {
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    height: 280px !important;
    padding: 24px 16px !important;
  }

  /* 4. Floating meta card : présentation fluide sans boîte */
  .vg-meta-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    gap: 12px !important;
  }
  .vg-meta-card-item {
    width: 100% !important;
  }

  /* 5. Layout principal et sidebar */
  .vg-detail-layout {
    gap: 0 !important;
    margin-top: 0 !important;
  }

  /* 6. About card : section fluide */
  .vg-about-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  /* 7. Sidebar card : section fluide */
  .vg-sidebar-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    position: static !important;
  }

  /* 8. Sections cagnotte : suppression de l'aspect card */
  .vg-cagnotte-supporters-card,
  .vg-cagnotte-sidebar-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .vg-cagnotte-sidebar-card {
    position: static !important;
  }
  .vg-cagnotte-cover {
    border-radius: 16px !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
  }

  /* 9. Supporters cagnotte : liste épurée sans boîtes */
  .vg-supporter-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #F1F5F9 !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
  }
  .vg-supporter-item:last-child {
    border-bottom: none !important;
  }

  /* 10. Défilement horizontal des candidats : pleine largeur bord à bord (sans espace avec les bordures de l'écran) */
  .vg-candidates-horizontal-scroll {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 6px !important;
    padding-bottom: 20px !important;
    gap: 14px !important;
    -webkit-overflow-scrolling: touch;
  }

  .vg-candidates-cats {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .vg-candidate-card-col {
    flex: 0 0 270px !important;
    width: 270px !important;
    max-width: 270px !important;
  }

  .vg-candidate-card {
    background: #ffffff !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
  }
  .vg-candidate-card .vg-cand-media {
    border-radius: 0 !important;
    height: 195px !important;
    overflow: hidden !important;
    background-color: #f1f5f9 !important;
  }
  .vg-candidate-card .vg-cand-body {
    padding: 16px 14px 16px 14px !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
  }

  /* 11. Section de vote */
  .vg-voting-section {
    padding: 16px 0 !important;
  }
}

