/* Shared Demo Styles - Used across all magician demo pages */

/* Hide scrollbar but allow scrolling */
body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Suggestion Items */
.suggestion-item {
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    background: white;
    transition: all 0.2s;
}

.suggestion-item:hover {
    border-color: #f97316;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

.suggestion-item.approved {
    background: #fef3e2;
    border-color: #f97316;
}

.suggestion-item.rejected {
    opacity: 0.5;
    background: #f5f5f5;
}

/* Vote Bar */
.vote-bar {
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.vote-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fb923c);
    transition: width 0.3s ease;
}

/* Vote Buttons */
.vote-btn {
    padding: 0.25rem 0.75rem;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    margin: 0 0.25rem;
}

.vote-btn:hover {
    border-color: #f97316;
    background: #fef3e2;
}

.vote-btn.voted {
    background: #f97316;
    color: white;
    border-color: #f97316;
}

/* Consensus Prompt */
.consensus-prompt {
    background: #fef3e2;
    border: 2px solid #f97316;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f97316;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Preview Container */
.image-preview {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
