.theme-modal .modal-box {
    max-width: 420px;
    width: calc(100% - 32px);
    top: 25%;
}

.theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.theme-btn {
    border: 1px solid var(--border-soft);
    background: var(--surface-soft);
    color: var(--text-main);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}

.theme-btn:hover {
    transform: translateY(-1px);
    background: var(--surface-hover);
}

.theme-btn.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft) inset;
}

.theme-samples {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
}

.theme-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.theme-action-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
}

.theme-action-btn.cancel {
    background: var(--surface-soft);
    color: var(--text-main);
}

.theme-action-btn.save {
    background: var(--accent);
    color: var(--accent-contrast);
}
