.main_dash, .body_dash {
    background-color: #f2f7fb;
}

.dashboardColumn50 {
    float: left;
    width: 50%;
    min-width: 0;
    box-sizing: border-box;
}

.dashboardColumn33 {
    float: left;
    width: 33.33%;
    min-width: 0;
    box-sizing: border-box;
}

.dashboardColumn25 {
    float: left;
    width: 25%;
    min-width: 0;
    box-sizing: border-box;
}

.dashboardRowCl {
    font-size: 1px;
    clear: both;
}

.dashboardColumnOutterPadd {
    padding: 15px;
    box-sizing: border-box;
}

.dashboardWidgetInnerPadd {
    padding: 24px;
    min-width: 0;
    box-sizing: border-box;
}

.dashboardWidgetBorder {
    /* border: 2px solid rgb(230,230,230); */
    border-radius: 20px;
    background-color: #fff;
    min-width: 0;
    box-sizing: border-box;
}

.dashboardWidget,
.widget {
    min-width: 0;
    box-sizing: border-box;
}

.widget {
    overflow-wrap: anywhere;
}

.opButtons {
    text-align: right;
    font-size: 10px;
    color: #888;
    padding-bottom: 25px;
    display: none;
    position: relative;
    bottom: 0;
    right: 0;
}

.opButtons a {
    color: #888;
    text-decoration: none;
}


.widgetHeader {
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}

.widgetExplanation {
    margin-top: 12px;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.4;
    text-align: center;
}

.horizontalLine {
    border: 2px solid rgb(230,230,230);
}

.horizontalLineHeader {
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
    font-size: 110%;
}

.jiraRecentActivityContent a {
    color: #000;
}

.smallOverviewIcon {
    float: left;
    width: 67px;
}

.smallOverviewIcon img {
    width: 52px;
}

.smallOverviewData {
    float: left;
    width: auto;
}

.smallOverviewCl {
    clear: both;
    font-size: 1px;
}

.smallOverviewColumnHeader {
    font-size: 16px;
    padding-bottom: 6px;
}

.smallOverviewColumnHeaderBig {
    font-size: 20px;
    font-weight: bold;
    padding-top: 16px;
}

.smallOverviewColumnValue {
    font-size: 20px;
    font-weight: bold;
}

.dashboardRotatingColumn .dashboardColumnOutterPadd {
    /*position: relative;
    display: flex;*/
    height: max-content;
}
.dashboardRotatingColumn .dashboardColumnOutterPadd::after {
  content: "";
  display: block;
  clear: both;
}
.dashboardRotatingColumn {
    height: max-content;
}
.dashboardRotatingColumn .dashboardWidget {
      /*position: relative;*/ inset: 0;
      /*top: 15px;
      left: 15px;*/
      display: none;
}
.dashboardRotatingColumn .widgetSpacer {
      display: none;
}

.canvasPadd {
    padding-top: 20px;
}

.dashboardWidgetBorder canvas {
    max-width: 100%;
    height: auto !important;
}

/* Header Logo Widget Styles */
.header-logo-widget {
    display: flex;
    align-items: center;
    background: white;
    padding-left: 20px;
    padding-right: 20px;
}

.header-logo-container {
    flex-shrink: 0;
}

.header-logo-img {
    height: 80px;
    width: auto;
}

.header-text-container {
    flex-grow: 1;
    padding-left: 30px;
    text-align: right;
}

.header-text {
    margin: 0;
    font-size: 35px;
    color: #000;
    font-weight: bold;
}

.cb {
    clear: both;
}

.dashboardRow {
    clear: both;
    width: 100%;
}

.dash-view-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 15px 15px 0;
    border: 1px solid rgba(14, 30, 64, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(18, 38, 77, 0.04);
}

.dash-view-toolbar > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dash-view-toolbar .dash-view-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dash-view-toolbar__form {
    margin: 0;
}

.dash-view-toolbar__eyebrow {
    color: #667085;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dash-view-toolbar strong {
    overflow-wrap: anywhere;
    color: #0e1e40;
    font-size: 17px;
}

.dash-view-toolbar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 8px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    background: #f2f4f7;
    color: #475467;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.dash-view-toolbar__action:hover,
.dash-view-toolbar__action:focus {
    background: #e4e7ec;
    color: #344054;
}

.body_tv .dash-view-toolbar {
    display: none;
}

.userBadge {
    text-align: center;
    width: 190px;
    float: left;
}

.userBadge_img img {
    width: 170px;
}

.userBadge_img--fallback {
    align-items: center;
    background: #f2f4f7;
    border: 1px solid #d0d5dd;
    border-radius: 50%;
    color: #344054;
    display: flex;
    font-size: 34px;
    font-weight: 700;
    height: 150px;
    justify-content: center;
    letter-spacing: 0;
    margin: 10px auto;
    width: 150px;
}

.userBadge_date {
    font-size: 13px;
    color: #666;
}

.userBadge_description {
    font-size: 15px;
    font-weight: bold;
}

.userBadge_message {
    color: #667085;
    font-size: 13px;
    margin-top: 4px;
}

.devPerfBox {
    text-align: center;
}

.devPerfBox span {
    font-size: 400%;
}

.dash-home-wrapper {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 24px 60px;
}

.dash-home-header {
    text-align: center;
    margin-bottom: 32px;
}

.dash-home-header h1 {
    margin-bottom: 12px;
    font-size: 32px;
    color: #0e1e40;
}

.dash-home-header p {
    margin: 0;
    color: #4c5d7a;
    font-size: 16px;
}

.dash-home-section {
    margin-bottom: 40px;
}

.dash-home-section:last-child {
    margin-bottom: 0;
}

.dash-home-badges {
    margin-top: 2rem;
}

.dash-home-badges__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.dash-home-badges .userBadge {
    float: none;
}

.dash-home-section__title {
    font-size: 20px;
    font-weight: 600;
    color: #0e1e40;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(14, 30, 64, 0.1);
}

.dash-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.dash-home-dashboard-group {
    margin-bottom: 28px;
}

.dash-home-dashboard-group:last-child {
    margin-bottom: 0;
}

.dash-home-dashboard-group__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #3d4f6f;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dash-home-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(18, 38, 77, 0.08);
    text-decoration: none;
    color: #0e1e40;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-home-card:hover,
.dash-home-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(18, 38, 77, 0.12);
}

.dash-home-card__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 14px;
}

.dash-home-card__shared {
    font-size: 14px;
    color: #888;
    margin-left: 6px;
    font-weight: normal;
}

.dash-home-card__cta {
    font-size: 14px;
    color: #1b59f8;
    font-weight: 600;
}

.dash-home-empty {
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(18, 38, 77, 0.08);
    padding: 40px 24px;
    color: #4c5d7a;
    font-size: 16px;
}

.dash-home-quick-links__head {
    margin-bottom: 20px;
}

.dash-home-quick-links__hint {
    margin: 8px 0 0;
    font-size: 14px;
    color: #4c5d7a;
    line-height: 1.5;
}

.dash-home-quick-links__hint strong {
    font-weight: 600;
    color: #0e1e40;
}

.dash-home-quick-links__warn {
    margin: 10px 0 0;
    padding: 10px 14px;
    font-size: 13px;
    color: #b45309;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.dash-home-quick-links--saving .dash-home-ql-fav {
    opacity: 0.55;
    pointer-events: none;
}

.dash-home-ql-favorites-wrap {
    margin-bottom: 28px;
    padding: 20px 20px 8px;
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.dash-home-ql-group {
    margin-bottom: 28px;
}

.dash-home-ql-group:last-child {
    margin-bottom: 0;
}

.dash-home-ql-group__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #3d4f6f;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dash-home-ql-group__title--favorites {
    color: #b8860b;
}

.dash-home-ql-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.dash-home-ql-item {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(18, 38, 77, 0.06);
    border: 1px solid rgba(14, 30, 64, 0.06);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dash-home-ql-item:hover {
    box-shadow: 0 8px 22px rgba(18, 38, 77, 0.1);
    border-color: rgba(27, 89, 248, 0.2);
}

.dash-home-ql-item.is-favorite {
    border-color: rgba(255, 193, 7, 0.45);
}

.dash-home-ql-item__link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 44px 14px 16px;
    text-decoration: none;
    color: #0e1e40;
    min-width: 0;
    border-radius: 12px;
}

.dash-home-ql-item__link:hover,
.dash-home-ql-item__link:focus {
    color: #1b59f8;
}

.dash-home-ql-item__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-home-ql-item__ext {
    flex-shrink: 0;
    font-size: 13px;
    color: #8a9bb5;
    opacity: 0.85;
}

.dash-home-ql-fav {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    color: #8a9bb5;
    line-height: 1;
    transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.dash-home-ql-fav:hover {
    background: rgba(14, 30, 64, 0.06);
    color: #b8860b;
}

.dash-home-ql-fav:focus-visible {
    outline: 2px solid #1b59f8;
    outline-offset: 2px;
}

.dash-home-ql-fav__icon {
    display: block;
    font-size: 18px;
}

.dash-home-ql-fav__icon--on {
    display: none;
    color: #e6a800;
}

.dash-home-ql-fav.is-active .dash-home-ql-fav__icon--off {
    display: none;
}

.dash-home-ql-fav.is-active .dash-home-ql-fav__icon--on {
    display: block;
}

.dash-home-ql-fav.is-active {
    color: #e6a800;
}

.dash-back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 50px auto 0;
    padding: 18px 24px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(14, 30, 53, 0.1);
}

.dash-back-home__link,
.dash-back-home__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.dash-back-home__link-text {
    font-size: 16px;
    font-weight: 600;
    color: #1b59f8;
}

.dash-back-home__link:hover .dash-back-home__link-text,
.dash-back-home__link:focus .dash-back-home__link-text {
    text-decoration: underline;
}

.dash-back-home__logo img {
    height: 42px;
    width: auto;
    display: block;
    transition: transform 0.15s ease;
}

.dash-back-home__logo:hover img,
.dash-back-home__logo:focus img {
    transform: scale(1.05);
}


/* ========================================
   RESPONSIVE DESIGN - MOBILE SUPPORT
   ======================================== */

/* Tablets and smaller (below 1024px) */
@media screen and (max-width: 1024px) {
    .dashboardColumn25,
    .dashboardColumn33 {
        width: 50%;
    }
}

/* Mobile devices (below 768px) */
@media screen and (max-width: 768px) {
    /* Stack all columns vertically */
    .dashboardColumn50,
    .dashboardColumn33,
    .dashboardColumn25 {
        width: 100%;
        float: none;
    }
    
    /* Reduce padding on mobile */
    .dashboardColumnOutterPadd {
        padding: 8px 0;
    }
    
    .dashboardWidgetInnerPadd {
        padding: 16px;
    }

    .dashboardWidgetBorder {
        border-radius: 8px;
        overflow: hidden;
    }
    
    /* Adjust widget header font size */
    .widgetHeader {
        font-size: 16px;
    }
    
    /* Adjust horizontal line header */
    .horizontalLineHeader {
        font-size: 100%;
    }
    
    /* Make tables scrollable on mobile */
    .dashboardWidgetBorder table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Canvas and chart adjustments */
    .canvasPadd {
        padding-top: 10px;
    }
    
    .dashboardWidgetBorder canvas {
        width: 100% !important;
        height: auto !important;
    }

    .dash-home-wrapper {
        margin: 24px auto;
        padding: 0 16px 40px;
    }

    .dash-home-header h1 {
        font-size: 26px;
    }

    .dash-home-grid {
        gap: 18px;
    }

    .dash-home-ql-grid {
        grid-template-columns: 1fr;
    }

    .dash-home-ql-favorites-wrap {
        padding: 16px 16px 4px;
    }

    .dash-back-home {
        margin-top: 40px;
        padding: 16px 20px;
        gap: 14px;
    }

    .dash-view-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
        margin: 10px 10px 0;
    }

    .dash-view-toolbar__action {
        width: 100%;
    }
    
    /* Header Logo Widget - Mobile */
    .header-logo-widget {
        flex-direction: column;
        padding: 15px 10px;
        text-align: center;
    }
    
    .header-logo-img {
        height: 50px;
    }
    
    .header-text-container {
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
    }
    
    .header-text {
        font-size: 20px;
        line-height: 1.3;
    }
    
    /* Disable widget rotation on mobile - show all widgets stacked */
    .dashboardRotatingColumn .dashboardWidget {
        display: block !important;
        margin-bottom: 10px;
    }
}

/* Small mobile devices (below 480px) */
@media screen and (max-width: 480px) {
    /* Further reduce padding */
    .dashboardColumnOutterPadd {
        padding: 6px 0;
    }
    
    .dashboardWidgetInnerPadd {
        padding: 12px;
    }

    .dash-home-header h1 {
        font-size: 22px;
    }

    .dash-home-card {
        padding: 20px;
    }

    .dash-home-card__title {
        font-size: 18px;
    }

    .dash-back-home {
        flex-direction: column;
        max-width: 320px;
        text-align: center;
    }
    
    /* Adjust border radius for smaller screens */
    .dashboardWidgetBorder {
        border-radius: 8px;
    }
    
    /* Adjust small overview layout for very small screens */
    .smallOverviewIcon {
        width: 50px;
    }
    
    .smallOverviewIcon img {
        width: 40px;
    }
    
    .smallOverviewColumnHeader {
        font-size: 14px;
    }
    
    .smallOverviewColumnValue {
        font-size: 18px;
    }
    
    .smallOverviewColumnHeaderBig {
        font-size: 18px;
        padding-top: 12px;
    }
    
    /* Adjust user badges to stack better */
    .userBadge {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    /* Reduce performance box font size */
    .devPerfBox span {
        font-size: 250%;
    }
    
    /* Canvas adjustments for very small screens */
    .canvasPadd {
        padding-top: 8px;
    }
    
    /* Header Logo Widget - Small Mobile */
    .header-logo-img {
        height: 40px;
    }
    
    .header-text {
        font-size: 16px;
    }
    
    /* Ensure widget rotation stays disabled on small mobile */
    .dashboardRotatingColumn .dashboardWidget {
        display: block !important;
        margin-bottom: 8px;
    }
}

/* SFCC Service Analytics Table – scroll container, fades, hint */
.sfcc-service-analytics-table-widget {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sfcc-service-analytics-table-widget::-webkit-scrollbar {
    display: none;
}

.sfcc-service-analytics-table-scroll {
    max-height: 700px;
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sfcc-service-analytics-table-scroll::-webkit-scrollbar {
    display: none;
}

.sfcc-service-analytics-table-static {
    max-height: none;
    overflow: visible;
}

/* Let inner content use full height so the scroll area covers the entire table */
.sfcc-service-analytics-table-inner,
.sfcc-service-analytics-table-inner .google-visualization-table,
.sfcc-service-analytics-table-inner div {
    max-height: none !important;
    overflow: visible !important;
}
.sfcc-service-analytics-table-inner table {
    height: auto !important;
}

.sfcc-service-analytics-fade-top,
.sfcc-service-analytics-fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    z-index: 1;
}

.sfcc-service-analytics-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}

.sfcc-service-analytics-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
}

.sfcc-service-analytics-table-scroll.at-top .sfcc-service-analytics-fade-top {
    opacity: 0;
}

.sfcc-service-analytics-table-scroll.at-bottom .sfcc-service-analytics-fade-bottom {
    opacity: 0;
}

.sfcc-service-analytics-scroll-hint {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #888;
    pointer-events: none;
    z-index: 2;
}

.sfcc-service-analytics-table-scroll.scrolled .sfcc-service-analytics-scroll-hint {
    opacity: 0;
    visibility: hidden;
}

.sfcc-service-analytics-table-scroll.no-overflow .sfcc-service-analytics-fade-top,
.sfcc-service-analytics-table-scroll.no-overflow .sfcc-service-analytics-fade-bottom,
.sfcc-service-analytics-table-scroll.no-overflow .sfcc-service-analytics-scroll-hint {
    display: none;
}

/* SFCC order monitoring widgets */
.sfcc-order-monitor-widget {
    container-type: inline-size;
    min-height: 220px;
    color: #15223b;
}

.sfcc-order-monitor-widget * {
    box-sizing: border-box;
}

.sfcc-order-monitor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sfcc-order-monitor-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sfcc-order-monitor-title img {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.sfcc-order-monitor-title h3 {
    margin: 0;
    color: #111d35;
    font-size: 17px;
    line-height: 1.2;
}

.sfcc-order-monitor-subtitle {
    margin-top: 3px;
    color: #708097;
    font-size: 11px;
    line-height: 1.35;
}

.sfcc-order-monitor-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 180px;
    border: 1px solid #c9d6e5;
    border-radius: 999px;
    padding: 5px 8px;
    background: #f5f8fc;
    color: #3d526e;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
}

.sfcc-order-monitor-status::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
}

.sfcc-order-monitor-status--normal {
    border-color: #a9c8ec;
    background: #eef6ff;
    color: #245f9d;
}

.sfcc-order-monitor-status--warming {
    border-color: #d6dde7;
    background: #f6f8fb;
    color: #617087;
}

.sfcc-order-monitor-status--watch {
    border-color: #ead28a;
    background: #fff8df;
    color: #876100;
}

.sfcc-order-monitor-status--alert {
    border-color: #efb27f;
    background: #fff0e5;
    color: #a54709;
}

.sfcc-order-monitor-status--stale {
    border-color: #e3a4aa;
    background: #fff0f2;
    color: #9a2732;
}

.sfcc-order-monitor-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.sfcc-order-monitor-kpi {
    min-width: 0;
    border: 1px solid #e3e9f1;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fbfcfe;
}

.sfcc-order-monitor-kpi-label {
    color: #718096;
    font-size: 10px;
    line-height: 1.2;
}

.sfcc-order-monitor-kpi-value {
    margin-top: 3px;
    color: #101c31;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.sfcc-order-monitor-kpi-note {
    margin-top: 3px;
    color: #7d8999;
    font-size: 9px;
    line-height: 1.25;
}

.sfcc-order-monitor-chart {
    position: relative;
    width: 100%;
    height: 250px;
}

.sfcc-order-monitor-chart--compact {
    height: 205px;
}

.sfcc-order-monitor-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.sfcc-order-monitor-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px;
    color: #738197;
    font-size: 9px;
    line-height: 1.35;
}

.sfcc-order-monitor-foot strong {
    color: #4a5c74;
}

.sfcc-order-monitor-empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    padding: 18px;
    border: 1px dashed #ccd6e3;
    border-radius: 10px;
    background: #fafbfd;
    color: #607087;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.sfcc-order-monitor-health-wrap {
    overflow-x: auto;
}

.sfcc-order-monitor-health {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.sfcc-order-monitor-health th,
.sfcc-order-monitor-health td {
    padding: 8px 6px;
    border-bottom: 1px solid #e8edf3;
    text-align: right;
    white-space: nowrap;
}

.sfcc-order-monitor-health th {
    color: #728097;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sfcc-order-monitor-health th:first-child,
.sfcc-order-monitor-health td:first-child {
    text-align: left;
}

.sfcc-order-monitor-health tr:last-child td {
    border-bottom: 0;
}

.sfcc-order-monitor-site-name {
    color: #17243b;
    font-weight: 800;
}

.sfcc-order-monitor-site-meta {
    margin-top: 2px;
    color: #8090a6;
    font-size: 9px;
    font-weight: 400;
}

.sfcc-order-monitor-mini-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 3px 6px;
    background: #f4f6f9;
    color: #52647b;
    font-size: 9px;
    font-weight: 800;
}

.sfcc-order-monitor-mini-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.sfcc-order-monitor-mini-status--normal {
    background: #eef6ff;
    color: #245f9d;
}

.sfcc-order-monitor-mini-status--watch {
    background: #fff8df;
    color: #876100;
}

.sfcc-order-monitor-mini-status--alert {
    background: #fff0e5;
    color: #a54709;
}

.sfcc-order-monitor-mini-status--stale {
    background: #fff0f2;
    color: #9a2732;
}

.sfcc-order-monitor-mini-status--warming {
    background: #f3f5f8;
    color: #64748a;
}

.sfcc-order-monitor-delta {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.sfcc-order-monitor-delta--up,
.sfcc-order-monitor-delta--down {
    color: #a54709;
}

@container (max-width: 520px) {
    .sfcc-order-monitor-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sfcc-order-monitor-status {
        max-width: none;
    }

    .sfcc-order-monitor-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfcc-order-monitor-kpi:last-child {
        grid-column: 1 / -1;
    }

    .sfcc-order-monitor-chart {
        height: 210px;
    }

    .sfcc-order-monitor-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .sfcc-order-monitor-health th:nth-child(3),
    .sfcc-order-monitor-health td:nth-child(3) {
        display: none;
    }
}

/* SFCC ready-and-paid queue widget */
.sfcc-order-status-widget {
    container-type: inline-size;
    min-height: 210px;
    color: #15223b;
}

.sfcc-order-status-widget * {
    box-sizing: border-box;
}

.sfcc-order-status-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.sfcc-order-status-head h3 {
    margin: 0;
    color: #111d35;
    font-size: 17px;
    line-height: 1.2;
}

.sfcc-order-status-subtitle {
    margin-top: 4px;
    color: #708097;
    font-size: 11px;
    line-height: 1.35;
}

.sfcc-order-status-total {
    min-width: 86px;
    border: 1px solid #c9d9ec;
    border-radius: 10px;
    padding: 7px 10px;
    background: #f2f7fd;
    text-align: right;
}

.sfcc-order-status-total span {
    display: block;
    color: #708097;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.sfcc-order-status-total strong {
    display: block;
    margin-top: 3px;
    color: #1f5f9d;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.sfcc-order-status-table-wrap {
    max-height: 520px;
    overflow: auto;
}

.sfcc-order-status-discovery-error {
    margin-bottom: 10px;
    border: 1px solid #efc4ca;
    border-radius: 8px;
    padding: 7px 9px;
    background: #fff5f6;
    color: #8d2632;
    font-size: 10px;
    line-height: 1.35;
}

.sfcc-order-status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.sfcc-order-status-table th,
.sfcc-order-status-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #e8edf3;
    text-align: left;
    vertical-align: middle;
}

.sfcc-order-status-table th {
    color: #728097;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sfcc-order-status-table th:nth-child(2),
.sfcc-order-status-table td:nth-child(2) {
    text-align: right;
}

.sfcc-order-status-table tr:last-child td {
    border-bottom: 0;
}

.sfcc-order-status-site {
    color: #17243b;
    font-weight: 800;
}

.sfcc-order-status-meta {
    margin-top: 2px;
    color: #8090a6;
    font-size: 9px;
}

.sfcc-order-status-count {
    color: #101c31;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sfcc-order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 3px 7px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.sfcc-order-status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.sfcc-order-status-pill--fresh {
    background: #eaf6ef;
    color: #28764a;
}

.sfcc-order-status-pill--never {
    background: #f3f5f8;
    color: #64748a;
}

.sfcc-order-status-pill--stale {
    background: #fff8df;
    color: #876100;
}

.sfcc-order-status-pill--error {
    background: #fff0f2;
    color: #9a2732;
}

.sfcc-order-status-pill--maintenance {
    background: #f2effa;
    color: #66528f;
}

.sfcc-order-status-error {
    max-width: 180px;
    margin-top: 3px;
    overflow: hidden;
    color: #9a2732;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfcc-order-status-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px;
    color: #738197;
    font-size: 9px;
    line-height: 1.35;
}

.sfcc-order-status-empty {
    display: grid;
    min-height: 170px;
    place-items: center;
    padding: 18px;
    border: 1px dashed #ccd6e3;
    border-radius: 10px;
    background: #fafbfd;
    color: #607087;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

@container (max-width: 460px) {
    .sfcc-order-status-head,
    .sfcc-order-status-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .sfcc-order-status-total {
        text-align: left;
    }
}

/* Invisible SFCC celebration widget and page-level new-order bubbles */
.sfcc-order-celebration-anchor {
    display: none !important;
}

.dashboardWidgetBorder:has(.sfcc-order-celebration-anchor),
.sfcc-order-celebration-border-host {
    background: transparent;
    border-radius: 0;
}

.dashboardWidgetInnerPadd:has(.sfcc-order-celebration-anchor),
.sfcc-order-celebration-inner-host {
    padding: 0;
}

.widget:has(.sfcc-order-celebration-anchor),
.sfcc-order-celebration-widget-host {
    min-height: 0;
    height: 0;
    overflow: visible;
}

.sfcc-order-celebration-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 12000;
    display: flex;
    width: min(390px, calc(100vw - 32px));
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.sfcc-order-celebration-bubble {
    --sfcc-order-celebration-duration: 6s;
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 24px;
    gap: 12px;
    align-items: center;
    min-height: 94px;
    overflow: hidden;
    border: 1px solid rgba(47, 110, 168, 0.22);
    border-radius: 18px;
    padding: 14px 12px 15px 14px;
    background:
        radial-gradient(circle at 100% 0, rgba(244, 188, 68, 0.18), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.98));
    box-shadow:
        0 18px 45px rgba(20, 44, 79, 0.22),
        0 3px 10px rgba(20, 44, 79, 0.09);
    color: #14213a;
    pointer-events: auto;
    animation: sfcc-order-celebration-enter 420ms cubic-bezier(0.2, 0.85, 0.25, 1.15) both;
}

.sfcc-order-celebration-bubble::before,
.sfcc-order-celebration-bubble::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    pointer-events: none;
}

.sfcc-order-celebration-bubble::before {
    top: 10px;
    right: 48px;
    background: #d19a18;
    box-shadow:
        -18px 14px 0 -1px #2f6ea8,
        18px 22px 0 -1px #d96d2d,
        -3px 39px 0 -2px #b5577e;
    transform: rotate(18deg);
}

.sfcc-order-celebration-bubble::after {
    top: 42px;
    right: 18px;
    background: #6b7f2b;
    box-shadow:
        -13px -28px 0 -2px #b5577e,
        -34px 24px 0 -2px #d19a18;
    transform: rotate(45deg);
}

.sfcc-order-celebration-bubble.is-leaving {
    animation: sfcc-order-celebration-leave 340ms ease-in both;
}

.sfcc-order-celebration-emoji {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(47, 110, 168, 0.16);
    border-radius: 17px;
    background: linear-gradient(145deg, #ffffff, #e8f3ff);
    box-shadow: 0 8px 18px rgba(47, 110, 168, 0.14);
    font-size: 29px;
    line-height: 1;
    animation: sfcc-order-celebration-emoji 900ms ease-in-out 120ms both;
}

.sfcc-order-celebration-content {
    min-width: 0;
}

.sfcc-order-celebration-title {
    color: #0e1d38;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.sfcc-order-celebration-message {
    margin-top: 4px;
    color: #3e526e;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.sfcc-order-celebration-meta {
    margin-top: 5px;
    color: #7b899d;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.sfcc-order-celebration-close {
    align-self: start;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(36, 66, 103, 0.08);
    color: #536780;
    cursor: pointer;
    font: 700 17px/22px Arial, sans-serif;
}

.sfcc-order-celebration-close:hover,
.sfcc-order-celebration-close:focus-visible {
    background: rgba(36, 66, 103, 0.16);
    color: #172b49;
    outline: none;
}

.sfcc-order-celebration-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    transform-origin: left center;
    background: linear-gradient(90deg, #2f6ea8, #d19a18, #d96d2d);
    animation: sfcc-order-celebration-progress var(--sfcc-order-celebration-duration) linear both;
}

@keyframes sfcc-order-celebration-enter {
    from {
        opacity: 0;
        transform: translate3d(32px, -8px, 0) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes sfcc-order-celebration-leave {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(28px, -4px, 0) scale(0.94);
    }
}

@keyframes sfcc-order-celebration-emoji {
    0% {
        transform: rotate(-12deg) scale(0.65);
    }
    55% {
        transform: rotate(8deg) scale(1.14);
    }
    100% {
        transform: rotate(0) scale(1);
    }
}

@keyframes sfcc-order-celebration-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media screen and (max-width: 600px) {
    .sfcc-order-celebration-stack {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    .sfcc-order-celebration-bubble {
        grid-template-columns: 46px minmax(0, 1fr) 24px;
        min-height: 82px;
        border-radius: 15px;
        padding: 12px 10px 13px 12px;
    }

    .sfcc-order-celebration-emoji {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfcc-order-celebration-bubble,
    .sfcc-order-celebration-bubble.is-leaving,
    .sfcc-order-celebration-emoji {
        animation-duration: 1ms;
    }
}
