/**
 * Edge-to-edge layout utilities
 * Use these classes to remove Bootstrap container and row padding
 * IMPORTANT: This overrides Bootstrap's _containers.scss
 */

/* Force override Bootstrap container styles with maximum specificity */
html body .container.edge-to-edge,
html body .container-fluid.edge-to-edge,
html body .container-lg.edge-to-edge,
html body .container-md.edge-to-edge,
html body .container-sm.edge-to-edge,
html body .container-xl.edge-to-edge,
html body .container-xxl.edge-to-edge,
html body .container.egr-no-container-padding,
html body .container-fluid.egr-no-container-padding,
html body .container-lg.egr-no-container-padding,
html body .container-md.egr-no-container-padding,
html body .container-sm.egr-no-container-padding,
html body .container-xl.egr-no-container-padding,
html body .container-xxl.egr-no-container-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
}

/* Override Bootstrap's default container styles */
html body .container.edge-to-edge,
html body .container-fluid.edge-to-edge,
html body [class*="container-"].edge-to-edge,
html body .container.egr-no-container-padding,
html body .container-fluid.egr-no-container-padding,
html body [class*="container-"].egr-no-container-padding {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: auto;
    margin-left: auto;
}

/* Remove row column padding - add to container or row */
html body .edge-to-edge .row > *,
html body .row.edge-to-edge > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Combined class for both container and row */
html body .full-edge-to-edge,
html body .full-edge-to-edge .container,
html body .full-edge-to-edge .container-fluid,
html body .full-edge-to-edge [class*="container-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
}

html body .full-edge-to-edge .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Page-level edge-to-edge */
html body.edge-to-edge-layout .container,
html body.edge-to-edge-layout .container-fluid,
html body.edge-to-edge-layout [class*="container-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    --bs-gutter-x: 0 !important;
}

html body.edge-to-edge-layout .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}