body {
    font-family: "Popins", sans-serif;
    background: rgb(242, 244, 247);
    overflow: hidden;
    touch-action: none;
}
:root {
    --primary-color: rgb(0, 104, 255);
    --secondary-color: rgba(38, 110, 220, 0.8);
    --third-color: rgba(0, 78, 140, 1);
    --success-color: #28a745;
    --danger-color: #ff374b;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}
* {
    -webkit-tap-highlight-color: transparent;
}
/*@keyframes appear {*/
/*    from {*/
/*        opacity: 0;*/
/*    // clip-path: inset(50% 50% 50% 50%);*/
/*        scale: 0;*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*    // clip-path: inset(0 0 0 0);*/
/*        scale: 1;*/
/*    }*/
/*}*/

/*.step-item-wrapper {*/
/*    animation: appear linear;*/
/*    animation-timeline: view();*/
/*    animation-range: entry 0% cover 15%;*/
/*}*/
.leaflet-bottom.leaflet-right {
    display: none;
}
.leaflet-container {
    border-radius: 10px;
}
.div-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.div-flex {
    display: flex;
    align-items: center;
}
.color-light-blue {
    color: var(--secondary-color);
}
.color-red {
    color: var(--danger-color) !important;
}
.map-wrapper {
    display: flex;
    height: 250px;
    z-index: 1;
    position: relative;
    border-radius: 10px;
    /* border: solid 1px; */
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    padding: 5px;
}
#map {
    width: 100%;
    height: 100%;
}

.step-navigate-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 40px;
    background: var(--light-color);
    padding: 5px 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.step-navigate-bar-button {
    color: var(--primary-color);
    cursor: pointer;
}
.step-navigate-bar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--danger-color);
    font-size: 11px;
    font-family: "Popins", sans-serif;
    font-weight: bold;
    text-align: center;
}
.step-navigate-bar-next {
    margin-right: 17px;
}

.list-step-wrapper {
    margin: auto;
    flex: 1 1 auto; /* Fills the remaining height */
    max-height: calc(100vh - 370px); /* Adjust height, leaving space for the form and padding */
    overflow-y: auto; /* Makes list scrollable */
    overflow-x: hidden; /* Makes list scrollable */
    box-sizing: border-box; /* Include padding in the height */
    padding: 0 10px 20px 10px;
    margin-top: 10px;
}
.list-step-wrapper::-webkit-scrollbar {
    display: none;
}
.step-item-wrapper {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    background: white;
    /*height: 50px;*/
    border-radius: 10px;
    padding: 10px;
    border: solid 2px transparent;
    cursor: pointer;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.step-item-wrapper:not(:first-child) {
    margin-top: 15px;
}
.step-item-wrapper-active {
    border-color: var(--primary-color);
}
/*.step-item-icon {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    min-width: 40px;*/
/*    min-height: 40px;*/
/*    border-radius: 50%;*/
/*    background: var(--minie-dark-blue);*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    color: white;*/
/*    margin-left: 5px;*/
/*    margin-right: 5px;*/
/*}*/
.step-item-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 15px;
}
.step-item-description {
    font-size: 13px;
    color: var(--secondary-color);
    margin-left: 3px;
}
.step-item-text-with-icon {
    padding: 4px 0;
}
.step-item-text-with-icon > span {
    margin-left: 5px;
    font-size: 13px;
}
.step-item-text-with-icon > i {
    color: var(--third-color);
    font-size: 15px;
}
.step-item-text-with-icon .ant-progress-line {
    font-size: 12px !important;
}
.step-image-list-wrapper {
    display: flex;
    align-items: center;
    height: 50px;
    overflow-y: hidden;
    overflow-x: auto;
    padding: 0 10px;
    margin-top: 5px;
}
.step-image-list-wrapper::-webkit-scrollbar {
    display: none;
}
.step-image-list {
    display: flex;
}
.step-image-item:not(:first-child) {
    margin-left: 15px;
}
.step-image-item {
    border: solid 2px transparent;
    cursor: pointer;
    /*box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;*/
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.step-image-item-active {
    border-color: var(--danger-color);
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        scale: 0.9;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}
.show-image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.show-image-content-wrapper {
    background: var(--light-color);
    width: 90vw;
    height: 90vh;
    /*max-width: 500px;*/
    /*max-height: 300px;*/
    border-radius: 10px;
    padding: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}
@media only screen and (max-device-width: 480px) {
    /* styles for mobile browsers smaller than 480px; (iPhone) */
    .show-image-content-wrapper {
        max-width: 500px;
        max-height: 300px;
    }
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .show-image-content-wrapper {
        max-width: 500px;
        max-height: 300px;
    }
}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    .show-image-content-wrapper {
        max-width: 500px;
        max-height: 300px;
    }
}
.show-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.show-image-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--info-color);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.show-image-close-button > i {
    color: white;
    font-size: 20px;
}