:root {
    --sca-bg: #f5f8f7;
    --sca-card: #fff;
    --sca-text: #163d35;
    --sca-body: #263d38;
    --sca-muted: #6a7d78;
    --sca-border: #e1e9e6;
    --sca-brand: #12866f;
    --sca-brand-dark: #096653;
    --sca-soft: #edf8f5;
    --sca-warning: #986900;
    --sca-warning-bg: #fff7df;
    --sca-danger: #b42318;
    --sca-danger-bg: #fff1ef;
    --sca-shadow:
        0 12px 34px rgba(23, 61, 53, .07);
}

body {
    background:
        linear-gradient(
            180deg,
            #f8fbfa 0,
            var(--sca-bg) 330px
        );
}

.sc-dashboard {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 70px;
    color: var(--sca-body);
}

.sc-dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.sc-dashboard-back {
    color: var(--sca-brand-dark);
    text-decoration: none;
    font-weight: 800;
}

.sc-signout {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--sca-border);
    border-radius: 11px;
    background: #fff;
    color: var(--sca-text);
    text-decoration: none;
    font-weight: 800;
}

.sc-account-hero {
    background: var(--sca-card);
    border: 1px solid var(--sca-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--sca-shadow);
    margin-bottom: 18px;
}

.sc-account-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
}

.sc-account-eyebrow {
    color: var(--sca-muted);
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 5px;
}

.sc-account-hero h1 {
    color: var(--sca-text);
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -.5px;
}

.sc-account-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 10px;
    color: var(--sca-muted);
    font-size: 14px;
}

.sc-google-connected {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--sca-soft);
    color: var(--sca-brand-dark);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.sc-google-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-weight: 900;
}

.sc-account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid var(--sca-border);
}

.sc-stat {
    padding: 13px 14px;
    border-radius: 13px;
    background: var(--sca-bg);
}

.sc-stat strong {
    display: block;
    color: var(--sca-text);
    font-size: 22px;
}

.sc-stat span {
    display: block;
    margin-top: 2px;
    color: var(--sca-muted);
    font-size: 12px;
    font-weight: 700;
}

.sc-account-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 18px;
}

.sc-account-tabs::-webkit-scrollbar {
    display: none;
}

.sc-account-tab {
    border: 1px solid var(--sca-border);
    background: #fff;
    color: var(--sca-body);
    border-radius: 999px;
    min-height: 40px;
    padding: 0 15px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.sc-account-tab.active {
    background: var(--sca-brand);
    border-color: var(--sca-brand);
    color: #fff;
}

.sc-account-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, .75fr);
    gap: 20px;
    align-items: start;
}

.sc-account-column {
    display: grid;
    gap: 18px;
}

.sc-dashboard-card {
    background: #fff;
    border: 1px solid var(--sca-border);
    border-radius: 18px;
    padding: 21px;
    box-shadow: var(--sca-shadow);
}

.sc-dashboard-card-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 17px;
}

.sc-dashboard-card h2 {
    margin: 0;
    color: var(--sca-text);
    font-size: 19px;
}

.sc-card-subtitle {
    color: var(--sca-muted);
    font-size: 13px;
    margin: 5px 0 0;
}

.sc-text-button {
    appearance: none;
    border: 0;
    background: none;
    color: var(--sca-brand-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    padding: 4px;
}

.sc-order-list {
    display: grid;
    gap: 12px;
}

.sc-order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 15px;
    border: 1px solid var(--sca-border);
    border-radius: 14px;
    text-decoration: none;
    background: #fff;
    transition:
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.sc-order-row:hover {
    border-color: #b8d6cd;
    transform: translateY(-1px);
    box-shadow:
        0 7px 20px rgba(18, 75, 61, .06);
}

.sc-order-number {
    color: var(--sca-text);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.sc-order-meta {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    color: var(--sca-muted);
    font-size: 12px;
}

.sc-order-total {
    color: var(--sca-text);
    font-weight: 900;
    white-space: nowrap;
    text-align: right;
}

.sc-status {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--sca-soft);
    color: var(--sca-brand-dark);
    font-size: 11px;
    font-weight: 900;
}

.sc-status.pending {
    background: var(--sca-warning-bg);
    color: var(--sca-warning);
}

.sc-status.cancelled {
    background: var(--sca-danger-bg);
    color: var(--sca-danger);
}

.sc-profile-summary {
    display: grid;
    gap: 12px;
}

.sc-profile-line {
    border-bottom: 1px solid var(--sca-border);
    padding-bottom: 10px;
}

.sc-profile-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sc-profile-line small {
    display: block;
    color: var(--sca-muted);
    margin-bottom: 3px;
}

.sc-profile-line strong {
    color: var(--sca-text);
    overflow-wrap: anywhere;
}

.sc-edit-panel {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--sca-border);
}

.sc-field {
    margin-bottom: 13px;
}

.sc-field label {
    display: block;
    color: var(--sca-text);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 6px;
}

.sc-field input,
.sc-field textarea,
.sc-field select {
    width: 100%;
    box-sizing: border-box;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #ccd6d2;
    border-radius: 10px;
    background: #fff;
    color: var(--sca-body);
    font: inherit;
}

.sc-field textarea {
    min-height: 84px;
    resize: vertical;
}

.sc-field input:focus,
.sc-field textarea:focus,
.sc-field select:focus {
    outline: none;
    border-color: var(--sca-brand);
    box-shadow:
        0 0 0 3px rgba(18, 134, 111, .10);
}

.sc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.sc-btn-primary,
.sc-btn-secondary,
.sc-btn-danger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.sc-btn-primary {
    border: 1px solid var(--sca-brand);
    background: var(--sca-brand);
    color: #fff;
}

.sc-btn-secondary {
    border: 1px solid var(--sca-border);
    background: #fff;
    color: var(--sca-brand-dark);
}

.sc-btn-danger {
    border: 1px solid #f0c6c1;
    background: #fff;
    color: var(--sca-danger);
}

.sc-address-list {
    display: grid;
    gap: 12px;
}

.sc-address-card {
    border: 1px solid var(--sca-border);
    border-radius: 14px;
    padding: 15px;
}

.sc-address-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.sc-address-title {
    color: var(--sca-text);
    font-weight: 900;
}

.sc-default-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--sca-soft);
    color: var(--sca-brand-dark);
    font-size: 10px;
    font-weight: 900;
}

.sc-address-body {
    color: var(--sca-muted);
    line-height: 1.55;
    font-size: 13px;
}

.sc-address-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.sc-address-actions form {
    margin: 0;
}

.sc-empty {
    border: 1px dashed #cad9d4;
    background: #fbfdfc;
    border-radius: 14px;
    padding: 22px 17px;
    text-align: center;
}

.sc-empty-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sca-soft);
    color: var(--sca-brand);
    font-size: 20px;
}

.sc-empty strong {
    display: block;
    color: var(--sca-text);
}

.sc-empty p {
    color: var(--sca-muted);
    font-size: 13px;
    margin: 5px 0 0;
}

.sc-wishlist-list {
    display: grid;
    gap: 10px;
}

.sc-wishlist-item {
    border-bottom: 1px solid var(--sca-border);
    padding-bottom: 12px;
}

.sc-wishlist-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sc-wishlist-title {
    color: var(--sca-text);
    text-decoration: none;
    font-weight: 800;
}

.sc-wishlist-meta {
    margin: 5px 0 9px;
    color: var(--sca-muted);
    font-size: 12px;
}

.sc-account-alert {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 12px;
    font-weight: 700;
}

.sc-account-alert.success {
    background: var(--sca-soft);
    color: var(--sca-brand-dark);
}

.sc-account-alert.error {
    background: var(--sca-danger-bg);
    color: var(--sca-danger);
}

[hidden] {
    display: none !important;
}

@media (max-width: 850px) {
    .sc-account-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sc-dashboard {
        width: min(100% - 20px, 1160px);
        padding-top: 14px;
        padding-bottom: 45px;
    }

    .sc-account-hero {
        padding: 18px;
        border-radius: 16px;
    }

    .sc-account-hero-row {
        display: block;
    }

    .sc-google-connected {
        margin-top: 13px;
    }

    .sc-account-contact {
        display: grid;
        gap: 5px;
    }

    .sc-account-stats {
        grid-template-columns: 1fr 1fr;
    }

    .sc-dashboard-card {
        padding: 17px;
        border-radius: 15px;
    }

    .sc-order-row {
        grid-template-columns: 1fr;
    }

    .sc-order-total {
        text-align: left;
    }

    .sc-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sc-address-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sc-address-actions form,
    .sc-address-actions button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .sc-account-stats {
        grid-template-columns: 1fr;
    }

    .sc-address-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SC-1I PROFESSIONAL DASHBOARD GRID
   ========================================================= */

@media (min-width: 851px) {

    /*
     * The previous layout used two independent columns.
     * display:contents allows all cards to participate in
     * one common grid so their horizontal edges align.
     */
    .sc-account-layout {
        display: grid;
        grid-template-columns:
            minmax(0, 1.65fr)
            minmax(310px, .85fr);

        grid-template-areas:
            "orders    profile"
            "orders    wishlist"
            "addresses security";

        gap: 20px;
        align-items: stretch;
    }

    .sc-account-column {
        display: contents;
    }

    #ordersSection {
        grid-area: orders;
    }

    #addressesSection {
        grid-area: addresses;
    }

    #profileSection {
        grid-area: profile;
    }

    #wishlistSection {
        grid-area: wishlist;
    }

    .sc-account-column:last-child
    > .sc-dashboard-card:last-child {
        grid-area: security;
    }

    /*
     * Let cards fill the complete grid row.
     */
    .sc-dashboard-card {
        height: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    /*
     * Orders should visually occupy the whole left
     * upper zone instead of ending awkwardly early.
     */
    #ordersSection {
        display: flex;
        flex-direction: column;
    }

    #ordersSection .sc-order-list {
        flex: 1;
        align-content: start;
    }
}


/* Slightly cleaner desktop proportions */

@media (min-width: 1050px) {

    .sc-dashboard {
        width: min(
            1120px,
            calc(100% - 42px)
        );
    }

    .sc-account-hero {
        padding: 25px 27px;
    }

    .sc-dashboard-card {
        padding: 22px 23px;
    }
}


/* Tablet / mobile return to natural document flow */

@media (max-width: 850px) {

    .sc-account-layout {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 14px;
    }

    .sc-account-column {
        display: grid;
        gap: 14px;
    }

    #ordersSection,
    #addressesSection,
    #profileSection,
    #wishlistSection,
    .sc-account-column:last-child
    > .sc-dashboard-card:last-child {
        grid-area: auto;
        height: auto;
    }
}


/* SC-1I ACCOUNT SPACING / ALIGNMENT POLISH */

.sc-dashboard-card-head {
    min-height: 42px;
    align-items: flex-start;
}

.sc-dashboard-card-head h2 {
    line-height: 1.25;
}

.sc-order-row {
    min-height: 74px;
    box-sizing: border-box;
    align-items: center;
}

.sc-order-meta {
    align-items: center;
}

.sc-profile-line {
    min-height: 45px;
    box-sizing: border-box;
}

.sc-account-stats {
    align-items: stretch;
}

.sc-stat {
    min-height: 68px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-empty {
    min-height: 125px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Mobile cards should use the complete width cleanly */

@media (max-width: 640px) {

    .sc-dashboard-card {
        width: 100%;
        box-sizing: border-box;
    }

    .sc-dashboard-card-head {
        min-height: 0;
    }

    .sc-order-row {
        min-height: 0;
        padding: 14px;
    }

    .sc-empty {
        min-height: 115px;
    }

    .sc-account-tabs {
        margin-left: -2px;
        margin-right: -2px;
        padding: 2px;
    }
}


/* =========================================================
   SC-1H-R2 BRANDED ACCOUNT HEADER / BACKGROUND
   ========================================================= */

body {
    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(18, 134, 111, .08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(18, 134, 111, .045),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #f8fcfa 0,
            #f4f8f6 310px,
            #f5f7f8 100%
        );
}

.sc-dashboard {
    padding-top: 10px;
}

.sc-dashboard-brandbar {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.sc-brand-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.sc-dashboard-logo {
    display: block;
    width: auto;
    height: 46px;
    max-width: 190px;
    object-fit: contain;
}

.sc-dashboard-brand-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sc-dashboard-back {
    display: inline-flex;
    align-items: center;
}

.sc-signout {
    flex: 0 0 auto;
}

.sc-account-hero {
    margin-top: 0;
}


/*
 * Tighten the overall vertical rhythm.
 */
.sc-account-hero {
    margin-bottom: 14px;
}

.sc-account-tabs {
    margin-bottom: 14px;
}

.sc-account-layout {
    gap: 16px;
}


/*
 * Give the main account card a subtle branded treatment.
 */
.sc-account-hero {
    position: relative;
    overflow: hidden;
}

.sc-account-hero::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -115px;
    top: -175px;
    border-radius: 50%;
    background:
        rgba(18, 134, 111, .055);
    pointer-events: none;
}

.sc-account-hero > * {
    position: relative;
    z-index: 1;
}


/* Desktop alignment */

@media (min-width: 851px) {

    .sc-dashboard {
        padding-top: 8px;
    }

    .sc-dashboard-brandbar {
        margin-bottom: 10px;
    }
}


/* Tablet / Mobile */

@media (max-width: 640px) {

    body {
        background:
            linear-gradient(
                180deg,
                #f7fbf9 0,
                #f5f8f7 230px,
                #f5f7f8 100%
            );
    }

    .sc-dashboard {
        padding-top: 6px;
    }

    .sc-dashboard-brandbar {
        min-height: 56px;
        margin-bottom: 8px;
    }

    .sc-dashboard-logo {
        height: 36px;
        max-width: 145px;
    }

    .sc-dashboard-brand-actions {
        gap: 8px;
    }

    .sc-dashboard-back {
        font-size: 12px;
    }

    .sc-signout {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }
}


/* SC-1H-R2 DESKTOP WIDTH REFINEMENT */

@media (min-width: 1100px) {

    .sc-dashboard {
        width: min(
            1180px,
            calc(100% - 48px)
        );
    }
}


/* =========================================================
   SC-1H-R3 REMOVE LEGACY AUTHENTICATED ACCOUNT HEADER
   ========================================================= */

/*
 * The historical .sc-account wrapper remains necessary
 * for Sign In / Create Account. For an authenticated
 * customer it must not contribute layout or spacing.
 */
body.sc-account-signed-in .sc-account {
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/*
 * This is the old "Back to SpeedaCure" paragraph that
 * predates the new dashboard.
 */
body.sc-account-signed-in
.sc-account > p:first-child {
    display: none !important;
}


/*
 * Old account styles/scripts may apply min-height and
 * large top padding. Neutralize them for the signed-in UI.
 */
body.sc-account-signed-in {
    min-height: 100vh;
}

body.sc-account-signed-in .sc-dashboard {
    margin-top: 0 !important;
    padding-top: 8px !important;
}


/* =========================================================
   SC-1H-R3 BRAND BAR
   ========================================================= */

.sc-dashboard-brandbar {
    min-height: 58px;
    margin: 0 0 10px;
    padding: 0 2px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-brand-home {
    width: 190px;
    height: 52px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.sc-dashboard-logo {
    width: 190px !important;
    height: 52px !important;
    max-width: none !important;

    object-fit: contain;

    /*
     * Existing logo artwork has generous transparent
     * space around the visible mark.
     */
    transform: scale(1.55);
    transform-origin: left center;
}

.sc-dashboard-brand-actions {
    margin-left: auto;
}


/* Keep dashboard close to its brand bar */

.sc-account-hero {
    margin-top: 0 !important;
}


/* Mobile */

@media (max-width: 640px) {

    .sc-dashboard-brandbar {
        min-height: 50px;
        margin-bottom: 7px;
    }

    .sc-brand-home {
        width: 145px;
        height: 44px;
    }

    .sc-dashboard-logo {
        width: 145px !important;
        height: 44px !important;
        transform: scale(1.5);
    }
}


/* SC-1H-R3 BACKGROUND DEPTH */

body.sc-account-signed-in {
    background:
        radial-gradient(
            circle at 12% 2%,
            rgba(18, 134, 111, .105),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 7%,
            rgba(55, 165, 139, .06),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #f6fbf9 0,
            #f3f8f6 330px,
            #f5f7f8 100%
        );
}


/* =========================================================
   SC-1H-R4 LOGO POSITION FIX
   ========================================================= */

.sc-dashboard-brandbar {
    min-height: 64px;
    margin: 0 0 10px;
    padding: 4px 2px 0;
    overflow: visible;
}

.sc-brand-home {
    width: 210px;
    height: 56px;

    display: flex;
    align-items: center;

    overflow: visible;
}

.sc-dashboard-logo {
    display: block;

    width: auto !important;
    height: 44px !important;

    max-width: 200px !important;

    object-fit: contain;

    transform: none !important;

    margin: 0;
}

@media (max-width: 640px) {

    .sc-dashboard-brandbar {
        min-height: 54px;
        padding-top: 3px;
    }

    .sc-brand-home {
        width: 155px;
        height: 46px;
    }

    .sc-dashboard-logo {
        height: 36px !important;
        max-width: 150px !important;
        transform: none !important;
    }
}


/* =========================================================
   SC-1H-R5 ADDRESS FORM
   ========================================================= */

#addAddressPanel {
    margin-top: 18px;
}

#addAddressPanel h3 {
    margin:
        0 0 18px;
    color: var(--sca-text);
    font-size: 18px;
}

.sc-field select {
    appearance: auto;
    cursor: pointer;
}

.sc-field select:disabled {
    background: #f4f6f5;
    color: #8a9894;
    cursor: not-allowed;
}

.sc-default-address-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin:
        3px 0 17px;

    color: var(--sca-text);
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.sc-default-address-check input {
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 0;

    accent-color:
        var(--sca-brand);
}

.sc-address-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#scOtherCityField,
#scCustomLabelField {
    margin-top: 0;
}


@media (max-width: 640px) {

    .sc-address-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sc-address-form-actions
    .sc-btn-primary,
    .sc-address-form-actions
    .sc-btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}


@media (max-width: 390px) {

    .sc-address-form-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SC-1J SMART LOCATION
   ========================================================= */

.sc-location-detect {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin:
        3px 0 16px;

    padding: 13px 14px;

    border:
        1px solid #d6e9e3;

    border-radius: 12px;

    background: #f2faf7;
}


.sc-detect-location {
    white-space: nowrap;
}


.sc-detect-location:disabled {
    opacity: .65;
    cursor: wait;
}


.sc-location-status {
    color: var(--sca-brand-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}


.sc-location-status.is-error {
    color: var(--sca-danger);
}


@media (max-width: 640px) {

    .sc-location-detect {
        display: grid;
        grid-template-columns: 1fr;
    }


    .sc-detect-location {
        width: 100%;
        box-sizing: border-box;
    }
}

.sc-location-attribution {
    margin:
        -9px 0 13px;

    font-size: 10px;
    color: var(--sca-muted);
}

.sc-location-attribution a {
    color: var(--sca-muted);
}


/* =========================================================
   SOCIAL ACCOUNT CONNECTION STATUS
   ========================================================= */

.sc-social-connected-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}


.sc-facebook-connected {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 34px;

    padding: 6px 11px;

    border: 1px solid #d7e5e0;
    border-radius: 999px;

    background: #fff;

    color: #28483e;

    font-size: 12px;
    font-weight: 800;
}


.sc-facebook-dot {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 22px;

    border-radius: 50%;

    background: #1877f2;
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}


.sc-social-status {
    color: #0c7d59;
}


@media (max-width: 640px) {

    .sc-social-connected-list {
        width: 100%;
        justify-content: flex-start;
    }
}
