/* themes.css — Theme-specific overrides (applied via CSS custom properties by ThemeEngine) */

/* Theme transition smoothing */
body {
    transition: background-color 0.3s;
}

#app-header {
    transition: background 0.3s;
}

.filter-tab {
    transition: all 0.2s;
}

/* Theme picker grid */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--s3);
    margin-top: var(--s2);
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s2) var(--s3);
    border: 2px solid transparent;
    border-radius: 20px;
    background: var(--card-bg);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.theme-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.theme-option:active {
    transform: scale(0.96);
}

.theme-option.active {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.2);
    background: white;
}

/* Large emoji bubble */
.theme-emoji-bubble {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s;
}

.theme-option:hover .theme-emoji-bubble {
    transform: scale(1.08);
}

.theme-emoji {
    font-size: 32px;
    line-height: 1;
}

.theme-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
}

.theme-option .check {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
