.theme-selection-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.theme-option {
    border: 2px solid var(--border-color-light);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--result-bg-light);
}

body.dark-mode .theme-option {
    border-color: #444;
    background-color: var(--result-bg-dark);
}

.theme-option.selected {
    border-color: var(--primary-color-light);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    transform: scale(1.02);
}

body.dark-mode .theme-option.selected {
    border-color: var(--primary-color-dark);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.theme-option h3 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.theme-preview {
    display: flex;
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
}

.color-swatch {
    flex-grow: 1;
    transition: transform 0.2s ease;
}

.theme-option:hover .color-swatch {
    transform: scaleY(1.1);
}
