/* VoteHub Modal Styles */
.votehub-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 18, 27, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.votehub-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.votehub-modal-content {
    position: relative;
    background: var(--bg-elevated, #ffffff);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 22px 48px rgba(53, 28, 113, 0.32);
    padding: 2rem;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 200ms ease, transform 200ms ease;
}

.votehub-modal-content.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.votehub-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #4a4a4a);
    transition: color 0.2s ease;
    z-index: 1;
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 32px;
}

.votehub-modal-close:hover {
    color: var(--text-primary, #1a1a1a);
}

