/**
 * Unified shell spacing for Sales Octopus dashboard shortcodes.
 * Reference: Generator Grafik Reklamowych Facebook (margin above card + p-6 inside).
 */

/* Outer shells – gap before the dark card + internal padding */
.flex-1.p-6.overflow-auto,
.flex-1.p-6,
.bc-dashboard-wrapper,
.bc-social-posts-wrapper,
.bc-social-posts-wrap,
.bc-audit-retrieve-emails-wrapper,
#bc-audit-email-generator.flex-1.p-6.overflow-auto,
.bc-meta-ads-wrap,
.bc-facebook-campaign-setup-outer,
.bc-facebook-graphics-wrap,
.bc-graphics-archive-wrap,
.bc-tutorial-steps-wrap,
.bc-social-posts-archive-wrap,
.bc-checklist-wrap,
.bc-plugin-download-wrap,
.bc-shortcode-shell {
    margin-top: 1.5rem !important;
    padding: 1.5rem !important;
    box-sizing: border-box;
}

/* Page headers – no extra top padding inside the shell */
.text-center.mb-10,
.bc-facebook-campaign-setup-header,
.bc-facebook-ads-header,
.bc-meta-ads-analysis-header,
.retrieve-emails-header,
.bc-dashboard-header {
    padding-top: 0;
    margin-top: 0;
}

.bc-facebook-campaign-setup-header {
    text-align: center;
    padding-bottom: 2.5rem;
}

/* Optional CTA below centered shortcode header (e.g. social posts) */
.bc-social-posts-header-action {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .flex-1.p-6.overflow-auto,
    .flex-1.p-6,
    .bc-dashboard-wrapper,
    .bc-social-posts-wrapper,
    .bc-social-posts-wrap,
    .bc-audit-retrieve-emails-wrapper,
    .bc-meta-ads-wrap,
    .bc-facebook-campaign-setup-outer,
    .bc-facebook-graphics-wrap,
    .bc-graphics-archive-wrap,
    .bc-tutorial-steps-wrap,
    .bc-social-posts-archive-wrap,
    .bc-checklist-wrap,
    .bc-plugin-download-wrap,
    #bc-audit-email-generator.flex-1.p-6.overflow-auto,
    .bc-shortcode-shell {
        margin-top: 1rem !important;
        padding: 1rem !important;
    }
}
