/**
 * UDOT Message Signs – Frontend Styles
 *
 * @package UDOT_Message_Signs
 */

/* Message Signs
   ========================================================================== */

.udot-message-signs .message-sign p {
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* Cameras
   ========================================================================== */

.udot-cameras img {
    transition: opacity 0.3s ease;
}

.udot-cameras .camera-location {
    font-size: 14px;
    line-height: 1.4;
}

/* Parking Lots
   ========================================================================== */

.udot-parking-lots {
    box-sizing: border-box;
}

.udot-pl__updated {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
    margin-bottom: 1.2em;
}

.udot-pl__header {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
    margin-bottom: 0.9em;
}

.udot-pl__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.udot-pl__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.udot-pl__dot {
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.udot-pl__content {
    display: flex;
    flex-direction: column;
}

.udot-pl__name {
    line-height: 1.2;
}

.udot-pl__status {
    line-height: 1.4;
    margin-top: 0.15em;
}

/* Road Conditions
   ========================================================================== */

.udot-road-conditions {
    box-sizing: border-box;
}

.udot-rc__updated {
    opacity: 0.75;
    font-size: 0.8em;
    margin-bottom: 0.75em;
}

.udot-rc__header {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75em;
    opacity: 0.6;
}

.udot-rc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.udot-rc__row {
    display: flex;
    flex-direction: column;
}

.udot-rc__name {
    line-height: 1.3;
}

.udot-rc__status {
    line-height: 1.4;
    margin-top: 0.2em;
}

/* Snowbasin Parking
   ========================================================================== */

.udot-sb-parking {
    box-sizing: border-box;
}

.udot-sb__updated {
    opacity: 0.75;
    font-size: 0.8em;
    margin-bottom: 0.75em;
}

.udot-sb__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.udot-sb__lot {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.udot-sb__lot-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.udot-sb__lot-name {
    line-height: 1.3;
}

.udot-sb__lot-pct {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    opacity: 0.9;
}

.udot-sb__bar-track {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.udot-sb__bar-fill {
    width: 0;
    transition: width 0.4s ease;
}

.udot-sb__bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.udot-sb__label-mid {
    text-align: center;
}

.udot-sb__label-full {
    text-align: right;
}

.udot-sb__closed-badge {
    font-size: 0.8em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
