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

.dashboardColumn50 {
    float: left;
    width: 50%;
}

.dashboardColumn33 {
    float: left;
    width: 33.33%;
}

.dashboardColumn25 {
    float: left;
    width: 25%;
}

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

.dashboardColumnOutterPadd {
    padding: 15px;
}

.dashboardWidgetInnerPadd {
    padding: 24px;
}

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

.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;
}

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

.userBadge_img img {
    width: 170px;
}

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

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

.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-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-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-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: 10px;
    }
    
    .dashboardWidgetInnerPadd {
        padding: 16px;
    }
    
    /* 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;
        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 {
        padding: 0 16px 40px;
    }

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

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

    .dash-back-home {
        margin-top: 40px;
        padding: 16px 20px;
        gap: 14px;
    }
    
    /* 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: 8px;
    }
    
    .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: 12px;
    }
    
    /* 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;
}

/* 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;
}