/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Sources: assets/css/app_shell/layout/modules/theme/index.css
 */
/* 主题 / 配色选择器 */


/* === import from ../theme-selector/index.css (index.css) */

/* === import from ./theme-mode.css (theme-mode.css) */
.theme-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.theme-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--panel2);
}

.theme-option:hover {
    border-color: var(--brand1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.theme-option-active {
    border-color: var(--brand1);
    background: rgba(75, 124, 255, 0.05);
}

.theme-preview {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-preview-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.theme-preview-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.theme-preview-auto {
    background: linear-gradient(135deg, #f8fafc 0%, #1e293b 100%);
}

.theme-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.theme-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand1);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.theme-option-active .theme-check {
    display: flex;
}



/* === import from ./brand-color.css (brand-color.css) */
/* 7. Brand Color Selector */
.brand-color-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.brand-color-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--panel2);
}

.brand-color-option:hover {
    border-color: var(--brand1);
    background: var(--panel);
}

.brand-color-option.active {
    border-color: var(--brand1);
    background: rgba(var(--brand1-rgb), 0.08); /* This will be re-evaluated by dynamic-brand-style */
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.05);
}

.color-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
