.bg-changer-wrap {
    font-family: Vazirmatn, Tahoma, sans-serif;
    direction: rtl;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

.bg-changer-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.bg-changer-wrap p.subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
}

.bgc-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

.bgc-upload-btn {
    background: #111;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    border: none;
    transition: background 0.2s;
}
.bgc-upload-btn:hover { background: #333; }

.bgc-label {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bgc-color-input {
    width: 38px;
    height: 34px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 2px;
}

.bgc-range {
    width: 100px;
    cursor: pointer;
}

.bgc-process-btn {
    background: #2563eb;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.2s;
}
.bgc-process-btn:hover { background: #1d4ed8; }
.bgc-process-btn:disabled { background: #aaa; cursor: not-allowed; }

.bgc-download-btn {
    background: #16a34a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.2s;
}
.bgc-download-btn:hover { background: #15803d; }

.bgc-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bgc-images.single {
    grid-template-columns: 1fr;
    max-width: 480px;
}

.bgc-image-box p {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.bgc-image-box img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: block;
}

@media (max-width: 600px) {
    .bgc-images { grid-template-columns: 1fr; }
}
