﻿button:focus {
    outline:none;
}

body.share-page {
    background: #eef2f5;
    --brand-watermark-logo-size: 22px;
}

.highcharts-figure {
    min-width: 100%;
    max-width: 100%;
    margin: 0;
}

.highcharts-data-table table {
    min-width: 100%;
    max-width: 800px;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.share-header-row {
    padding: 16px 18px;
}

.share-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
}

.share-title-wrap {
    min-width: 0;
}

.share-activity-title {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.2;
    word-break: break-word;
}

.share-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 220px);
    gap: 12px;
    align-items: end;
}

.share-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.share-control-wide {
    min-width: 0;
}

.share-control-label {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

#divTrackTop {
    height: 560px;
    border-bottom: 3px double #bbb;
    align-items: stretch;
}

.top-layout > [class*="col-"] {
    margin-bottom: 0;
}

.map-column,
.divTrackList {
    height: 100%;
}

.trackItem {
    cursor: pointer;
    padding: 0.25rem 0;
    margin-right: 0;
    margin-left: 0;
}

.trackItem.focus {
    border: 2px solid #aaa !important;
        
    font-weight: bold;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.trackItem > div {
    padding-left: 20px;
    padding-right: 20px;
}

.trackItemInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trackItemMain {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trackItemName {
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}

.trackItemMeta {
    color: #6b7280;
    font-size: 0.85rem;
}

.trackItemActions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.divTrackListHeader {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 22px 20px 12px;
    border-bottom: 1px solid #d7dce3;
    box-shadow: 0 1px 10px rgb(0 0 0 / 10%);
}

.divTrackListHeaderTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trackListControls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.trackListControls .form-control {
    width: 100%;
}

.divSquareAll {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    text-align: center;
    cursor:pointer;
    border-radius: 8px;
    background: #fff;
}

.divSquare {
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    display: inline-block;
    float: none;
    text-align: center;
    border-radius: 8px;
    background: #fff;
}

.divTrackList {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
    padding: 0 !important;
}

.divTrackList h4 {
    padding: 0;
    margin: 0 !important;
    border-bottom: 0;
    box-shadow: none;
}

.track-list-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.divTrackListOuter {
    overflow-y: auto;
    max-height: 600px;
}

#tblTrackList {
    border-collapse: separate;
    border-spacing: 0px;
}

#tblTrackList thead th {
    position: sticky;
    z-index: 1;
    top: 0;
    background-color: #ddd;
}

#tblTrackList tbody tr:hover {
    background-color: pink;
}

#tblTrackList tbody tr.selected {
    background-color: pink;
}

#tblTrackInfo {
    margin-top: 0;
    margin-bottom: 15px;
}

#tblTrackInfo tbody tr td {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#divChartRadio {
    width: 100%;
    padding: 0 16px 16px;
}

#divChartRadio input {
    margin-left: 10px;
}

.actlink {
cursor:pointer
}

.chart-panel,
.activity-details-panel {
    padding: 18px;
}

#container {
    min-height: 320px;
}

.chart-status {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.chart-status-title {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
}

.chart-status-detail {
    font-size: 0.9rem;
    color: #64748b;
    word-break: break-word;
}

.chart-status-error {
    border-color: #f3b3b3;
    background: #fff5f5;
}

.chart-status-error .chart-status-title {
    color: #b42318;
}

.chart-status-error .chart-status-detail {
    color: #7a271a;
}

.activity-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d7dce3;
    font-size: 0.92rem;
}

.summary-label {
    font-weight: 600;
}

.track-info-panel {
    margin-bottom: 8px;
}

.map-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 12px;
    gap: 12px;
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.map-toolbar-item {
    flex: 0 0 auto;
    min-width: 132px;
}

#divMapSelect {
    display: none !important;
}

#divMapSelect,
#gmapMeasureTool,
#gmapToggleLine,
#markerDensityControl,
#weatherLayerControl {
    position: static;
    z-index: auto;
    width: auto;
}

#divMapSelect button,
#btnMeasure,
#btnToggleLine,
#btnMarkerDensity,
#btnWeatherLayer {
    width: 100%;
    background: white;
    border: 1px solid #ccd3db;
    border-radius: 8px;
    min-height: 42px;
    white-space: nowrap;
}

#btnMarkerDensity {
    display: flex;
    align-items: center;
    gap: 6px;
}

#spanMarkerDensity {
    margin-left: auto;
    font-size: 0.85rem;
}

.map-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid #d7dce3;
}

#map,
#mapMapBox,
#mapAMap {
    width: 100%;
    height: 100%;
}

#map {
    left: 0;
}

#mapMapBox,
#mapAMap {
    display: none;
}

.track-popup {
    min-width: 220px;
    max-width: 260px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
}

.track-popup-logo {
    padding-bottom: 6px;
}

.track-popup-logo img {
    width: 100px;
    height: auto;
}

.track-popup-title {
    color: #c81e1e;
    font-weight: 700;
    margin-bottom: 6px;
    word-break: break-word;
}

.track-popup-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
}

.track-popup-row span {
    color: #6b7280;
    flex: 0 0 auto;
}

.track-popup-row strong {
    color: #111827;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.track-popup-row-highlight strong {
    color: #b42318;
}

.track-popup-env {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid #e5e7eb;
}

.track-popup-section + .track-popup-section {
    margin-top: 6px;
}

.track-popup-section-title {
    margin-bottom: 3px;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.weather-grid-legend {
    display: none;
    position: absolute;
    /* Bottom-left, stacked above the SKYLEADER watermark — the only map corner free of
       Google controls (map-type top-left, fullscreen top-right, zoom/street-view/scale
       bottom-right). Keeps the legend on the map beside the weather overlay it describes. */
    left: 16px;
    bottom: 108px;
    /* Rendered 20% smaller, anchored to its bottom-left corner so it stays pinned just
       above the watermark while shrinking (scale keeps the bottom edge at 108px). */
    transform: scale(0.8);
    transform-origin: bottom left;
    z-index: 6;
    min-width: 184px;
    max-width: min(260px, calc(100% - 28px));
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
    color: #111827;
    font-size: 12px;
    line-height: 1.35;
}

.weather-grid-legend-title {
    font-weight: 800;
}

/* Collapsible header: tap the title row to show/hide the scale so it doesn't cover the map.
   Starts collapsed on phones (set in share.js); a small chevron shows the state. */
.weather-grid-legend-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}
.weather-grid-legend-caret::before {
    content: "\25BE"; /* down chevron = expanded */
    font-size: 17px;
    color: #4b5563;
    line-height: 1;
}
.weather-grid-legend.is-collapsed .weather-grid-legend-caret::before {
    content: "\25B8"; /* right chevron = collapsed */
}
.weather-grid-legend-body {
    margin-top: 5px;
}
.weather-grid-legend.is-collapsed .weather-grid-legend-body {
    display: none;
}

.weather-grid-legend-time,
.weather-grid-caption {
    color: #4b5563;
}

.weather-grid-legend-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.weather-grid-hour-controls {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

.weather-grid-hour-step {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #ccd3db;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: 10px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.weather-grid-hour-step:disabled {
    opacity: 0.4;
    cursor: default;
}

.weather-grid-swatch-row {
    display: flex;
    gap: 3px;
    margin: 8px 0 5px;
}

.weather-grid-swatch {
    height: 10px;
    flex: 1 1 0;
    border-radius: 3px;
}

.weather-grid-caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
}

.weather-grid-caption span:last-child {
    text-align: right;
}

.brand-watermark {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(12px);
    pointer-events: none;
    user-select: none;
    z-index: 5;
}

.brand-watermark-map {
    left: 16px;
    bottom: 52px;
}

.brand-watermark-logo {
    width: var(--brand-watermark-logo-size);
    height: var(--brand-watermark-logo-size);
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-watermark-text {
    color: #111827;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

#btnMeasure, #btnToggleLine, #btnWeatherLayer {
    background: white;
}

#btnMeasure:hover, #btnToggleLine:hover, #btnWeatherLayer:hover, #divMapSelect button:hover {
    background: #eee;
}

.divColor {
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    display: inline-block;
    margin-right:0;
    border-radius: 8px;
}

.colorPick {
    left: -100px;
}

@media (max-width:991.98px) {
    .share-header {
        flex-direction: column;
        align-items: stretch;
    }

    .share-toolbar {
        grid-template-columns: 1fr;
    }

    #divTrackTop {
        height: auto !important;
        border-bottom: 0;
    }

    .divTrackList,
    .map-column {
        height: auto;
    }

    .divTrackList {
        order: 1;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .map-column {
        order: 2;
    }

    .map-panel {
        padding: 14px;
    }

    .map-toolbar-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .map-stage {
        min-height: 320px;
    }

    .brand-watermark-map {
        bottom: 46px;
    }

    .track-list-body {
        max-height: 320px;
    }

    .activity-summary {
        justify-content: stretch;
    }

    .summary-chip {
        width: 100%;
        justify-content: space-between;
        border-radius: 14px;
    }

    #tblTrackInfo tbody,
    #tblTrackInfo tr,
    #tblTrackInfo td {
        display: block;
        width: 100%;
    }

    #tblTrackInfo tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 14px;
        padding: 12px 14px;
        margin-bottom: 10px;
        background: #fff;
        border: 1px solid #d7dce3;
        border-radius: 14px;
    }

    #tblTrackInfo tbody tr td {
        padding: 0 !important;
        text-align: left !important;
    }

    #tblTrackList {
        min-width: 720px;
    }

    #container {
        min-height: 320px;
    }
}

@media (max-width:575.98px) {
    .main-bar-fix,
    .second-section,
    .third-section {
        border-left-width: 6px !important;
        border-right-width: 6px !important;
    }

    .share-header-row,
    .chart-panel,
    .activity-details-panel {
        padding: 14px;
    }

    .share-activity-title {
        font-size: 1.2rem;
    }

    .divTrackListHeader {
        padding: 18px 14px 10px;
    }

    .trackItem > div {
        padding-left: 14px;
        padding-right: 14px;
    }

    .trackItemMain {
        gap: 6px;
    }

    .trackItemMeta {
        width: 100%;
    }

    .trackListControls {
        grid-template-columns: 1fr 1fr; /* filter + search side by side, not stacked */
    }

    .map-toolbar {
        gap: 8px;
    }

    /* Was full-width-stacked (pushed the map far down). Now only the two SHORT buttons
       (Measure / Show Marker) pair up 2-col; the dropdowns (Density, Weather -- which carry a
       value + caret) and 3D Replay keep a full row so their text never clips. */
    .map-toolbar-item {
        flex-basis: 100%;
    }
    #gmapMeasureTool,
    #gmapToggleLine {
        flex-basis: calc(50% - 4px);
    }

    .map-stage {
        min-height: 280px;
    }

    .weather-grid-legend {
        top: auto;
        right: auto;
        left: 12px;
        bottom: 92px;
        min-width: 160px;
        max-width: calc(100% - 24px);
    }

    .brand-watermark {
        gap: 8px;
        min-height: 42px;
        padding: 8px 12px;
    }

    .brand-watermark-map {
        left: 12px;
        bottom: 42px;
    }

    .brand-watermark-logo {
        width: 18px;
        height: 18px;
    }

    .brand-watermark-text {
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }
}



/* For the social part*/

@charset "utf-8";

.hide {
    display: none !important;
}

.nocursor {
    cursor: default !important;
}

.thumbs-up-red {
    color: rgba(204,19,28,0.6);
}

.fa-thumbs-up, .follow-btn,  #follow-button, #unfollow-button, .kudo-modal, .modal-kudos-button, .comment-modal, .fa-commenting, .deletecomment-button, .modal-deletecomment-button {
    cursor: pointer !important;
}

.deletecomment-button, .modal-deletecomment-button {
    position: absolute;
    width: 200px;
    height: 15px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 24px;
    /* or 240% */

    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.1px;
}

.modal-cancel {
    background: #BDBDBD !important;
}

.rating-container-style {
    color: #ffc107;
    font-size: xs;
}

    .rating-container-style .fa-star {
        color: #ffc107;
    }

    .rating-container-style .fa-star-o {
        color: #ffc107;
    }

.modal-kudos {
    width: 100%;
    max-width: 390px;
    margin: 1.75rem auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    background: #FFFFFF;
    box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px rgb(0 0 0 / 14%), 0px 1px 18px rgb(0 0 0 / 12%);
    border-radius: 8px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
    z-index: 1000;
}

.modal-kudos-wider {
    max-width: 600px !important;
}

.modal-kudos-tab-wider {
    width: 250px !important;
}


.btn-noclick {
    border: 1px solid rgba(0, 0, 0, 0.36) !important;
    cursor: default !important;
    color: rgba(0, 0, 0, 0.36) !important;
}

    .btn-noclick:hover {
        background-color: rgba(0, 0, 0, 0.36) !important;
        border: 1px solid rgba(0, 0, 0, 0.36) !important;
    }

.modal-user-image {
    /* image */
    width: 62px;
    height: 62px;
    background-size: cover;
    border-radius: 60px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/*TODO*/
.nametext {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    letter-spacing: 0.1px;
    color: rgba(0, 0, 0, 0.87);
}

.timetext {
    position: absolute;
    width: 200px;
    height: 15px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.1px;
    color: #9B9B9B;
}

.commenttext {
    position: absolute;
    width: 224px;
    height: 15px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 24px;
    display: flex;
    align-items: center;
    letter-spacing: 0.1px;
    color: #9B9B9B;
}

.modal-kudos-content {
    /* Content */
    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 30px 40px;
    gap: 14px;
    width: 100%;
    height: 108px;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

    .modal-kudos-content img {
        border-radius: 50%;
    }

.kudos-content-in {
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
    color: rgba(0, 0, 0, 0.87);
}

    .kudos-content-in .active-name {
        /* Activity Name */

        font-family: 'Heebo';
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 29px;
        margin-bottom: 0.5rem;
    }

    .kudos-content-in .active-number {
        /* Pigeon 23201623 */


        width: 134px;
        height: 24px;
        font-family: 'Heebo';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        /* identical to box height */
        /* Light/Text/Secondary */

        color: rgba(0, 0, 0, 0.6);
        /* Inside auto layout */

        flex: none;
        order: 1;
        align-self: stretch;
        flex-grow: 0;
    }

.modal-kudos-comments {
    /* Content */
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 30px 40px;
    gap: 14px;
    height: 55px;
    /* Inside auto layout */

    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.show-commenttext {
    position: absolute;
    width: 224px;
    height: 15px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 24px;
    /* or 240% */

    display: flex;
    align-items: center;
    letter-spacing: 0.1px;
    color: #9B9B9B;
}

.modal-kudos-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    height: 254px;
    overflow-y: scroll;
    gap: 14px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

.kudos-list-in {
    /* Profile List Item */
    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
    height: 64px;
    /* Light/Primary/Contrast

Reflects the primary.contrast variable from the theme object. Color that keeps a contrast ratio above AA when XX.main is used as a bg. color
*/
    background: #FFFFFF;
    box-shadow: inset 0px -1px 0px rgba(172, 172, 172, 0.2);
    /* Inside auto layout */

    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.kudos-content-in {
    display: inline-block;
}

.kudos-list-in img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 40px;
    height: 40px;
    border-radius: 64px;
    /* Inside auto layout */

    flex: none;
    order: 0;
    align-self: center;
    flex-grow: 0;
}

.member-name {
    /* Ellen Cho */

    width: 227px;
    height: 20px;
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    /* identical to box height, or 20px */

    letter-spacing: 0.15px;
    /* Light/Text/Primary */

    color: rgba(0, 0, 0, 0.87);
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 1;
}

.member-country {
    /* ellencho@quest.ai */


    width: 227px;
    height: 16px;
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    /* identical to box height, or 133% */
    /* Light/Text/Secondary */

    color: rgba(0, 0, 0, 0.6);
    /* Inside auto layout */

    flex: none;
    order: 1;
    flex-grow: 0;
}




.modal-kudos-footer {
    /* CTA */
    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 40px;
    gap: 14px;
    height: 82px;
    /* Light/Action/Hover (4p)
       Reflects the action.hover variable from the theme object
    */
    background: rgba(0, 0, 0, 0.04);
    /* Inside auto layout */

    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

.modal-kudos-footer-for-comment {
    height: auto !important;
    display: block !important;
}

.modal-kudos-button-area, .modal-comment-button-area {
    /* Links */
    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 20px;
    width: 100%;
    height: 42px;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 1;
}

.modal-kudos-button, .modal-comment-button {
    /* Button/Contained

        Buttons allow users to take actions, and make choices, with a single tap.
    */
    /* Auto layout */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 100%;
    height: 42px;
    border: none;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 26px;
    /* identical to box height, or 173% */

    letter-spacing: 0.46px;
    text-transform: capitalize;
    /* Light/Primary/Contrast */

    color: #FFFFFF;
    /* Light/Error/Main

       Reflects the error.main variable from the theme object
    */
    background: #D32F2F;
    /* Elevation/2 */

    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 1px 5px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    /* Inside auto layout */

    flex: none;
    order: 1;
    flex-grow: 0;
}

.modal-unstyled-button {
    /* Button */
    width: 80px;
    height: 26px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 26px;
    background: #D32F2F;
    /* identical to box height, or 173% */

    letter-spacing: 0.46px;
    text-transform: capitalize;
    /* Light/Primary/Contrast */

    color: #FFFFFF;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
    border-bottom: 1px solid #000;
}

.kudos-tab {
    /* Tab */
    width: 142px;
    height: 48px;
    text-align: center;
    /* White */
    background: #FFFFFF;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    border-bottom: 1px solid #667080;
}

.comments-tab {
    /* Tab */
    width: 142px;
    height: 48px;
    text-align: center;
    /* White */
    background: #FFFFFF;
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    cursor: pointer;
    border-bottom: 1px solid #667080;
}

.kudos-tab-title {
    /* Tab label */
    position: relative;
    height: 22px;
    left: 0px;
    right: 0px;
    top: calc(50% - 22px/2 - 1px);
    font-family: 'Inter';
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    /* identical to box height, or 138% */

    text-align: center;
    letter-spacing: -0.02em;
    font-feature-settings: 'calt' off;
    /* Primary */

    color: #667080;
}

.comments-tab-title {
    /* Tab label */
    position: relative;
    height: 22px;
    left: 0px;
    right: 0px;
    top: calc(50% - 22px/2 - 1px);
    /* Body */

    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    /* identical to box height, or 138% */

    text-align: center;
    letter-spacing: -0.02em;
    font-feature-settings: 'calt' off;
    /* Primary */

    color: #667080;
}

.kudos-tab.active .kudos-tab-title,
.comments-tab.active .comments-tab-title {
    font-weight: 600;
}

.kudos-tab.active,
.comments-tab.active {
    border-bottom: 2px solid #667080;
}

.kudos-rectangle {
    /* Rectangle 3 */
    position: absolute;
    height: 20px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    /* Primary */

    background: #667080;
}

.comments-rectangle {
    /* Rectangle 3 */
    position: absolute;
    height: 1px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(102, 112, 128, 0.3);
}

.no-kudos-message {
    /* This entry has no kudos yet. */
    display: contents;
    width: 210px;
    height: 22px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    /* identical to box height, or 138% */

    text-align: center;
    letter-spacing: -0.02em;
    color: #9B9B9B;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.profile-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    border-bottom: 1px solid rgb(102 112 128 / 30%);
    justify-content: space-between;
    padding: 0 20px;
}

.list-item {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
    width: 100%;
    /* Light/Primary/Contrast

    background: #FFFFFF;
    box-shadow: inset 0px -1px 0px rgba(172, 172, 172, 0.2);

    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.list-item-left {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    width: 279px;
    height: 40px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.item-image {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 40px;
    height: 40px;
    background: url(avatar.png);
    border-radius: 64px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: center;
    flex-grow: 0;
}

.item-textarea {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 2px;
    width: 227px;
    height: 38px;
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

.item-username {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 2px;
    width: 227px;
    height: 20px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.item-userlocation {
    width: 227px;
    height: 16px;
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    /* Light/Text/Secondary */
    color: rgba(0, 0, 0, 0.6);
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Additional */

.main-title a {
    color: rgb(0 0 0 / 87%);
    text-decoration: none;
    font-weight: bold;
}

.br-red {
    border-right: 1px solid #D03C43;
}

.border-w {
    /*只是要拿掉這個border*/
    border: none !important;
}



.speedBox th a {
    text-decoration: none;
    color: #000;
}

.speedBox thead th, .speedBox td {
    border: none;
}

.speedBox tr td:nth-child(1) {
    color: #9B9B9B;
}

#divNavTabs .nav-tabs li a {
    border: none;
    color: rgb(0 0 0 / 36%);
}

#divNavTabs .nav-tabs li .nav-link.active {
    color: #EB5757;
    border-bottom: 2px solid #EB5757;
}

#divNavTabs .nav-link {
    padding: 0.5rem 2rem;
}

.rating-container .empty-stars {
    /*增加*/
    background: #fff;
}

.messageItem {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: start;
    align-content: start;
}

.rating-center {
    position: absolute;
    z-index: 4;
    transform: translateY(-55%);
}

.modal-window {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

input.rating-widget.rating-input {
    display: none;
}

.main-bar-fix {
    border-top: 10px solid #f3f3f3 !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    border-left: 10px solid #f3f3f3 !important;
    border-right: 10px solid #f3f3f3 !important;
    border-bottom: 5px solid #f3f3f3 !important;
}

.second-section, .third-section {
    border-left: 10px solid #f3f3f3 !important;
    border-right: 10px solid #f3f3f3 !important;
    border-bottom: 5px solid #f3f3f3 !important;
    border-top: 5px solid #f3f3f3 !important;
    padding: 0 !important;
}

/* Transient "no weather data" toast — fades out after ~5s (see showWeatherNotice). */
.weather-notice-toast {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    z-index: 1200;
    max-width: min(440px, calc(100% - 48px));
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.weather-notice-toast.is-visible {
    opacity: 1;
}
