/* Layout utilities */
.ds-stack { display: flex; flex-direction: column; gap: var(--ds-space-3); }
.ds-row { display: flex; flex-wrap: wrap; gap: var(--ds-space-3); }
.ds-text-muted { color: var(--theme-text-muted, #6b7280); }
.ds-text-center { text-align: center; }
.ds-mt-4 { margin-top: var(--ds-space-4); }
.ds-mb-4 { margin-bottom: var(--ds-space-4); }
.ds-p-4 { padding: var(--ds-space-4); }

/* Voting / ticketing surfaces */
.voting-card,
.ticketing-card {
    background: var(--theme-surface, #fff);
    border: 1px solid var(--theme-border, #e5e7eb);
    border-radius: var(--ds-radius-lg);
    padding: var(--ds-space-4);
}

.voting-badge,
.ticketing-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: var(--ds-radius-pill);
    font-size: var(--ds-font-size-xs);
    font-weight: 600;
    background: var(--theme-selection-background, #fbf0f6);
    color: var(--theme-primary, #c2185b);
}

/* Bootstrap grid compatibility (minimal) */
.container, .container-fluid { width: 100%; padding-right: 12px; padding-left: 12px; margin-right: auto; margin-left: auto; }
.row { display: flex; flex-wrap: wrap; margin-right: -12px; margin-left: -12px; }
[class*="col-"] { padding-right: 12px; padding-left: 12px; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; }
.col-md-3 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-2 { gap: var(--ds-space-2) !important; }
.w-100 { width: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: var(--ds-space-3) !important; }
.mt-3 { margin-top: var(--ds-space-3) !important; }

/* Hide legacy control sidebar */
.control-sidebar { display: none !important; }

/* Body state */
body.app-body { overflow-x: hidden; }
