/**
 * VotigoPro Public Styles
 * WordPress Plugin Frontend — matches web app design
 *
 * Color Palette:
 *   --vp-dark-blue:   #2c3e50
 *   --vp-gray-blue:   #34495e
 *   --vp-blue:        #1e40af
 *   --vp-orange:      #ff6600
 *   --vp-green:       #0d7a3e
 *   --vp-success:     #10b981
 *   --vp-purple:      #8b5cf6
 *   --vp-amber:       #f59e0b
 */

:root {
    --vp-dark-blue: #1a2332;
    --vp-gray-blue: #2d3a4a;
    --vp-blue: #1e40af;
    --vp-blue-light: #dbeafe;
    --vp-orange: #ff6600;
    --vp-orange-hover: #e65c00;
    --vp-green: #0d7a3e;
    --vp-green-hover: #0a6332;
    --vp-green-light: #dcfce7;
    --vp-green-text: #166534;
    --vp-success: #10b981;
    --vp-purple: #8b5cf6;
    --vp-purple-light: #ede9fe;
    --vp-amber: #f59e0b;
    --vp-amber-light: #fef3c7;
    --vp-red: #ef4444;
    --vp-red-light: #fef2f2;
    --vp-red-text: #991b1b;
    --vp-text: #1e293b;
    --vp-text-muted: #64748b;
    --vp-border: #e2e8f0;
    --vp-bg: #f8fafc;
    --vp-bg-light: #f1f5f9;
    --vp-white: #fff;
    --vp-radius: 8px;
    --vp-radius-lg: 12px;
    --vp-radius-sm: 6px;
    --vp-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --vp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --vp-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.14);
    --vp-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --vp-transition: 0.2s ease;
}

/* ============================================
   Reset / Base
   ============================================ */
[class^="votigopro-"],
[class*=" votigopro-"] {
    box-sizing: border-box;
    font-family: var(--vp-font);
}

/* ============================================
   Container
   ============================================ */
.votigopro-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Grid Utility System
   ============================================ */
.votigopro-grid {
    display: grid;
    gap: 20px;
}

.votigopro-grid--2col { grid-template-columns: repeat(2, 1fr); }
.votigopro-grid--3col { grid-template-columns: repeat(3, 1fr); }
.votigopro-grid--4col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .votigopro-grid--4col { grid-template-columns: repeat(2, 1fr); }
    .votigopro-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .votigopro-grid--2col,
    .votigopro-grid--3col,
    .votigopro-grid--4col {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Buttons
   ============================================ */
.votigopro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--vp-radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--vp-transition);
    text-decoration: none;
    line-height: 1.4;
    font-family: var(--vp-font);
    white-space: nowrap;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.votigopro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.votigopro-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.votigopro-btn:focus-visible {
    outline: 2px solid var(--vp-green);
    outline-offset: 2px;
}

/* Primary — Vote Now (vibrant green with glow) */
.votigopro-btn--primary {
    background: linear-gradient(135deg, var(--vp-green) 0%, #0ea550 100%);
    color: var(--vp-white);
    box-shadow: 0 2px 8px rgba(13, 122, 62, 0.25);
}

.votigopro-btn--primary:hover {
    background: linear-gradient(135deg, var(--vp-green-hover) 0%, #0d7a3e 100%);
    box-shadow: 0 4px 16px rgba(13, 122, 62, 0.35);
    color: var(--vp-white);
}

/* Secondary — View Details (solid dark) */
.votigopro-btn--secondary {
    background: var(--vp-gray-blue);
    color: var(--vp-white);
}

.votigopro-btn--secondary:hover {
    background: var(--vp-dark-blue);
    color: var(--vp-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Accent — orange CTA */
.votigopro-btn--accent {
    background: linear-gradient(135deg, var(--vp-orange) 0%, #ff8533 100%);
    color: var(--vp-white);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
}

.votigopro-btn--accent:hover {
    background: linear-gradient(135deg, var(--vp-orange-hover) 0%, var(--vp-orange) 100%);
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
    color: var(--vp-white);
}

/* Outline */
.votigopro-btn--outline {
    background: transparent;
    color: var(--vp-green);
    border: 2px solid var(--vp-green);
}

.votigopro-btn--outline:hover {
    background: var(--vp-green);
    color: var(--vp-white);
    box-shadow: 0 4px 16px rgba(13, 122, 62, 0.25);
}

/* Text button (link style) */
.votigopro-btn--text {
    background: none;
    color: var(--vp-blue);
    padding: 6px 0;
    border: none;
    box-shadow: none;
    font-weight: 500;
}

.votigopro-btn--text:hover {
    background: none;
    color: var(--vp-green);
    box-shadow: none;
    transform: none;
    text-decoration: underline;
}

.votigopro-btn--sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--vp-radius-sm);
}

.votigopro-btn--lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--vp-radius);
}

.votigopro-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Button icon arrows */
.votigopro-btn__arrow {
    transition: transform var(--vp-transition);
    font-size: 16px;
    line-height: 1;
}

.votigopro-btn:hover .votigopro-btn__arrow {
    transform: translateX(3px);
}

/* ============================================
   Badges
   ============================================ */
.votigopro-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.votigopro-badge--active {
    background: var(--vp-green-light);
    color: var(--vp-green-text);
}

.votigopro-badge--active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vp-green);
    flex-shrink: 0;
}

.votigopro-badge--inactive {
    background: var(--vp-red-light);
    color: var(--vp-red-text);
}

.votigopro-badge--public {
    background: var(--vp-amber-light);
    color: #92400e;
}

.votigopro-badge--template {
    background: var(--vp-blue-light);
    color: var(--vp-blue);
}

.votigopro-badge--division {
    background: var(--vp-purple-light);
    color: #6d28d9;
}

.votigopro-badge--voting {
    background: #fef3c7;
    color: #92400e;
}

/* ============================================
   Notice Boxes
   ============================================ */
.votigopro-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--vp-radius);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    border-left: 4px solid transparent;
}

.votigopro-notice__icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.votigopro-notice--info {
    background: #eff6ff;
    border-left-color: var(--vp-blue);
    color: #1e40af;
}

/* Login Prompt */
.votigopro-login-prompt {
    text-align: center;
    padding: 48px 32px;
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    border: 1px solid var(--vp-border);
    box-shadow: var(--vp-shadow);
    max-width: 480px;
    margin: 32px auto;
}

.votigopro-login-prompt__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.votigopro-login-prompt__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 8px;
}

.votigopro-login-prompt__text {
    font-size: 15px;
    color: var(--vp-text-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.votigopro-login-prompt__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.votigopro-login-prompt__actions .votigopro-btn {
    padding: 12px 28px;
    font-size: 15px;
}

.votigopro-notice--success {
    background: var(--vp-green-light);
    border-left-color: var(--vp-success);
    color: var(--vp-green-text);
}

.votigopro-notice--warning {
    background: var(--vp-amber-light);
    border-left-color: var(--vp-amber);
    color: #92400e;
}

.votigopro-notice--error {
    background: var(--vp-red-light);
    border-left-color: var(--vp-red);
    color: var(--vp-red-text);
}

/* ============================================
   Loading Spinner
   ============================================ */
.votigopro-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.votigopro-loading::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid var(--vp-border);
    border-top-color: var(--vp-green);
    border-radius: 50%;
    animation: votigopro-spin 0.7s linear infinite;
}

@keyframes votigopro-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Empty State
   ============================================ */
.votigopro-empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--vp-text-muted);
}

.votigopro-empty-state__icon {
    font-size: 56px;
    opacity: 0.35;
    margin-bottom: 16px;
    display: block;
}

.votigopro-empty-state__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--vp-text);
    margin: 0 0 8px;
}

.votigopro-empty-state__text {
    font-size: 15px;
    color: var(--vp-text-muted);
    margin: 0 0 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Pagination
   ============================================ */
.votigopro-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px 0;
    list-style: none;
    margin: 0;
}

.votigopro-pagination a,
.votigopro-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--vp-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--vp-text-muted);
    text-decoration: none;
    transition: background var(--vp-transition), color var(--vp-transition);
    border: 1px solid var(--vp-border);
    background: var(--vp-white);
}

.votigopro-pagination a:hover {
    background: var(--vp-bg);
    color: var(--vp-text);
    border-color: #cbd5e1;
}

.votigopro-pagination .current,
.votigopro-pagination .active > span {
    background: var(--vp-green);
    color: var(--vp-white);
    border-color: var(--vp-green);
    font-weight: 600;
}

.votigopro-pagination .disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ============================================
   SEARCH / FILTER BAR
   ============================================ */
.votigopro-search-form {
    margin-bottom: 20px;
}

.votigopro-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.votigopro-search-input {
    flex: 2;
    min-width: 200px;
    padding: 10px 14px;
    border: 2px solid var(--vp-border);
    border-radius: var(--vp-radius);
    font-size: 15px;
    font-family: var(--vp-font);
    transition: border-color var(--vp-transition);
    background: var(--vp-white);
    color: var(--vp-text);
}

.votigopro-search-input:focus {
    border-color: var(--vp-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 122, 62, 0.1);
}

.votigopro-search-select {
    flex: 1;
    min-width: 140px;
    padding: 10px 14px;
    border: 2px solid var(--vp-border);
    border-radius: var(--vp-radius);
    font-size: 14px;
    font-family: var(--vp-font);
    background: var(--vp-white);
    color: var(--vp-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.votigopro-search-select:focus {
    border-color: var(--vp-green);
    outline: none;
}

.votigopro-search-btn {
    padding: 10px 20px;
    background: var(--vp-green);
    color: var(--vp-white);
    border: none;
    border-radius: var(--vp-radius);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--vp-font);
    transition: background var(--vp-transition);
    white-space: nowrap;
}

.votigopro-search-btn:hover {
    background: var(--vp-green-hover);
}

.votigopro-near-me-btn {
    padding: 10px 20px;
    background: var(--vp-orange);
    color: var(--vp-white);
    border: none;
    border-radius: var(--vp-radius);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--vp-font);
    transition: background var(--vp-transition);
    white-space: nowrap;
}

.votigopro-near-me-btn:hover {
    background: var(--vp-orange-hover);
}

.votigopro-near-me-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.votigopro-search-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--vp-text-muted);
}

.votigopro-search-clear {
    background: none;
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    padding: 4px 12px;
    font-size: 13px;
    color: var(--vp-text-muted);
    cursor: pointer;
    font-family: var(--vp-font);
    transition: all var(--vp-transition);
}

.votigopro-search-clear:hover {
    border-color: var(--vp-red);
    color: var(--vp-red);
}

/* Radius select */
.votigopro-radius-select {
    max-width: 120px;
    flex: none !important;
    min-width: auto !important;
}

/* Location bar */
.votigopro-location-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e8f0fe 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--vp-radius);
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--vp-text);
    flex-wrap: wrap;
}

.votigopro-location-bar__icon {
    font-size: 18px;
    flex-shrink: 0;
}

#votigopro-location-bar-text {
    flex: 1;
    font-weight: 500;
    min-width: 200px;
}

.votigopro-location-bar__btn {
    padding: 4px 12px;
    border: 1px solid var(--vp-green);
    border-radius: var(--vp-radius-sm);
    background: var(--vp-white);
    color: var(--vp-green);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--vp-font);
    transition: all var(--vp-transition);
}

.votigopro-location-bar__btn:hover {
    background: var(--vp-green);
    color: var(--vp-white);
}

.votigopro-location-bar__btn--clear {
    border-color: var(--vp-red);
    color: var(--vp-red);
}

.votigopro-location-bar__btn--clear:hover {
    background: var(--vp-red);
    color: var(--vp-white);
}

/* Hidden card during filtering */
.votigopro-event-card--hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .votigopro-search-row {
        flex-direction: column;
    }

    .votigopro-search-input,
    .votigopro-search-select {
        width: 100%;
        min-width: unset;
        flex: none;
    }

    .votigopro-search-btn,
    .votigopro-near-me-btn {
        width: 100%;
        text-align: center;
    }
}


/* ============================================
   EVENT LIST — Grid
   ============================================ */
.votigopro-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}

/* ── Logo Section ── */
.votigopro-logo-wrap {
    text-align: center;
    margin: 0 auto 28px;
    padding: 8px 0;
}

.votigopro-logo-wrap img.votigopro-logo {
    max-width: 320px !important;
    width: auto;
    height: auto;
    display: inline-block;
}

/* ── Event Card ── */
.votigopro-event-card {
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    box-shadow: var(--vp-shadow);
    overflow: hidden;
    transition: transform var(--vp-transition), box-shadow var(--vp-transition);
    border: 1px solid var(--vp-border);
    display: flex;
    flex-direction: column;
}

.votigopro-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vp-shadow-lg);
    border-color: #cbd5e1;
}

/* Dark gradient header with title + badges */
.votigopro-event-card__header {
    background: linear-gradient(135deg, var(--vp-dark-blue) 0%, var(--vp-gray-blue) 100%);
    padding: 20px;
    color: var(--vp-white);
    position: relative;
}

.votigopro-event-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--vp-white);
    margin: 0 0 10px;
    line-height: 1.3;
}

.votigopro-event-card__title a {
    color: var(--vp-white);
    text-decoration: none;
    transition: color var(--vp-transition);
}

.votigopro-event-card__title a:hover {
    color: #a5d6a7;
}

.votigopro-event-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Card body content */
.votigopro-event-card__description {
    padding: 16px 20px 0;
    font-size: 14px;
    color: var(--vp-text-muted);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.votigopro-event-card__meta {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--vp-text-muted);
}

.votigopro-event-card__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.votigopro-event-card__meta-icon {
    font-size: 14px;
    opacity: 0.6;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Actions bar */
.votigopro-event-card__actions {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--vp-border);
    margin-top: auto;
}

.votigopro-event-card__actions .votigopro-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* Optional image (when events have image_url) */
.votigopro-event-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--vp-bg-light);
    display: block;
}


/* ============================================
   EVENT DETAIL PAGE
   ============================================ */
.votigopro-event {
    margin: 24px 0;
    max-width: 1200px;
}

.votigopro-event__header {
    margin-bottom: 24px;
}

.votigopro-event__header-left {
    flex: 1;
    min-width: 0;
}

.votigopro-event__name {
    font-size: 28px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 10px;
    line-height: 1.2;
}

.votigopro-event__header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.votigopro-event__header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Stats Grid */
.votigopro-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.votigopro-stat-card {
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    border: 1px solid var(--vp-border);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--vp-transition);
}

.votigopro-stat-card:hover {
    box-shadow: var(--vp-shadow-md);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.votigopro-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--vp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.votigopro-stat-card__icon--blue {
    background: #dbeafe;
    color: var(--vp-blue);
}

.votigopro-stat-card__icon--green {
    background: var(--vp-green-light);
    color: var(--vp-green);
}

.votigopro-stat-card__icon--purple {
    background: var(--vp-purple-light);
    color: var(--vp-purple);
}

.votigopro-stat-card__icon--orange {
    background: #fff7ed;
    color: var(--vp-orange);
}

.votigopro-stat-card__icon--amber {
    background: var(--vp-amber-light);
    color: var(--vp-amber);
}

.votigopro-stat-card__content {
    flex: 1;
    min-width: 0;
}

.votigopro-stat-card__value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--vp-text);
    line-height: 1;
    margin-bottom: 4px;
}

.votigopro-stat-card__label {
    display: block;
    font-size: 13px;
    color: var(--vp-text-muted);
    font-weight: 500;
}

/* Event Details Table */
.votigopro-event__details {
    background: var(--vp-white);
    border-radius: var(--vp-radius);
    border: 1px solid var(--vp-border);
    overflow: hidden;
    margin-bottom: 28px;
}

.votigopro-event__details-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--vp-text);
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid var(--vp-border);
    background: var(--vp-bg);
}

.votigopro-event__details-table {
    width: 100%;
    border-collapse: collapse;
}

.votigopro-event__details-table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vp-text-muted);
    width: 180px;
    vertical-align: top;
    border-bottom: 1px solid var(--vp-border);
    background: var(--vp-bg);
}

.votigopro-event__details-table td {
    padding: 12px 20px;
    font-size: 14px;
    color: var(--vp-text);
    border-bottom: 1px solid var(--vp-border);
}

.votigopro-event__details-table tr:last-child th,
.votigopro-event__details-table tr:last-child td {
    border-bottom: none;
}

/* ── Event Detail (Shortcode View) ── */
.votigopro-event__back {
    margin-bottom: 16px;
}

.votigopro-event__back .votigopro-btn--text {
    font-size: 14px;
    color: var(--vp-blue);
    text-decoration: none;
    font-weight: 500;
}

.votigopro-event__back .votigopro-btn--text:hover {
    text-decoration: underline;
}

.votigopro-event__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 10px;
    line-height: 1.2;
}

.votigopro-event__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.votigopro-event__action-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.votigopro-event__action-bar .votigopro-btn {
    padding: 10px 24px;
    font-size: 14px;
}

.votigopro-event__stats {
    margin-bottom: 28px;
}

.votigopro-event__details-card {
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    border: 1px solid var(--vp-border);
    padding: 0;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: var(--vp-shadow);
}

.votigopro-event__section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--vp-text);
    margin: 0;
    padding: 18px 24px;
    background: var(--vp-bg);
    border-bottom: 1px solid var(--vp-border);
}

.votigopro-event__details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

.votigopro-event__detail {
    font-size: 14px;
    color: var(--vp-text);
    padding: 14px 24px;
    border-bottom: 1px solid var(--vp-border);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.votigopro-event__detail:nth-last-child(-n+2) {
    border-bottom: none;
}

.votigopro-event__detail strong {
    color: var(--vp-text-muted);
    font-weight: 600;
    margin-right: 4px;
    white-space: nowrap;
}

.votigopro-event__detail em {
    color: var(--vp-green);
    font-size: 13px;
    font-style: normal;
}

.votigopro-event__description {
    margin: 0;
    padding: 16px 24px;
    border-top: 1px solid var(--vp-border);
    font-size: 14px;
    color: var(--vp-text);
    line-height: 1.6;
    background: var(--vp-bg);
}

/* Divisions & Entries */
.votigopro-event__entries-section {
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    border: 1px solid var(--vp-border);
    padding: 0;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: var(--vp-shadow);
}

.votigopro-event__entries-section > .votigopro-event__section-title {
    padding: 18px 24px;
}

.votigopro-event__entries-section > .votigopro-event__division-groups,
.votigopro-event__entries-section > .votigopro-event__division-list {
    padding: 20px 24px;
}

.votigopro-event__division-groups {
    margin-top: 8px;
}

.votigopro-event__division-group {
    min-width: 0;
}

.votigopro-event__division-type-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--vp-blue);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--vp-blue);
}

.votigopro-event__division-list {
    margin-top: 8px;
}

.votigopro-event__division-block {
    margin-bottom: 20px;
}

.votigopro-event__division-block:last-child {
    margin-bottom: 0;
}

.votigopro-event__division-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--vp-text);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.votigopro-entry-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.votigopro-entry-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--vp-border);
    font-size: 14px;
    transition: background var(--vp-transition), transform var(--vp-transition);
}

.votigopro-entry-list__item:last-child {
    border-bottom: none;
}

.votigopro-entry-list__item:hover {
    background: var(--vp-bg);
    transform: translateX(2px);
}

/* Entry thumbnail */
.votigopro-entry-list__thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--vp-border);
}

.votigopro-entry-list__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--vp-white);
    flex-shrink: 0;
    text-transform: uppercase;
}

.votigopro-entry-list__number {
    font-weight: 700;
    color: var(--vp-blue);
    font-size: 12px;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vp-blue-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.votigopro-entry-list__info {
    flex: 1;
    min-width: 0;
}

.votigopro-entry-list__name {
    font-weight: 600;
    color: var(--vp-text);
    display: block;
}

.votigopro-entry-list__participant {
    color: var(--vp-text-muted);
    font-size: 13px;
    display: block;
    margin-top: 1px;
}

.votigopro-event__no-entries {
    color: var(--vp-text-muted);
    font-size: 14px;
    font-style: italic;
    margin: 8px 0;
}

/* Manage Section */
.votigopro-event__manage {
    margin-bottom: 28px;
}

.votigopro-event__manage-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vp-text);
    margin: 0 0 16px;
}

.votigopro-manage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.votigopro-manage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    cursor: pointer;
    text-decoration: none;
    color: var(--vp-text);
    transition: all var(--vp-transition);
    text-align: center;
}

.votigopro-manage-item:hover {
    border-color: var(--vp-green);
    background: #f0fdf4;
    box-shadow: var(--vp-shadow);
    transform: translateY(-2px);
}

.votigopro-manage-item__icon {
    font-size: 28px;
    color: var(--vp-green);
    transition: transform var(--vp-transition);
}

.votigopro-manage-item:hover .votigopro-manage-item__icon {
    transform: scale(1.1);
}

.votigopro-manage-item__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--vp-text);
}

.votigopro-manage-item__desc {
    font-size: 11px;
    color: var(--vp-text-muted);
    line-height: 1.3;
}

/* Divisions Section */
.votigopro-divisions-section {
    margin-bottom: 28px;
}

.votigopro-divisions-section__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vp-text);
    margin: 0 0 16px;
}

.votigopro-divisions-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.votigopro-division-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-lg);
    overflow: hidden;
    transition: all var(--vp-transition);
}

.votigopro-division-card:hover {
    box-shadow: var(--vp-shadow);
    border-color: #cbd5e1;
}

.votigopro-division-card__header {
    background: linear-gradient(135deg, var(--vp-bg) 0%, #eef2f7 100%);
    padding: 16px 20px;
    border-bottom: 1px solid var(--vp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.votigopro-division-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--vp-text);
}

.votigopro-division-card__count {
    font-size: 12px;
    color: var(--vp-text-muted);
}

.votigopro-division-card__entries {
    padding: 8px 0;
}

.votigopro-division-card__entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--vp-text);
    border-bottom: 1px solid var(--vp-bg);
}

.votigopro-division-card__entry:last-child {
    border-bottom: none;
}

.votigopro-division-card__entry-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--vp-text-muted);
    background: var(--vp-bg);
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
}

.votigopro-division-card__entry-name {
    flex: 1;
    font-weight: 500;
}

.votigopro-division-card__entry-participant {
    font-size: 13px;
    color: var(--vp-text-muted);
}


/* ============================================
   VOTING FORM
   ============================================ */
.votigopro-vote {
    margin: 24px 0;
    max-width: 1200px;
}

.votigopro-vote__back {
    margin-bottom: 8px;
}

.votigopro-vote__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--vp-text);
    text-align: center;
    margin: 0 0 28px;
    line-height: 1.2;
}

/* ── Voting form container ── */
.votigopro-vote__form {
    margin: 0;
    padding: 0;
}

/* ── Division vote boxes (actual PHP classes) ── */
.votigopro-vote__divisions {
    margin-bottom: 24px;
}

.votigopro-vote__division-box {
    background: #34495e;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--vp-shadow-md);
}

.votigopro-vote__division-title {
    background: #2c3e50;
    color: #fff !important;
    padding: 16px 20px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid var(--vp-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.votigopro-vote__division-title .votigopro-badge {
    font-size: 10px;
}

.votigopro-vote__no-entries {
    padding: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    margin: 0;
}

/* ── Instruction text ── */
.votigopro-vote__instruction {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0 0 12px;
    padding: 0;
}

/* ── Available entries list ── */
.votigopro-vote__entries-list {
    padding: 16px 20px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.votigopro-vote__entry-numbers {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.votigopro-vote__entry-numbers li {
    font-size: 14px;
    color: #fef3c7;
    padding: 4px 0;
}

.votigopro-vote__entry-numbers li strong {
    color: #fbbf24;
    margin-right: 2px;
}

.votigopro-vote__entry-numbers li em {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ── Ranked voting rows ── */
.votigopro-vote__ranked-fields {
    padding: 16px 20px;
}

.votigopro-vote__ranked-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.votigopro-vote__ranked-row:last-child {
    border-bottom: none;
}

.votigopro-vote__ranked-label {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #fef3c7 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    margin: 0;
}

.votigopro-vote__ranked-points {
    background: var(--vp-orange);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.votigopro-vote__ranked-input {
    width: 120px !important;
    padding: 12px 15px !important;
    font-size: 18px !important;
    text-align: center;
    border: 2px solid #4b5563 !important;
    border-radius: 6px !important;
    background: #374151 !important;
    color: #fff !important;
    font-weight: 700;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    -moz-appearance: textfield;
}

.votigopro-vote__ranked-input::-webkit-outer-spin-button,
.votigopro-vote__ranked-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.votigopro-vote__ranked-input:focus {
    outline: none;
    border-color: var(--vp-orange) !important;
    background: #3f4a5a !important;
}

.votigopro-vote__ranked-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-size: 13px;
}

/* ── Approval voting grid ── */
.votigopro-vote__approval-grid {
    padding: 16px 20px;
}

.votigopro-vote__approval-grid .votigopro-vote__instruction {
    margin-bottom: 14px;
}

.votigopro-vote__approval-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #374151;
    border: 2px solid #4b5563;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.votigopro-vote__approval-item:hover {
    border-color: var(--vp-orange);
    background: #3f4a5a;
}

.votigopro-vote__approval-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--vp-success);
    flex-shrink: 0;
    cursor: pointer;
}

.votigopro-vote__approval-label {
    flex: 1;
    font-size: 14px;
    color: #fef3c7;
}

.votigopro-vote__approval-label strong {
    color: #fbbf24;
    margin-right: 4px;
}

.votigopro-vote__approval-label em {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* ── Rating voting ── */
.votigopro-vote__rating-list {
    padding: 16px 20px;
}

.votigopro-vote__rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #374151;
    border: 2px solid #4b5563;
    border-radius: 8px;
    margin-bottom: 10px;
}

.votigopro-vote__rating-entry {
    flex: 1;
    font-size: 14px;
    color: #fef3c7;
    min-width: 0;
}

.votigopro-vote__rating-entry strong {
    color: #fbbf24;
    margin-right: 4px;
}

.votigopro-vote__rating-entry em {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.votigopro-vote__star-rating {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.votigopro-vote__star {
    font-size: 28px;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.15s, transform 0.1s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.votigopro-vote__star:hover {
    transform: scale(1.15);
}

.votigopro-vote__star--filled,
.votigopro-vote__star--hover {
    color: #fbbf24;
}

.votigopro-vote__rating-input {
    width: 70px !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    text-align: center;
    border: 2px solid #4b5563 !important;
    border-radius: 6px !important;
    background: #1e293b !important;
    color: var(--vp-orange) !important;
    font-weight: 700;
    flex-shrink: 0;
}

.votigopro-vote__rating-input:focus {
    outline: none;
    border-color: #fbbf24 !important;
}

/* Rating display badge (shows selected value next to stars) */
.votigopro-vote__rating-display {
    background: #1e293b;
    color: var(--vp-orange);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.votigopro-vote__rating-display:empty {
    display: none;
}

/* Numeric rating wrapper (for scales > 10) */
.votigopro-vote__numeric-rating {
    flex-shrink: 0;
}

/* Hidden rating value input - no visual styling needed */
.votigopro-vote__rating-value {
    display: none;
}

/* ── Voter Auth Forms ── */
.votigopro-voter-auth {
    margin-bottom: 24px;
}

.votigopro-auth-form__card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    border: 1px solid var(--vp-border);
    box-shadow: var(--vp-shadow-md);
    padding: 32px;
}

.votigopro-auth-form__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 8px;
    text-align: center;
}

.votigopro-auth-form__text {
    font-size: 14px;
    color: var(--vp-text-muted);
    text-align: center;
    margin: 0 0 24px;
}

.votigopro-auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.votigopro-auth-form__field {
    margin-bottom: 16px;
}

.votigopro-auth-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--vp-text);
    margin-bottom: 6px;
}

.votigopro-auth-form__field input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    font-size: 14px;
    font-family: var(--vp-font);
    transition: border-color var(--vp-transition), box-shadow var(--vp-transition);
    background: var(--vp-white);
    color: var(--vp-text);
}

.votigopro-auth-form__field input:focus {
    outline: none;
    border-color: var(--vp-green);
    box-shadow: 0 0 0 3px rgba(13, 122, 62, 0.1);
}

/* Password toggle */
.votigopro-auth-form__pw-wrap {
    position: relative;
}

.votigopro-auth-form__pw-wrap input {
    padding-right: 44px !important;
}

.votigopro-pw-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 18px;
    line-height: 1;
    color: var(--vp-text-muted);
    opacity: 0.6;
    transition: opacity var(--vp-transition);
}

.votigopro-pw-toggle:hover {
    opacity: 1;
}

.votigopro-pw-toggle__show,
.votigopro-pw-toggle__hide {
    pointer-events: none;
}

.votigopro-auth-form__error {
    background: var(--vp-red-light);
    color: var(--vp-red-text);
    padding: 10px 14px;
    border-radius: var(--vp-radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

.votigopro-auth-form__switch {
    text-align: center;
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--vp-text-muted);
}

.votigopro-auth-form__switch a {
    color: var(--vp-green);
    font-weight: 600;
    text-decoration: none;
}

.votigopro-auth-form__switch a:hover {
    text-decoration: underline;
}

/* Voter bar (logged in state) */
.votigopro-voter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--vp-green-light);
    border: 1px solid #bbf7d0;
    border-radius: var(--vp-radius);
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.votigopro-voter-bar__info {
    color: var(--vp-green-text);
    font-weight: 500;
}

.votigopro-voter-bar__info strong {
    font-weight: 700;
}

/* Submit Button */
.votigopro-vote__submit {
    text-align: center;
    margin-top: 32px;
}

.votigopro-vote__submit .votigopro-btn {
    min-width: 260px;
    padding: 16px 48px;
    font-size: 17px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(13, 122, 62, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.votigopro-vote__submit .votigopro-btn:hover {
    box-shadow: 0 6px 28px rgba(13, 122, 62, 0.45);
    transform: translateY(-3px);
}

/* Vote Messages */
.votigopro-vote__message {
    text-align: center;
    padding: 14px 24px;
    border-radius: var(--vp-radius);
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
    display: none;
}

.votigopro-vote__message--success {
    display: block;
    background: var(--vp-green-light);
    color: var(--vp-green-text);
    border: 1px solid #bbf7d0;
}

.votigopro-vote__message--error {
    display: block;
    background: var(--vp-red-light);
    color: var(--vp-red-text);
    border: 1px solid #fecaca;
}


/* ============================================
   RESULTS
   ============================================ */
.votigopro-results {
    margin: 24px 0;
}

.votigopro-results__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 20px;
}

/* Division Type Tabs */
.votigopro-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--vp-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.votigopro-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--vp-text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color var(--vp-transition), border-color var(--vp-transition);
    white-space: nowrap;
    font-family: var(--vp-font);
}

.votigopro-tab:hover {
    color: var(--vp-text);
    background: var(--vp-bg);
}

.votigopro-tab--active {
    color: var(--vp-green);
    border-bottom-color: var(--vp-green);
    font-weight: 700;
}

/* Summary Bar */
.votigopro-results__summary {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.votigopro-results__summary-item {
    background: var(--vp-bg);
    padding: 10px 18px;
    border-radius: var(--vp-radius-sm);
    border: 1px solid var(--vp-border);
    font-size: 14px;
    color: var(--vp-text-muted);
}

.votigopro-results__summary-item strong {
    color: var(--vp-text);
    font-weight: 700;
}

/* Results Table */
.votigopro-results-table-wrap {
    overflow-x: auto;
    border-radius: var(--vp-radius);
    border: 1px solid var(--vp-border);
    background: var(--vp-white);
    box-shadow: var(--vp-shadow);
}

.votigopro-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.votigopro-results-table th {
    background: var(--vp-bg);
    font-weight: 700;
    color: var(--vp-text-muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.6px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--vp-border);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.votigopro-results-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--vp-border);
    color: var(--vp-text);
    vertical-align: middle;
}

.votigopro-results-table tbody tr {
    transition: background var(--vp-transition);
}

.votigopro-results-table tbody tr:hover {
    background: #f0fdf4;
}

.votigopro-results-table tbody tr:last-child td {
    border-bottom: none;
}

/* Rank Column */
.votigopro-results-table__rank {
    font-weight: 800;
    font-size: 16px;
    color: var(--vp-text);
    min-width: 40px;
    text-align: center;
}

/* Points Column */
.votigopro-results-table__points {
    font-weight: 700;
    color: var(--vp-green);
    font-size: 16px;
}

/* Vote Count Columns */
.votigopro-results-table__vote-count {
    font-weight: 600;
    color: var(--vp-text-muted);
    text-align: center;
}

/* Medal Icons */
.votigopro-medal {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    margin-right: 4px;
    vertical-align: middle;
}

.votigopro-medal--gold { color: #d4a017; }
.votigopro-medal--silver { color: #9ca3af; }
.votigopro-medal--bronze { color: #b45309; }

/* Top 3 Row Highlights */
.votigopro-results-table tbody tr:nth-child(1) {
    background: rgba(251, 191, 36, 0.06);
}

.votigopro-results-table tbody tr:nth-child(2) {
    background: rgba(156, 163, 175, 0.06);
}

.votigopro-results-table tbody tr:nth-child(3) {
    background: rgba(180, 83, 9, 0.06);
}

.votigopro-results-table tbody tr:nth-child(1):hover,
.votigopro-results-table tbody tr:nth-child(2):hover,
.votigopro-results-table tbody tr:nth-child(3):hover {
    background: #f0fdf4;
}

/* Average Rating Display */
.votigopro-results-table__avg-rating {
    font-weight: 700;
    color: var(--vp-amber);
    font-size: 15px;
}

.votigopro-results-table__avg-rating::after {
    content: ' / 10';
    font-size: 11px;
    font-weight: 400;
    color: var(--vp-text-muted);
}


/* ============================================
   LEADERBOARD WIDGET
   ============================================ */
.votigopro-leaderboard {
    background: var(--vp-white);
    border-radius: var(--vp-radius);
    box-shadow: var(--vp-shadow);
    overflow: hidden;
    border: 1px solid var(--vp-border);
}

.votigopro-leaderboard__title {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--vp-text);
    border-bottom: 1px solid var(--vp-border);
    margin: 0;
    background: var(--vp-bg);
}

.votigopro-leaderboard__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.votigopro-leaderboard__entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--vp-bg-light);
    font-size: 14px;
    transition: background var(--vp-transition);
}

.votigopro-leaderboard__entry:hover {
    background: var(--vp-bg);
}

.votigopro-leaderboard__entry:last-child {
    border-bottom: none;
}

.votigopro-leaderboard__rank {
    font-weight: 700;
    color: var(--vp-text-muted);
    min-width: 28px;
    text-align: center;
    font-size: 15px;
}

.votigopro-leaderboard__name {
    flex: 1;
    color: var(--vp-text);
    font-weight: 500;
}

.votigopro-leaderboard__score {
    font-weight: 700;
    color: var(--vp-green);
    font-size: 15px;
}


/* ============================================
   CHAT WIDGET
   ============================================ */
.votigopro-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    font-family: var(--vp-font);
}

/* Toggle button */
.votigopro-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--vp-green);
    color: var(--vp-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(13, 122, 62, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: background var(--vp-transition), transform var(--vp-transition), box-shadow var(--vp-transition);
    position: relative;
}

.votigopro-chat-toggle:hover {
    background: var(--vp-green-hover);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(13, 122, 62, 0.4);
}

.votigopro-chat-toggle--open {
    background: var(--vp-red);
}

.votigopro-chat-toggle--open:hover {
    background: #dc2626;
}

/* Chat panel */
.votigopro-chat-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 400px;
    height: 520px;
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.votigopro-chat-panel--open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Chat header */
.votigopro-chat-header {
    background: linear-gradient(135deg, var(--vp-dark-blue) 0%, var(--vp-gray-blue) 100%);
    color: var(--vp-white);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.votigopro-chat-header__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--vp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.votigopro-chat-header__info {
    flex: 1;
}

.votigopro-chat-header__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.votigopro-chat-header__subtitle {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.votigopro-chat-header__close {
    background: none;
    border: none;
    color: var(--vp-white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
    line-height: 1;
    transition: opacity var(--vp-transition);
}

.votigopro-chat-header__close:hover {
    opacity: 1;
}

/* Messages area */
.votigopro-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Individual messages */
.votigopro-chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    word-wrap: break-word;
}

.votigopro-chat-message--user {
    background: var(--vp-green);
    color: var(--vp-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.votigopro-chat-message--bot {
    background: var(--vp-bg-light);
    color: var(--vp-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.votigopro-chat-message--bot a {
    color: var(--vp-green);
    text-decoration: underline;
}

.votigopro-chat-message--bot strong {
    font-weight: 600;
}

.votigopro-chat-message--bot em {
    font-style: italic;
}

.votigopro-chat-message--bot ul,
.votigopro-chat-message--bot ol {
    margin: 6px 0;
    padding-left: 18px;
}

.votigopro-chat-message--bot li {
    margin-bottom: 4px;
}

/* Typing indicator */
.votigopro-chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: var(--vp-bg-light);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    max-width: 60px;
}

.votigopro-chat-typing__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    animation: votigopro-typing 1.4s infinite;
}

.votigopro-chat-typing__dot:nth-child(2) {
    animation-delay: 0.2s;
}

.votigopro-chat-typing__dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes votigopro-typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

/* Input area */
.votigopro-chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--vp-border);
    flex-shrink: 0;
    background: var(--vp-white);
}

.votigopro-chat-input-area input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--vp-border);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color var(--vp-transition);
    font-family: var(--vp-font);
}

.votigopro-chat-input-area input:focus {
    border-color: var(--vp-green);
    box-shadow: 0 0 0 3px rgba(13, 122, 62, 0.1);
}

.votigopro-chat-input-area button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vp-green);
    color: var(--vp-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background var(--vp-transition);
}

.votigopro-chat-input-area button:hover {
    background: var(--vp-green-hover);
}

.votigopro-chat-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ============================================
   Rich Response Cards (in chat)
   ============================================ */
.votigopro-rich-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    padding: 12px;
    margin-top: 8px;
    font-size: 13px;
    max-width: 100%;
}

.votigopro-rich-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--vp-text);
    margin: 0 0 8px;
}

.votigopro-rich-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--vp-text-muted);
    font-size: 12px;
}

.votigopro-rich-card__footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--vp-bg-light);
}

.votigopro-rich-card__link {
    font-size: 12px;
    font-weight: 600;
    color: var(--vp-green);
    text-decoration: none;
}

.votigopro-rich-card__link:hover {
    text-decoration: underline;
}

/* Event detail card */
.votigopro-event-detail-card__status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.votigopro-event-detail-card__status--active {
    background: var(--vp-green-light);
    color: var(--vp-green-text);
}

.votigopro-event-detail-card__status--closed {
    background: var(--vp-bg-light);
    color: #475569;
}

/* Leaderboard card */
.votigopro-leaderboard-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    overflow: hidden;
    margin-top: 8px;
    font-size: 13px;
}

.votigopro-leaderboard-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--vp-bg-light);
}

.votigopro-leaderboard-card__row:last-child {
    border-bottom: none;
}

.votigopro-leaderboard-card__rank {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    color: var(--vp-text-muted);
}

.votigopro-leaderboard-card__name {
    flex: 1;
    color: var(--vp-text);
}

.votigopro-leaderboard-card__score {
    font-weight: 700;
    color: var(--vp-green);
}

.votigopro-leaderboard-card__medal {
    font-size: 16px;
}

/* Results card */
.votigopro-results-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    overflow: hidden;
    margin-top: 8px;
    font-size: 13px;
}

.votigopro-results-card table {
    width: 100%;
    border-collapse: collapse;
}

.votigopro-results-card th {
    background: var(--vp-bg);
    padding: 8px 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--vp-text-muted);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--vp-border);
}

.votigopro-results-card td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--vp-bg-light);
    color: var(--vp-text);
}

/* Voting status card */
.votigopro-voting-status-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    padding: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.votigopro-voting-status-card__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.votigopro-voting-status-card__indicator--open {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.votigopro-voting-status-card__indicator--closed {
    background: var(--vp-red);
}

.votigopro-voting-status-card__info {
    flex: 1;
    font-size: 13px;
}

.votigopro-voting-status-card__label {
    font-weight: 600;
    color: var(--vp-text);
}

.votigopro-voting-status-card__detail {
    color: var(--vp-text-muted);
    font-size: 12px;
}

/* Comparison table */
.votigopro-comparison-table {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    overflow: hidden;
    margin-top: 8px;
    font-size: 13px;
}

.votigopro-comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.votigopro-comparison-table th {
    background: var(--vp-bg);
    padding: 8px 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--vp-text-muted);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--vp-border);
}

.votigopro-comparison-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--vp-bg-light);
    color: var(--vp-text);
}

/* Entry card */
.votigopro-entry-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius);
    padding: 12px;
    margin-top: 8px;
    font-size: 13px;
}

.votigopro-entry-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--vp-text);
    margin-bottom: 6px;
}

.votigopro-entry-card__details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--vp-text-muted);
    font-size: 12px;
}

/* Listing cards (compact) */
.votigopro-chat-listings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.votigopro-chat-listing-card {
    background: var(--vp-white);
    border: 1px solid var(--vp-border);
    border-radius: var(--vp-radius-sm);
    padding: 8px 10px;
    font-size: 12px;
    color: var(--vp-text);
    cursor: pointer;
    transition: border-color var(--vp-transition), box-shadow var(--vp-transition);
}

.votigopro-chat-listing-card:hover {
    border-color: var(--vp-green);
    box-shadow: 0 0 0 1px var(--vp-green);
}

.votigopro-chat-listing-card__title {
    font-weight: 600;
    margin-bottom: 2px;
}

.votigopro-chat-listing-card__meta {
    color: var(--vp-text-muted);
    font-size: 11px;
}


/* ============================================
   ENHANCED RANK BADGES (Gradient Circles)
   ============================================ */
.votigopro-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.votigopro-rank-badge--1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.votigopro-rank-badge--2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.votigopro-rank-badge--3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e89b52 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

.votigopro-rank-badge--other {
    background: var(--vp-bg-light);
    color: var(--vp-text-muted);
}

/* ============================================
   LIVE RESULTS INDICATOR
   ============================================ */
.votigopro-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vp-success);
}

.votigopro-live-indicator__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vp-success);
    animation: votigopro-pulse 2s infinite;
}

.votigopro-live-indicator--updating .votigopro-live-indicator__dot {
    background: var(--vp-amber);
}

@keyframes votigopro-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================
   PROGRESS BAR (Results)
   ============================================ */
.votigopro-progress {
    height: 8px;
    background: var(--vp-bg-light);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 4px;
}

.votigopro-progress__bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--vp-green) 0%, var(--vp-success) 100%);
    transition: width 0.6s ease;
    min-width: 2px;
}

.votigopro-progress__bar--gold {
    background: linear-gradient(90deg, #fbbf24, #d4a017);
}

.votigopro-progress__bar--silver {
    background: linear-gradient(90deg, #d1d5db, #9ca3af);
}

.votigopro-progress__bar--bronze {
    background: linear-gradient(90deg, #f59e0b, #b45309);
}

/* ============================================
   VOTE SUCCESS / THANK YOU
   ============================================ */
.votigopro-thank-you {
    text-align: center;
    padding: 48px 32px;
    background: var(--vp-white);
    border-radius: var(--vp-radius-lg);
    box-shadow: var(--vp-shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 520px;
    margin: 32px auto;
}

.votigopro-thank-you::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--vp-green), var(--vp-success));
}

.votigopro-thank-you__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--vp-green) 0%, var(--vp-success) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--vp-white);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.votigopro-thank-you__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--vp-text);
    margin: 0 0 8px;
}

.votigopro-thank-you__text {
    font-size: 15px;
    color: var(--vp-text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ============================================
   CONFETTI ANIMATION (Vote Success)
   ============================================ */
.votigopro-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99998;
    overflow: hidden;
}

.votigopro-confetti__piece {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    animation: votigopro-confetti-fall 3s ease-out forwards;
}

@keyframes votigopro-confetti-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.votigopro-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--vp-radius);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: votigopro-toast-in 0.3s ease-out;
    max-width: 420px;
    font-family: var(--vp-font);
}

.votigopro-toast--success {
    background: #065f46;
    color: var(--vp-white);
}

.votigopro-toast--error {
    background: #7f1d1d;
    color: var(--vp-white);
}

.votigopro-toast--info {
    background: var(--vp-dark-blue);
    color: var(--vp-white);
}

.votigopro-toast--hide {
    animation: votigopro-toast-out 0.3s ease-in forwards;
}

@keyframes votigopro-toast-in {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes votigopro-toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* ============================================
   RESULTS TABLE HIGHLIGHT ANIMATION
   ============================================ */
.votigopro-results-table tbody tr.votigopro-highlight {
    animation: votigopro-row-highlight 1s ease-out;
}

@keyframes votigopro-row-highlight {
    from { background: #bbf7d0; }
    to { background: transparent; }
}

/* ============================================
   EVENT DETAIL — Enhanced Header
   ============================================ */
.votigopro-event__hero {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--vp-dark-blue) 0%, var(--vp-gray-blue) 60%, #3b5068 100%);
    border-radius: var(--vp-radius-lg) var(--vp-radius-lg) 0 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px 28px;
}

.votigopro-event__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.votigopro-event__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
    pointer-events: none;
}

.votigopro-event__hero-content {
    position: relative;
    z-index: 1;
    color: var(--vp-white);
}


/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .votigopro-events {
        grid-template-columns: repeat(2, 1fr);
    }

    .votigopro-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .votigopro-manage-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .votigopro-results__summary {
        flex-direction: column;
    }

}

/* ============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .votigopro-container {
        padding: 0 12px;
    }

    /* Event Grid — single column */
    .votigopro-events {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Logo — wider on mobile */
    .votigopro-logo-wrap img {
        max-width: 240px;
    }

    /* Thank you card — tighter on mobile */
    .votigopro-thank-you {
        padding: 32px 20px;
        margin: 16px auto;
    }

    .votigopro-thank-you__icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    /* Toast full width on mobile */
    .votigopro-toast {
        right: 12px;
        left: 12px;
        max-width: none;
    }

    /* Voting form — mobile */
    .votigopro-vote__ranked-row {
        flex-wrap: wrap;
    }

    .votigopro-vote__ranked-input {
        width: 100% !important;
    }

    .votigopro-vote__rating-row {
        flex-wrap: wrap;
    }

    .votigopro-vote__star {
        font-size: 24px;
    }

    /* Stats grid — stack */
    .votigopro-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Manage grid — 2 columns */
    .votigopro-manage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .votigopro-manage-item {
        padding: 14px 10px;
    }

    .votigopro-manage-item__icon {
        font-size: 22px;
    }

    /* Divisions — single column */
    .votigopro-divisions-section__grid {
        grid-template-columns: 1fr;
    }

    /* Event header — stack */
    .votigopro-event__header {
        flex-direction: column;
    }

    .votigopro-event__name,
    .votigopro-event__title {
        font-size: 22px;
    }

    .votigopro-event__details-grid {
        grid-template-columns: 1fr;
    }

    .votigopro-event__division-groups {
        grid-template-columns: 1fr !important;
    }

    /* Tables — horizontal scroll */
    .votigopro-results-table-wrap {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Tabs — scrollable */
    .votigopro-tabs {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .votigopro-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Details table */
    .votigopro-event__details-table th {
        width: 120px;
        font-size: 12px;
    }

    /* Chat panel */
    .votigopro-chat-panel {
        width: calc(100vw - 24px);
        height: calc(100vh - 100px);
        right: -8px;
        bottom: 68px;
    }

    .votigopro-chat-listings {
        grid-template-columns: 1fr;
    }

    /* Button full-width */
    .votigopro-vote__submit .votigopro-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================
   RESPONSIVE — Large Desktop (min-width: 1200px)
   ============================================ */
@media (min-width: 1200px) {
    .votigopro-events {
        grid-template-columns: repeat(4, 1fr);
    }

    .votigopro-manage-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .votigopro-chat-widget,
    .votigopro-vote__submit,
    .votigopro-pagination,
    .votigopro-event-card,
    .votigopro-results-table-wrap {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .votigopro-vote__division-box {
        background: #fff !important;
        color: #000 !important;
    }

    .votigopro-vote__division-title {
        background: #eee !important;
        color: #000 !important;
        border-bottom-color: #ccc !important;
    }
}

/* ============================================
   ACCESSIBILITY — Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   FOCUS STYLES — Keyboard Navigation
   ============================================ */
.votigopro-tab:focus-visible,
.votigopro-vote__approval-checkbox:focus-visible,
.votigopro-vote__ranked-input:focus-visible,
.votigopro-vote__rating-input:focus-visible,
.votigopro-vote__star:focus-visible,
.votigopro-manage-item:focus-visible,
.votigopro-event-card:focus-visible {
    outline: 2px solid var(--vp-green);
    outline-offset: 2px;
}
