.rotate-upside-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    
}

.modal-window {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.38);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999 !important;

    &>div {
        width: 400px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 2em;
        background: white;
        width: 80%;
    }

    header {
        font-weight: bold;
    }

    h1 {
        font-size: 150%;
        margin: 0 0 15px;
    }
}

.modal-close {
    color: #aaa;
    line-height: 50px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;

    &:hover {
        color: black;
        text-decoration: none;
    }
}

/* Demo Styles */

.modal-window {
    &>div {
        border-radius: 1rem;
    }
}

.modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 0px;
}

p {
    margin-bottom: 0px;
}

ion-icon {
    --ionicon-stroke-width: 16px;
}

:root {
    --tag-color-one: rgb(255, 203, 5);
    --tag-color-text-one: rgb(33, 37, 41);
    --tag-color-text-two: rgba(33, 37, 41, 0.75);
}

.all {
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-preview-card {
    border-radius: 24px !important;
}

.image-preview {
    border-radius: 16px !important;
    margin-bottom: 1rem;
}

.tag {
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 16px;
    margin-right: 5px;
}

.approved {
    background-color: var(--tag-color-one);
    color: var(--tag-color-text-one);
}

.location {
    background-color: #fff;
    color: var(--tag-color-text-one);
    border: 1px solid var(--tag-color-one);
}

.tags {
    width: 100%;
    text-align: left;
    margin-top: 1rem;
}

.eticheta {
    width: 48px;
    height: 48px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicators2 {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    width: 1rem;
    height: 1rem;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid white;
    transition: 0.3s all ease;
}

.indicator2 {
    width: 1rem;
    height: 1rem;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid white;
    transition: 0.3s all ease;
}

.indicator.active {
    background-color: var(--tag-color-one);
}

.indicator2.active {
    background-color: var(--tag-color-one);
}

.travis-plan {
    display: none;
}

.card-header:hover {
    cursor: pointer;
}

.row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.column {
    flex: 1;
}

.icon {
    margin-right: 5px;
}

.dotari {
    display: none;
}

#show-dotari:hover {
    cursor: pointer;
}

.align-horizontal {
    display: flex;
    align-items: center;
}

.align-horizontal ul {
    margin-left: 10px;
    /* Adjust the margin as needed */
}

.selected-plan {
    border: 4px solid rgb(255, 203, 5);
}

.plan-list h6 {
    display: flex;
    align-items: center;
    font-weight: 100;
    margin: 0;
}

#slidingMenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 5000;
}

.sliding-menu-initial {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5rem !important;
    background-color: #f8f9fa !important;
    padding: 15px !important;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 5000 !important;
}



#slidingMenu:hover {
    cursor: pointer;
}

.next {
    margin-left: auto;
}

#target {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 5000;
    display: none;
    overflow-y: auto;
    padding-bottom: 5rem;
}

#targetSecondStep {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

#targetThirdStep {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

#targetFourthStep {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

@media (max-width: 767px) {

    .alert-danger,
    .alert-primary {
        width: 80%;
    }

    @media (max-width: 767px) {
        .price {
            font-size: 1.2rem !important;
        }

        .choose-plan {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 575.98px) {
        .choose {
            margin-bottom: 20px;
        }
    }

    .strikethrough {
        position: relative;
    }

    .strikethrough:before {
        position: absolute;
        content: "";
        left: 0;
        top: 50%;
        right: 0;
        border-top: 2px solid;
        border-color: black;

        -webkit-transform: rotate(-20deg);
        -moz-transform: rotate(-20deg);
        -ms-transform: rotate(-20deg);
        -o-transform: rotate(-20deg);
        transform: rotate(-20deg);
    }

    .form-check {
        text-align: left;
    }

    .form-check-input {
        margin-right: 5px;
    }

    .check-icon {
        height: 21px !important;
        width: 21px !important;
        margin-right: 5px;
    }

    .question {
        margin: 8px;
        width: 100%;
        text-align: left;
        font-size: 15px;
    }

    .red-circle {
        display: inline-block;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background-color: #f9c706;
        color: white;
        text-align: center;
        line-height: 15px;
        /* Adjusted line-height */
        margin-left: 10px !important;
        margin-bottom: 5px !important;
        font-size: 12px;
    }

    .dotari {
        display: none;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .dotari.show {
        display: block;
        max-height: 1000px;
    }

    .toggle {
        --width: 50px;
        --height: calc(var(--width) / 2);
        --border-radius: calc(var(--height) / 2);

        display: inline-block;
        cursor: pointer;
    }

    .toggle__input {
        display: none;
    }

    .toggle__fill {
        position: relative;
        width: var(--width);
        height: var(--height);
        border-radius: var(--border-radius);
        background: #dddddd;
        transition: background 0.2s;
    }

    .toggle__input:checked~.toggle__fill {
        background: #ffc107;
    }

    .toggle__fill::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: var(--height);
        width: var(--height);
        background: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
        border-radius: var(--border-radius);
        transition: transform 0.2s;
    }

    .toggle__input:checked~.toggle__fill::after {
        transform: translateX(var(--height));
    }

}

s,
strike {
    text-decoration: none;
    position: relative;
}

s::before,
strike::before {
    top: 50%;
    /*tweak this to adjust the vertical position if it's off a bit due to your font family */
    background: red;
    /*this is the color of the line*/
    opacity: .7;
    content: '';
    width: 110%;
    position: absolute;
    height: .1em;
    border-radius: .1em;
    left: -5%;
    white-space: nowrap;
    display: block;
    transform: rotate(-15deg);
}

s.straight::before,
strike.straight::before {
    transform: rotate(0deg);
    left: -1%;
    width: 102%;
}

.select-box {
    position: relative;
    z-index: 9999;
}

.select-box input {
    width: 100%;
    border: .1rem solid transparent;
    outline: none;
}

input[type="tel"] {
    border-radius: 0 .5rem .5rem 0;
    padding: 10px;
    border: 1px solid #ced4da;
}

.select-box input:focus {
    border: .1rem solid var(--primary);
}

.selected-option {
    background-color: #eee;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div {
    position: relative;
    padding: 0 2.8rem 0 .5rem;
    text-align: center;
    cursor: pointer;
}

.selected-option div::after {
    position: absolute;
    content: "";
    right: .8rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);

    width: .8rem;
    height: .8rem;
    border-right: .12rem solid var(--primary);
    border-bottom: .12rem solid var(--primary);

    transition: .2s;
}

.selected-option div.active::after {
    transform: translateY(-50%) rotate(225deg);
}

.select-box .options {
    position: absolute;
    top: 4rem;
    background-color: #fff;
    border-radius: .5rem;
    display: none;
}

.select-box .options.active {
    display: block;
}

.select-box .options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;

    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--primary);
}

input.search-box {
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    padding: 10px;
}

.select-box ol {
    list-style: none;
    max-height: 23rem;
    overflow: overlay;
}

.select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

.select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: .4rem;
}

.select-box ol li {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.select-box ol li.hide {
    display: none;
}

.select-box ol li:not(:last-child) {
    border-bottom: .1rem solid #eee;
}

.select-box ol li:hover {
    background-color: lightcyan;
}

@media (max-width: 767px) {
    .alert-danger, .alert-primary{
      width: 80%;
    }
}