/**
 * Virtual Congress Hall - Public 3D Styles
 * Modern glassmorphism + 3D entrance with three doors
 */

/* === Base === */
.vch-public-wrap,
.vch-ca-wrap {
    --vch-purple: #a78bfa;
    --vch-blue: #60a5fa;
    --vch-pink: #f472b6;
    --vch-green: #34d399;
    --vch-orange: #fb923c;
    --vch-teal: #2dd4bf;
    --vch-amber: #fbbf24;
    --vch-indigo: #818cf8;
    --vch-bg-1: #0f0c29;
    --vch-bg-2: #302b63;
    --vch-bg-3: #24243e;
    --vch-glass: rgba(255, 255, 255, 0.08);
    --vch-glass-border: rgba(255, 255, 255, 0.18);
    --vch-text: #ffffff;
    --vch-text-muted: rgba(255, 255, 255, 0.7);
    --vch-radius: 18px;
    --vch-radius-sm: 12px;
    --vch-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --vch-shadow-glow: 0 0 40px rgba(167, 139, 250, 0.5);
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

/* In English mode, use system English fonts for better digit rendering */
.vch-public-wrap[dir="ltr"],
.vch-ca-wrap[dir="ltr"] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Force English digits in LTR mode */
.vch-public-wrap[dir="ltr"] *,
.vch-ca-wrap[dir="ltr"] * {
    font-feature-settings: "tnum";
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
}

.vch-public-wrap *,
.vch-ca-wrap * {
    box-sizing: border-box;
}

/* === Background Blobs === */
.vch-entrance-bg,
.vch-ca-login-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--vch-bg-1), var(--vch-bg-2), var(--vch-bg-3));
    background-size: 200% 200%;
    animation: vch-gradient-shift 20s ease infinite;
    overflow: hidden;
    z-index: -1;
}

.vch-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: vch-float 15s ease-in-out infinite;
}
.vch-blob-1 {
    width: 500px; height: 500px;
    background: var(--vch-purple);
    top: -100px; right: -100px;
}
.vch-blob-2 {
    width: 400px; height: 400px;
    background: var(--vch-blue);
    bottom: -100px; left: -100px;
    animation-delay: -5s;
}
.vch-blob-3 {
    width: 350px; height: 350px;
    background: var(--vch-pink);
    top: 40%; left: 50%;
    animation-delay: -10s;
}

@keyframes vch-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes vch-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.vch-stars-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 40% 70%, white, transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 70% 80%, white, transparent),
        radial-gradient(2px 2px at 80% 20%, white, transparent),
        radial-gradient(1px 1px at 90% 60%, white, transparent),
        radial-gradient(1.5px 1.5px at 15% 85%, white, transparent),
        radial-gradient(1px 1px at 60% 15%, white, transparent);
    background-size: 300px 300px;
    opacity: 0.3;
    animation: vch-twinkle 4s ease-in-out infinite;
}

@keyframes vch-twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

/* === Entrance === */
.vch-entrance {
    min-height: 100vh;
    position: relative;
    color: var(--vch-text);
}

.vch-entrance-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.vch-entrance-header {
    text-align: center;
    margin-bottom: 60px;
    animation: vch-fade-in-down 0.8s ease;
}

.vch-entrance-logo img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 30px;
    box-shadow: var(--vch-shadow-glow);
    margin-bottom: 24px;
    transition: transform 0.3s;
}
.vch-entrance-logo img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.vch-entrance-logo-fallback {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--vch-shadow-glow);
}
.vch-entrance-logo-fallback .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: white;
}

.vch-entrance-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 16px;
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-pink), var(--vch-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(167, 139, 250, 0.3);
}

.vch-entrance-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--vch-text-muted);
    max-width: 700px;
    margin: 0 auto 20px;
}

.vch-entrance-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 14px;
}
.vch-entrance-meta span {
    background: var(--vch-glass);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--vch-glass-border);
    backdrop-filter: blur(10px);
}
.vch-entrance-meta .dashicons {
    vertical-align: middle;
    margin-inline-end: 4px;
    color: var(--vch-purple);
}

/* === Three Doors === */
.vch-doors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
    animation: vch-fade-in-up 0.8s ease 0.3s both;
}

.vch-door {
    position: relative;
    background: var(--vch-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    color: var(--vch-text);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* On mobile: stack vertically with order: exhibition, posters, guide */
@media (max-width: 768px) {
    .vch-doors {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vch-door-exhibition { order: 1; }
    .vch-door-posters { order: 2; }
    .vch-door-guide { order: 3; }
    .vch-door {
        padding: 24px 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: start;
    }
    .vch-door-icon {
        width: 64px !important;
        height: 64px !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    .vch-door-icon .dashicons {
        font-size: 30px !important;
        width: 30px !important;
        height: 30px !important;
    }
    .vch-door > h2,
    .vch-door > p,
    .vch-door > .vch-door-action {
        margin: 0;
    }
    .vch-door h2 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    .vch-door p {
        margin-bottom: 10px;
        font-size: 12px;
    }
    /* Wrap text content in a flex column */
    .vch-door > *:not(.vch-door-icon) {
        flex: 1;
        min-width: 0;
    }
    .vch-door-action {
        align-self: flex-start;
    }
    /* Mobile: hide entire door-action button (background + text + arrow) */
    .vch-door-action {
        display: none !important;
    }
}

.vch-door::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.vch-door:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--vch-shadow), var(--vch-shadow-glow);
    border-color: rgba(255,255,255,0.4);
}
.vch-door:hover::before {
    transform: translateX(100%);
}

.vch-door-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.4s;
}
.vch-door:hover .vch-door-icon {
    transform: rotateY(360deg);
}
.vch-door-icon .dashicons {
    font-size: 44px;
    width: 44px;
    height: 44px;
}

.vch-door-posters .vch-door-icon {
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-indigo));
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}
.vch-door-guide .vch-door-icon {
    background: linear-gradient(135deg, var(--vch-green), var(--vch-teal));
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}
.vch-door-exhibition .vch-door-icon {
    background: linear-gradient(135deg, var(--vch-orange), var(--vch-pink));
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.4);
}

.vch-door h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}
.vch-door p {
    font-size: 14px;
    color: var(--vch-text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}
.vch-door-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.vch-door:hover .vch-door-action {
    background: white;
    color: var(--vch-bg-1);
}

.vch-entrance-footer {
    text-align: center;
    margin-top: 60px;
    animation: vch-fade-in-up 0.8s ease 0.6s both;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.vch-upload-link,
.vch-admin-login-link,
.vch-judge-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color: white;
}
.vch-upload-link {
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-pink));
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}
.vch-upload-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(167, 139, 250, 0.6);
    color: white;
}
.vch-judge-login-link {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
}
.vch-judge-login-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.55);
    color: white;
}
.vch-admin-login-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.vch-admin-login-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

/* === Doors grid: flexible for 3-6 doors === */
.vch-doors-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) and (min-width: 769px) {
    .vch-doors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .vch-doors-grid {
        grid-template-columns: 1fr !important;
    }
    .vch-door-programs { order: 2; }
    .vch-door-booklet { order: 4; }
    .vch-door-certificates { order: 5; }
}

/* === Website Buttons === */
.vch-entrance-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.vch-btn-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.vch-btn-website .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.vch-btn-congress {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.vch-btn-congress:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}
.vch-btn-main {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}
.vch-btn-main:hover {
    background: linear-gradient(135deg, #fb923c, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.6);
    color: white;
}

@keyframes vch-fade-in-down {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes vch-fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Language Switcher === */
.vch-lang-switcher {
    position: fixed;
    top: 20px;
    inset-inline-end: 20px;
    background: var(--vch-glass);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--vch-glass-border);
    z-index: 100;
    font-size: 13px;
    font-weight: 600;
}
.vch-lang-switcher a {
    color: var(--vch-text-muted);
    text-decoration: none;
    padding: 2px 6px;
}
.vch-lang-switcher a.active {
    color: var(--vch-text);
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
}
.vch-lang-sep {
    color: rgba(255,255,255,0.3);
    margin: 0 4px;
}

/* Add top padding to section header to avoid overlap with fixed lang switcher */
.vch-posters-hall .vch-section-header,
.vch-guide-page .vch-section-header,
.vch-exhibition-hall .vch-section-header,
.vch-company-page .vch-section-header,
.vch-upload-page .vch-section-header {
    padding-top: 60px;
    margin-top: 0;
}

/* === Section Header === */
.vch-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.vch-section-header h1 {
    color: var(--vch-text);
    margin: 0;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vch-section-header h1 .dashicons {
    color: var(--vch-purple);
}
.vch-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    color: var(--vch-text);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
}
.vch-back-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(-3px);
    color: white;
}

/* === Posters Hall === */
.vch-posters-hall,
.vch-guide-page,
.vch-exhibition-hall,
.vch-company-page,
.vch-upload-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--vch-bg-1), var(--vch-bg-2), var(--vch-bg-3));
    color: var(--vch-text);
    padding: 40px 24px;
}

.vch-posters-search-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}
.vch-search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.vch-search-box .dashicons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: 14px;
    color: var(--vch-text-muted);
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.vch-search-box input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 14px 14px 44px;
    color: var(--vch-text);
    font-size: 15px;
    font-family: inherit;
}
.vch-search-box input:focus {
    outline: none;
}
.vch-search-box input::placeholder {
    color: var(--vch-text-muted);
}

.vch-sort-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    padding: 6px 8px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.vch-sort-label {
    color: var(--vch-text-muted);
    font-size: 13px;
    padding-inline-start: 8px;
}
.vch-sort-btn {
    background: transparent;
    border: none;
    color: var(--vch-text-muted);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: all 0.3s;
}
.vch-sort-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--vch-text);
}
.vch-sort-btn.active {
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-indigo));
    color: white;
    font-weight: 600;
}

.vch-posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.vch-poster-card {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
}
.vch-poster-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--vch-shadow), var(--vch-shadow-glow);
    border-color: rgba(255,255,255,0.3);
}
.vch-poster-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.vch-poster-info {
    padding: 12px 14px;
}
.vch-poster-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--vch-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vch-poster-title {
    font-size: 12px;
    color: var(--vch-text-muted);
    margin: 0 0 4px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vch-poster-code {
    font-size: 12px;
    color: var(--vch-text-muted);
}
.vch-poster-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.vch-star {
    font-size: 14px;
    color: var(--vch-amber);
}
.vch-star-off {
    color: rgba(255,255,255,0.2);
}
.vch-rating-count {
    font-size: 11px;
    color: var(--vch-text-muted);
    margin-inline-start: 4px;
}

.vch-loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--vch-text-muted);
}
.vch-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--vch-purple);
    border-radius: 50%;
    animation: vch-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes vch-spin {
    to { transform: rotate(360deg); }
}

/* === Poster Fullscreen Modal === */
.vch-poster-fullscreen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.vch-fullscreen-close {
    position: fixed;
    top: 15px;
    inset-inline-end: 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.vch-fullscreen-close:hover {
    background: rgba(255,0,0,0.5);
    transform: rotate(90deg);
}

/* Fullscreen toggle button */
.vch-fullscreen-toggle {
    position: fixed;
    top: 15px;
    inset-inline-start: 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(167,139,250,0.3);
    border: 1px solid rgba(167,139,250,0.5);
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vch-fullscreen-toggle:hover {
    background: rgba(167,139,250,0.6);
    transform: scale(1.1);
}
.vch-fullscreen-toggle .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Navigation arrows */
.vch-fullscreen-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.vch-fullscreen-nav:hover {
    background: rgba(167,139,250,0.4);
    transform: translateY(-50%) scale(1.1);
}
.vch-fullscreen-nav .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}
.vch-fullscreen-prev { inset-inline-start: 20px; }
.vch-fullscreen-next { inset-inline-end: 20px; }

.vch-fullscreen-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;  /* center horizontally */
    text-align: center;
}
.vch-fullscreen-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.vch-fullscreen-info {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: 16px;
    padding: 20px 24px;
    width: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}
.vch-fullscreen-meta h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--vch-text);
}
.vch-fullscreen-meta p {
    margin: 0;
    color: var(--vch-text-muted);
    font-size: 13px;
}

.vch-rate-stars {
    display: flex;
    gap: 4px;
    font-size: 28px;
    cursor: pointer;
}
.vch-rate-star {
    color: rgba(255,255,255,0.3);
    transition: all 0.2s;
    user-select: none;
    display: inline-block;
}
.vch-rate-star:hover,
.vch-rate-star.hover {
    color: var(--vch-amber);
    transform: scale(1.2);
}
.vch-rate-star.active {
    color: var(--vch-amber);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
@keyframes vch-stars-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.vch-rating-info {
    font-size: 13px;
    color: var(--vch-text-muted);
    margin-top: 6px;
}
.vch-rating-msg {
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
    color: var(--vch-green);
    font-weight: 600;
}
.vch-rating-msg.error {
    color: #ef4444;
}

.vch-fullscreen-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.vch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--vch-glass-border);
    transition: all 0.3s;
    font-family: inherit;
}
.vch-btn-ghost {
    background: var(--vch-glass);
    color: var(--vch-text);
}
.vch-btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}
.vch-btn-primary {
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-pink));
    color: white;
    border: none;
}
.vch-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(167,139,250,0.4);
}
.vch-btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.vch-qr-share img {
    border-radius: 8px;
    background: white;
    padding: 4px;
}

/* === Guide Page === */
.vch-guide-box {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    padding: 32px;
    backdrop-filter: blur(20px);
    margin-bottom: 32px;
}
.vch-guide-text {
    line-height: 1.8;
    font-size: 16px;
    color: var(--vch-text);
}
.vch-guide-text p {
    margin: 0 0 12px;
}
.vch-guide-text p:last-child {
    margin-bottom: 0;
}
.vch-guide-text p:first-child {
    margin-top: 0;
}

.vch-guide-contact {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    padding: 24px 32px;
    backdrop-filter: blur(20px);
}
.vch-guide-contact h3 {
    margin: 0 0 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vch-guide-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vch-guide-contact li {
    padding: 8px 0;
    color: var(--vch-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.vch-guide-contact li .dashicons {
    color: var(--vch-purple);
    width: 18px;
    height: 18px;
    font-size: 18px;
}
.vch-guide-contact a {
    color: var(--vch-blue);
    text-decoration: none;
}
.vch-guide-contact a:hover {
    text-decoration: underline;
}

/* === Exhibition Hall === */
.vch-exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.vch-booth {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius-sm);
    overflow: hidden;
    text-decoration: none;
    color: var(--vch-text);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}
.vch-booth:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--vch-shadow), 0 0 30px rgba(251,146,60,0.3);
    border-color: rgba(255,255,255,0.3);
}
.vch-booth-logo {
    height: 180px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--vch-glass-border);
}
.vch-booth-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.vch-booth-logo-fallback {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--vch-orange), var(--vch-pink));
    display: flex;
    align-items: center;
    justify-content: center;
}
.vch-booth-logo-fallback .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
}
.vch-booth-info {
    padding: 20px;
    flex: 1;
}
.vch-booth-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.vch-booth-info p {
    color: var(--vch-text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.vch-booth-enter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--vch-orange);
    font-weight: 600;
    font-size: 13px;
}

/* === Company Page === */
.vch-company-header {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    padding: 32px;
    backdrop-filter: blur(20px);
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;  /* vertically center */
    justify-content: center;  /* horizontally center */
    text-align: center;
}
.vch-company-logo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;  /* center */
}
.vch-company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.vch-company-logo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vch-orange), var(--vch-pink));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vch-company-logo-fallback .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: white;
}
.vch-company-info {
    flex: 1;
    min-width: 250px;
    text-align: center;  /* center text */
}
.vch-company-info h2 {
    margin: 0 0 12px;
    font-size: 26px;
}
.vch-company-desc {
    color: var(--vch-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.vch-company-qr {
    display: flex;
    flex-direction: column;
    align-items: center;  /* center */
    gap: 4px;
    margin-top: 16px;
}
.vch-company-qr img {
    background: white;
    padding: 6px;
    border-radius: 8px;
}
.vch-company-qr small {
    color: var(--vch-text-muted);
    font-size: 11px;
}

.vch-company-contact {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius-sm);
    padding: 24px 32px;
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
}
.vch-company-contact h3 {
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vch-company-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vch-company-contact li {
    padding: 8px 0;
    color: var(--vch-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.vch-company-contact li .dashicons {
    color: var(--vch-orange);
    width: 18px;
    height: 18px;
    font-size: 18px;
}
.vch-company-contact a {
    color: var(--vch-blue);
}

.vch-company-products h3 {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vch-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.vch-product-card {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius-sm);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.vch-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vch-shadow);
}
.vch-product-img {
    height: 180px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vch-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vch-product-img .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--vch-text-muted);
}
.vch-product-info {
    padding: 16px;
}
.vch-product-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.vch-product-price {
    margin-bottom: 10px;
}
.vch-price {
    color: var(--vch-green);
    font-weight: 700;
    font-size: 16px;
}
.vch-price-original {
    color: var(--vch-text-muted);
    text-decoration: line-through;
    font-size: 13px;
    margin-inline-end: 8px;
}
.vch-price-discounted {
    color: var(--vch-pink);
    font-weight: 700;
    font-size: 16px;
}
.vch-discount-badge {
    display: inline-block;
    background: var(--vch-pink);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-inline-start: 6px;
}
.vch-product-desc-short {
    font-size: 12px;
    color: var(--vch-text-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* === Upload Page === */
.vch-upload-card {
    background: var(--vch-glass);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    padding: 40px;
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
    max-width: 700px;
    margin-inline: auto;
}

.vch-uploader-help-box {
    background: var(--vch-glass);
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: var(--vch-radius);
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
    max-width: 800px;
    margin-inline: auto;
}
.vch-uploader-help-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vch-blue), var(--vch-indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}
.vch-uploader-help-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: white;
}
.vch-uploader-help-text {
    flex: 1;
    line-height: 1.8;
    font-size: 14px;
    color: var(--vch-text);
}
.vch-uploader-help-text p {
    margin: 0 0 10px;
}
.vch-uploader-help-text p:last-child {
    margin-bottom: 0;
}
.vch-upload-header {
    text-align: center;
    margin-bottom: 32px;
}
.vch-upload-hero-icon {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: var(--vch-purple);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-indigo));
    border-radius: 50%;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.vch-upload-header h2 {
    margin: 0 0 8px;
    font-size: 22px;
}
.vch-upload-header p {
    color: var(--vch-text-muted);
    margin: 0;
}

.vch-upload-step {
    margin-bottom: 28px;
}
.vch-upload-step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
}
.vch-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vch-purple), var(--vch-indigo));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.vch-upload-step input[type="text"] {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--vch-glass-border);
    color: var(--vch-text);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
}
.vch-upload-step input:focus {
    outline: none;
    border-color: var(--vch-purple);
    background: rgba(255,255,255,0.08);
}
.vch-step-help {
    font-size: 12px;
    color: var(--vch-text-muted);
    margin: 6px 0 0;
}

.vch-file-drop {
    border: 2px dashed var(--vch-glass-border);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.03);
}
.vch-file-drop:hover,
.vch-file-drop.dragover {
    border-color: var(--vch-purple);
    background: rgba(167,139,250,0.1);
}
.vch-file-drop-content .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--vch-purple);
    margin-bottom: 12px;
}
.vch-file-drop-content p {
    margin: 0 0 8px;
    font-weight: 600;
}
.vch-file-drop-content small {
    color: var(--vch-text-muted);
}

.vch-file-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: start;
    padding: 16px;
}
.vch-file-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.vch-file-info {
    flex: 1;
}
.vch-file-info strong {
    display: block;
    margin-bottom: 4px;
}
.vch-file-info small {
    color: var(--vch-text-muted);
}
.vch-file-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,0,0,0.2);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.vch-file-remove:hover {
    background: rgba(255,0,0,0.4);
    transform: rotate(90deg);
}

.vch-upload-result {
    margin-top: 20px;
}

/* === Empty State === */
.vch-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--vch-text-muted);
}
.vch-empty-state .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: var(--vch-text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
}
.vch-empty-state h3 {
    margin: 0 0 8px;
    color: var(--vch-text);
    font-size: 20px;
}
.vch-empty-state p {
    margin: 0;
}

.vch-empty {
    color: var(--vch-text-muted);
    font-style: italic;
    padding: 20px;
    text-align: center;
}

/* === Alerts === */
.vch-alert {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.vch-alert-success {
    background: rgba(52,211,153,0.15);
    border: 1px solid var(--vch-green);
    color: var(--vch-green);
}
.vch-alert-error {
    background: rgba(239,68,68,0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.vch-error-box {
    background: rgba(239,68,68,0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 20px;
    font-size: 18px;
}

/* === Modal === */
.vch-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vch-modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    color: #ffffff;
}
.vch-modal-content.vch-modal-large {
    max-width: 800px;
}
.vch-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(251, 146, 60, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #0a0a0a;
    z-index: 1;
}
.vch-modal-header h3 {
    margin: 0;
    color: #fb923c;
    font-weight: 700;
    font-size: 20px;
}
.vch-modal-close {
    background: transparent;
    border: none;
    color: #fb923c;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.3s;
}
.vch-modal-close:hover {
    background: rgba(251, 146, 60, 0.2);
}
.vch-modal-body {
    padding: 24px;
    color: #ffffff;
}

/* === Auto-Display Button === */
.vch-auto-display-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.vch-auto-display-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}
.vch-auto-display-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* === Auto-Display Modal — image only, fullscreen-like === */
.vch-auto-display-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.vch-auto-close {
    position: fixed;
    top: 15px;
    inset-inline-end: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.vch-auto-close:hover {
    background: rgba(255,0,0,0.5);
    transform: rotate(90deg);
}
.vch-auto-progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 10002;
}
#vch-auto-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 0%;
    transition: width 0.1s linear;
}
.vch-auto-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.vch-auto-image-wrap img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}
.vch-auto-info-bar {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10001;
    backdrop-filter: blur(10px);
}
.vch-auto-sep {
    opacity: 0.5;
}

/* Responsive for auto-display */
@media (max-width: 768px) {
    .vch-auto-info-bar {
        font-size: 12px;
        padding: 8px 16px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .vch-door {
        padding: 28px 20px;
    }
    .vch-door-icon {
        width: 70px;
        height: 70px;
    }
    .vch-door-icon .dashicons {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }
    .vch-entrance-title {
        font-size: 28px;
    }
    .vch-products-grid {
        grid-template-columns: 1fr;
    }
}

/* === Comprehensive Mobile Responsive === */
@media (max-width: 768px) {
    /* Entrance footer: stack buttons vertically */
    .vch-entrance-footer {
        flex-direction: column;
        gap: 12px;
    }
    .vch-upload-link,
    .vch-admin-login-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
        box-sizing: border-box;
        text-align: center;
    }
    /* Entrance content: prevent horizontal overflow */
    .vch-entrance-content {
        padding: 24px 12px;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .vch-entrance-meta {
        flex-direction: column;
        gap: 8px;
    }
    .vch-entrance-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .vch-btn-website {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    /* Section headers */
    .vch-section-header {
        padding-top: 60px;
        margin-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .vch-section-header h1 {
        font-size: 20px;
    }
    /* Posters hall */
    .vch-posters-hall,
    .vch-guide-page,
    .vch-exhibition-hall,
    .vch-company-page,
    .vch-upload-page {
        padding: 24px 12px;
    }
    .vch-posters-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    /* Guide box */
    .vch-guide-box {
        padding: 20px 16px;
    }
    /* Company header */
    .vch-company-header {
        flex-direction: column;
        padding: 24px 16px;
    }
    .vch-company-logo {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    /* Upload card */
    .vch-upload-card {
        padding: 24px 16px;
    }
    /* Fullscreen poster modal */
    .vch-fullscreen-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px 16px;
    }
    .vch-fullscreen-meta h2 {
        font-size: 18px;
    }
    .vch-rate-stars {
        font-size: 24px;
    }
    /* Poster modal: navigation on top of popup */
    .vch-poster-fullscreen {
        padding: 10px;
    }
    .vch-fullscreen-close {
        top: 10px;
        inset-inline-end: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .vch-fullscreen-nav {
        width: 44px;
        height: 44px;
        top: 60px;
    }
    .vch-fullscreen-nav .dashicons {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }
    .vch-fullscreen-content img {
        max-height: 55vh;
    }
    .vch-fullscreen-content {
        gap: 12px;
    }
    .vch-fullscreen-info {
        padding: 12px;
    }
    /* Auto-display on mobile */
    .vch-auto-content img {
        max-height: 50vh;
    }
    .vch-auto-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px 16px;
    }
    .vch-auto-meta h2 {
        font-size: 18px;
    }
}

/* === Print === */
@media print {
    .vch-lang-switcher,
    .vch-back-btn,
    .vch-fullscreen-actions {
        display: none !important;
    }
}

/* === Programs page === */
.vch-programs-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}
.vch-programs-subtitle {
    color: var(--vch-text-muted);
    text-align: center;
    margin: -16px 0 28px;
    font-size: 14px;
}
.vch-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.vch-program-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px 24px;
    background: var(--vch-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--vch-glass-border);
    border-radius: var(--vch-radius);
    color: var(--vch-text);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vch-program-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(167,139,250,0.15));
    opacity: 0;
    transition: opacity 0.3s;
}
.vch-program-btn:hover::before { opacity: 1; }
.vch-program-btn:hover {
    transform: translateY(-4px);
    border-color: var(--vch-purple);
    box-shadow: 0 16px 32px rgba(167,139,250,0.3);
}
.vch-program-btn .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--vch-pink);
}
.vch-program-btn-text {
    font-size: 17px;
    font-weight: 700;
}
.vch-program-btn-action {
    font-size: 13px;
    color: var(--vch-purple);
    opacity: 0.85;
    margin-top: 4px;
}

/* PDF viewer modal */
.vch-pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.vch-pdf-modal-bar {
    width: 100%;
    max-width: 1200px;
    height: 56px;
    background: #1a1a2e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.vch-pdf-modal-bar h3 {
    margin: 0;
    font-size: 16px;
    color: white;
    font-weight: 600;
}
.vch-pdf-modal-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.vch-pdf-modal-close:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.vch-pdf-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.vch-pdf-modal-body {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    background: white;
    overflow: hidden;
}
.vch-pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 70vh;
}

/* Door color accents */
.vch-door-programs .vch-door-icon { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.vch-door-booklet .vch-door-icon { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.vch-door-certificates .vch-door-icon { background: linear-gradient(135deg, #059669, #14b8a6); }

/* Empty state (used by programs page) */
.vch-empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--vch-text-muted);
}
.vch-empty-state .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--vch-text-muted);
    opacity: 0.5;
}
.vch-empty-state h3 {
    margin: 16px 0 8px;
    font-size: 18px;
    color: var(--vch-text);
}

/* === Responsive entrance footer === */
@media (max-width: 768px) {
    .vch-entrance-footer {
        flex-direction: column;
        gap: 10px;
    }
    .vch-upload-link,
    .vch-judge-login-link,
    .vch-admin-login-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}
