﻿
.noScrollBarContainer::-webkit-scrollbar {
    display: none;
}

.shunting-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#emptyTrainComponent {
    border-radius: 5px;
    border: 2px dashed #969696;
    padding: 8px;
    width: 200px;
    height: 100%;
}

#TrainComponent {
    border-radius: 10px;
    border: 2px solid #969696;
    padding: 8px;
    width: auto;
    height: auto;
}

#TrainSubComponent {
    background-color: #676767;
    border-radius: 5px;
    padding: 8px;
    width: 150px;
    height: auto;
}

.VersionBox {
    border-radius: 10px;
    width: auto;
    height: auto;
    overflow: auto;
    background-color: #676767;
}

#TrainComponentSelected {
    border-radius: 10px;
    border: 2px solid #1976d2;
    padding: 8px;
    width: auto;
    height: auto;
}

#TrainSubComponentSelected {
    background-color: #1976d2;
    border-radius: 5px;
    padding: 8px;
    width: 150px;
    height: auto;
}

#emptyTrainComponentSelected {
    border-radius: 5px;
    border: 2px dashed #1976d2;
    padding: 8px;
    width: 200px;
    height: 100%;
}

.shunting-surface-background {
    background: #0A3C4858 0 0 no-repeat padding-box;
    border: 1px solid #0A606B74;
    border-radius: 4px;
}

.shunting-composition-front-indicator {
    background: #EFF4F8 0 0 no-repeat padding-box;
    border-radius: 10px 0 0 10px;
    opacity: 1;
    height: 150px;
}

.shunting-composition-back-indicator {
    background: #EFF4F8 0 0 no-repeat padding-box;
    border-radius: 0 10px 10px 0;
    opacity: 1;
    height: 150px;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: black;
    text-align: center;
}

.composition-material-unit {
    background: #FFFFFF 0 0 no-repeat padding-box;
    box-shadow: -3px 0 6px #00000029;
    border-radius: 10px;
    opacity: 1;
}

.composition-material-unit-selected {
    border: #a0c9ff 4px solid;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: -3px 3px 6px #00000099;
    border-radius: 10px;
    opacity: 1;
    margin-top: -30px;
    margin-bottom: 30px;
}

.composition-material-sub-unit {
    background: #EFF4F8 0 0 no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
    height: 150px;
    position: relative;
    z-index: 2;
}

.composition-material-sub-unit-selected {
    background: #FFCF00 0 0 no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
    height: 150px;
    position: relative;
    z-index: 2;
}

.composition-material-sub-unit-status {
    display: inline-block; 
    padding: 6px 10px 2px 5px; 
    border-radius: 5px;
    border: 1px solid #c3e6cb; 
    margin-top: -7px; 
    position: relative;  
    z-index: 1; 
    left: 0;
    width: 80%; 
    font-weight: bold;  
    font-size: 0.6em; 
    align-self: flex-start !important;
}

.material-item-front {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 10px 0 0 10px;
    opacity: 1;
}

.material-item-back {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 0 10px 10px 0;
    opacity: 1;
}

.locomotive-middle {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 0 0 0 0;
    opacity: 1;
    width: 16px;
}

.material-item-top {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 10px 10px 0 0;
    opacity: 1;
}

.material-item-bottom {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 0 0 10px 10px;
    opacity: 1;
}

.locomotive-middle-vertical {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 0 0 0 0;
    height: 10px;
    opacity: 1;
}

.add-unit-component {
    background: transparent 0 0 no-repeat padding-box;
    border: 1px dashed #84C0FB;
    border-radius: 4px;
    opacity: 1;
}

.edit-composition-button {
    background: #2C4153 0 0 no-repeat padding-box;
    border-radius: 4px;
    opacity: 1;
    color: #88CAFF;
}

.edit-composition-button-stop {
    background: #FFDAD4 0 0 no-repeat padding-box;
    border-radius: 4px;
    opacity: 1;
}

.edit-composition-drawer {
    background: #001E2D 0 0 no-repeat padding-box;
    opacity: 1;
}

.unit-information-component {
    background: #663C4858 0 0 no-repeat padding-box;
    border: 1px solid #66606B74;
    border-radius: 4px;
}

.white-badge {
    background: white;
    padding: 3px 5px;
    border-radius: 3px;
    font-weight: bold;
    color: black;
}

.custom-expansion-panel > .mud-expand-panel-header {
    background: #0A3C4858 0 0 no-repeat padding-box;
    border: 1px solid #0A606B74;
    border-radius: 4px;
}

.no-padding-content .mud-expand-panel-content {
    padding: 0;
}

.no-data-badge {
    padding: 5px;
    background-color: #d4fdc3;
    border-radius: 10px;
    font-size: x-small;
    color: #06400A;
}

.empty-unit {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px dashed #B5CADA;
    border-radius: 10px 10px 10px 10px;
    opacity: 1;
    width: 58px;
    height: 58px;
}

.drawer-menu {
    background-color: #3C4858;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .drawer-menu a {
        white-space: nowrap;
    }

.settings-button {
    background: #A0C9FF 0 0 no-repeat padding-box;
    color: #00325A;
    border-radius: 3px;
    opacity: 1;
}

.composition-status-line {
    border: 1px dashed #A3AAB0;
    height: 1px;
    margin-left: -80px;
    margin-right: -80px;
}

.version-box-button {
    border: 1px solid #929292;
    border-radius: 5px;
    opacity: 1;
}

.motor-unit-front {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 8px 0px 0px 8px;
    width: 40px;
    height: 64px;
}

.motor-unit-middle {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    padding-top: 16px;
    width: 40px;
    height: 64px;
}

.motor-unit-back {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #B5CADA;
    border-radius: 0px 8px 8px 0px;
    opacity: 1;
    width: 40px;
    height: 64px;
}

.warning-indicator {
    border-radius: 10px 10px 0 0;
    width: 24px;
    height: 56px;
    margin-bottom: -32px;
}

.malfunction {
    background: #FFF4E5 0 0 no-repeat padding-box;
}

.immobilization {
    background: #D7D7D7 0 0 no-repeat padding-box;
}

.major-damage, .stop-damage {
    background: #FAEBEB 0 0 no-repeat padding-box;
}

.warranty {
    background: #BFDAEC 0 0 no-repeat padding-box;
}

.minor-damage {
    background: #D7D7D7 0 0 no-repeat padding-box;
}

.save-composition-warning {
    background: #172E3D 0 0 no-repeat padding-box;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 4px;
    opacity: 1;
}

.admin-tool-search-list {
    background: #3C485866 0 0 no-repeat padding-box;
    border: 1px solid #606B74;
    border-radius: 4px;
    opacity: 1;
}

.admin-tool-search-searchbox {
    background: #001E2D 0 0 no-repeat padding-box;
    border: 1px solid #8B919B;
    border-radius: 5px;
    opacity: 1;
}

.admin-tool-search-item {
    background: #3C485866 0 0 no-repeat padding-box;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 5px;
    opacity: 1;
}

.admin-tool-search-item-selected {
    background: #CEE4FF 0 0 no-repeat padding-box;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 5px;
    opacity: 1;
}

.badge-active {
    background-color: #93e38c !important;
}

.border-text-field {
    border: 1px solid #F9DBD5;
    border-radius: 4px;
    opacity: 1;
}

span.mud-switch-track {
    border-radius: 20px !important;
}

span.mud-switch-span {
    padding: 10px !important;
}

.no-gap-child {
    width: 100%;
    overflow-x: auto;
}

.dark-yellow {
    color: #f19829;
}

.hidden-damages-count {
    visibility: hidden;
    width: 1px;
    height: 1px;
}

.stop-damage-warning-popup > div {
    height: 100%;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.arrow-container {
    position: relative;
    flex: 1;
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.arrow-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 98%;
    border-top: 2px dashed #8D9199;
    transform: translateY(-50%);
}

.arrow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    border: solid #8D9199;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: translateY(-50%) rotate(310deg);
}


.container-dashed-line {
    position: relative;
    height: 40px;
    width: 60px;
}

.container-dashed-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 2px dashed #8D9199;
}

.gray-accent-background {
    background-color: #1C2E3D;
}

.icon-button span.mud-button-icon-start {
    margin: 0 !important;
}

.icon-button-square {
    padding: 16px !important;
}

.icon-button-square span.mud-button-icon-start {
    margin: 0 !important;
}

.low-padding-grid > .mud-grid-item {
    padding-top: 7px;
    padding-bottom: 7px;
}

.composition-segment-header {
    width: 100%;
    height: 290px;
    padding: 20px;
}

.composition-segment-search {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    padding: 20px;
}

.floating-search > .composition-segment-search {
    position: fixed;
    top: 50px;
    background-color: rgba(7, 30, 43, 1);
}

.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 4px !important;
}

.low-padding-table td, .low-padding-table th {
    padding: 8px !important;
}

.composition-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
}

.circled-text {
    border: 1px solid #B3CDDD;
    border-radius: 14px;
    padding: 2px 10px;
    font-weight: bold;
}

.mud-appbar {
    z-index: 4 !important;
}

.break-bulletin-scroll-buttons {
    background: #0A3C4858 0 0 no-repeat padding-box;
    border: 1px solid #0A606B74;
    border-radius: 4px;
}

.vehicle-info-popup {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.w-full {
    width: 100%
}

.h-full {
    height: 100%
}

.hidden-scrollbar::-webkit-scrollbar {
    background: transparent; /* Chrome/Safari/Webkit */
    width: 0px;
}

.hidden-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.primary-color {
    color: #73c1ff;
}

.feedback-drawer {
    background-color: var(--mud-palette-surface);
    width: 26.25rem !important;
    padding: 16px;
}

.hidden-scrollbar::-webkit-scrollbar {
    background: transparent; /* Chrome/Safari/Webkit */
    width: 0px;
}

.hidden-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.primary-color {
    color: #73c1ff;
}

.input-num {
    flex: none;
    width: 4rem;
}

.input-num > div > div:first-child {
    height: 2rem;
}

.first-departure-filter-item {
    background-color: #3C4858;
    pointer-events: none;
}

.first-departure-filter-mobile {
    height: 100%
}

.feedback-custom-badge {
    color: white !important;
    background-color: var(--mud-palette-primary);
    width: 1.5rem;
    height: 1.5rem;
}

.break-word {
    word-break: break-word;
}

.littera-item {
    flex-grow: 1;
    flex-basis: 0;
}

.shunting-top-toolbar {
    z-index: 1;
    height: 64px;
}

.shunting-content-height {
    height: calc(100vh - 64px);
}

.add-littera-card {
    background-color: #253848;
    padding: 15px;
    border-radius: 10px;
}

.remove-littera-vehicle-popup > .mud-overlay-content {
    width: 400px;
}

.remove-littera-vehicle-card {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
}

.littera-capacity-total {
    border: 1px solid white;
}

.littera-capacity-first-class {
    border: 1px solid red;
}

.littera-capacity-second-class {
    border: 1px solid #607D8B;
}

.littera-capacity-second-class, .littera-capacity-first-class, .littera-capacity-total {
    border-radius: 5px;
}

.littera-capacity p {
    padding: 5px;
}

.first-class-indicator {
    background-color: red;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.second-class-indicator {
    background-color: #607D8B;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.generic-row, .low-padding-table tr {
    height: 38px !important;
}

.add-unit-search-options .mud-radio-content {
    font-size: 13px !important;
}

.fd-train-info-train-number {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.fd-train-info-task-code {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.fd-composition-version {
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none; 
}

.fd-details-popup {
    background-color: #071e2b;
}

.fd-details-popup .mud-overlay-content{
    width: 100%;
    height: 100%;
    overflow: auto;
}

.fd-details-popup .mud-tabs-tabbar {
    background-color: #263848 !important;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 56px;
}

.fd-details-popup-app-bar {
    height: 56px;
    background-color: #00497f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.vehicle-details-section {
    background-color: #263848;
}

.vehicle-details-section .mud-tabs-tabbar {
    background-color: #263848 !important;
}

.fd-details-popup .mud-tab, .vehicle-details-section .mud-tab {
    text-transform: capitalize;
    min-width: 100px !important;
}

.driver-info-section {
    background-color: #1C2E3C;
}

.vehicle-details-content {
    background-color: #1C2E3C;
}

.vertical-dotted-line {
    background: repeating-linear-gradient(to bottom, #8b8f97, #8b8f97 1px, transparent 1px, transparent 4px);
    width: 1px;
    height: 20px;
    margin-top: -10px;
}

.small-circle {
    width: 4px;
    border-radius: 4px;
    height: 4px;
    background: #8b8f97;
}

.removed-littera-chip {
    background: #ffb4ab;
    color: #690005;
    height: 24px !important;
}

.added-littera-chip {
    background: #d4fdc3;
    color: #06400a;
    height: 24px !important;
}

.task-journey {
    background-color: #061B26;
}

.task-journey-abolished {
    background-color: #453344;
}

.task-journey-abolished p:not(.exclude), .p-line-through p:not(.exclude) {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

@media screen and (max-width: 650px) {
    .mobile-button {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .shunting-composition-front-indicator {
        width: 150px;
        height: unset;
        border-radius: 10px 10px 0 0;
    }

    .shunting-composition-back-indicator {
        width: 150px;
        height: unset;
        border-radius: 0 0 10px 10px;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .motor-unit-front {
        border-radius: 8px 8px 0 0;
        width: 50%;
        height: 44px;
        border-radius: 10px;
    }

    .motor-unit-middle {
        padding-top: 0;
        width: 50%;
        height: 44px;
        border-radius: 10px;
    }

    .motor-unit-back {
        padding-top: 0;
        border-radius: 0 0 8px 8px;
        width: 50%;
        height: 44px;
        border-radius: 10px;
    }

    .composition-material-sub-unit, .composition-material-sub-unit-selected {
        height: auto;
    }

    .break-bulletin-scroll-buttons {
        background: #84C0FB 0 0 no-repeat padding-box;
        border: 1px solid #84C0FB;
        border-radius: 4px;
        color: #063967;
    }

        .break-bulletin-scroll-buttons > p {
            font-weight: bold;
        }

    .break-bulletin-grid {
        margin-bottom: 200px;
    }

    .custom-expansion-panel > .mud-expand-panel-header {
        padding: 12px;
    }

    .icon-button {
        min-width: 35px !important;
    }

    .damage-info-popup > .mud-overlay-content {
        width: 90%;
    }

    .composition-material-unit-selected {
        margin-top: 0;
        margin-bottom: 0;
    }

    .edit-composition-button {
        background: #ffffff 0 0 no-repeat padding-box;
    }

    .mudicon-green svg {
        fill: #468C46 !important;
    }

    .mudicon-red svg {
        fill: #BB0000 !important;
    }

    .mudicon-blue svg {
        fill: #0069B4 !important;
    }

    .version-box-button {
        width: 100%;
    }

    .switch-no-label label {
        margin: 0 !important;
    }

    .first-departure-item {
        height: 80px;
    }

    .feedback-drawer {
        background-color: var(--mud-palette-surface);
        width: 100% !important;
        padding: 16px;
        max-height: -webkit-fill-available;
        overflow-y: hidden;
    }

    .input-num {
        flex: none;
        width: 3rem;
    }

    .vertical-dotted-line{
        height: 40px;
    }

    .fd-details-popup .mud-tabs-panels{
        overflow: auto;
    }
}

@media screen and (max-width: 370px) {
    .input-num {
        flex: none;
        width: 2.5rem;
    }
}

@media screen and (max-height: 740px) {
    .first-departure-filter-mobile {
        height: 600px;
    }
}
