body {
    background-color: #fff;
    color: #555;
    font-family: "SF Pro Display", sans-serif;
}
* {
    font-family: "SF Pro Display", sans-serif;
    /*line-height: 0;*/
}
/*main {*/
/*    padding-top: 113px;*/
/*}*/

@media only screen and (max-width: 1120px) {
    main {
        /*padding-top: 65px;*/
    }
}
.container {
    max-width: 1040px;
    margin: 0 auto;
}
.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 54px 0 10px;
    border-bottom: 1px solid #D7E0EA;
    font-size: 32px;
}

.section-title {
    margin: 10px 0;
    font-size: 24px;
}
.section-mb {
    margin-bottom: 2rem!important;
}
.subtitle {
    margin: 0 0 10px;
    font-size: 14px;
}
label {
    font-size: 14px;
}

.required:after {
    content: "*";
    padding-left: 5px;
    color: rgba(200, 64, 64, 1);
}
.form-check-input {
    visibility: hidden;
    width: 0!important;
    height: 0!important;
    line-height: 0;
    border: unset!important;
    margin: unset!important;
    padding: unset!important;
}
.form-check-label {
    font-size: 13px;
    padding-left: 26px;
    position: relative;
    display: flex;
    align-items: center;
    &.form-label-title {
        font-size: 14px;
        font-weight: 500;
    }
}
label.form-check-label {
    cursor: pointer;
    min-width: 52px;
}
label.form-check-label:before {
    content: "";
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(238, 242, 247, 1);
    border: 1px solid rgb(238, 242, 247);
}

.technical-content label.form-check-label {
    font-size: 14px;
}
.form-check-input:checked + label.form-check-label:after {
    content: "";
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 50%;
    transform: translate(0, -50%);
    background: rgba(21, 101, 192, 1);
    border: 1px solid rgb(238, 242, 247);
}

input.hidden-full {
    cursor: pointer;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.image-upload-handler {
    width: 125px;
    height: 125px;
    /*border: 1px solid #ebebeb;*/
    border: 1px solid rgba(50, 65, 83, 0.61);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 200ms;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    position: relative;
    background: rgba(237, 241, 247);

    &:hover {
        background: #f8f8f8;
    }

    .image-upload-icon {
        width: 56px;
        height: 56px;
        object-fit: contain;
        background-image: url("/assets/front/img/plus.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }
}

#car-brand-logo {
    width: 27px;
    height: 27px;
    position: absolute;
    left: -30px;
    top: 5px;
    border-radius: 50%;
    display: none;
}

.images-wrapper {
    padding: 20px 40px;
    border-radius: 8px;
    border: 1px solid rgba(238, 242, 247, 1);
}
.images {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    flex-wrap: wrap;
}
.image-rules {
    padding-left: unset;
    li {
        font-size: 14px;
    }
}
.image-rules-toast {
    padding: 10px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 15px;
}
.rules-toast--yellow {
    background-color: #fff9e8;
}
.rules-toast--grey {
    font-weight: 500;
    background-color: #f6f7fa;
}
.rules-toast-title {
    color: #000;
}
.rules-toast-title--red {
    color: #ff586d;
}
.rules-toast-text {
    color: #000;
    font-weight: bold;
}


.images-container, .images-container-fix {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.edit-image-container .image-box:after {
    content: unset!important;
}

.image-box, .image-box-draft {
    width: 125px;
    height: 125px;
    border: 1px solid rgba(50, 65, 83, 0.61);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    touch-action: none;

    .image-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
        .spinner {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(0, 0, 0, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
    }

    &:hover:after {
        background: #fff;
        color: #1565C0;
    }

    &:hover {
         border-color: #1565C0;
     }
    &:after {
        position: absolute;
        bottom: 0;
        left: 0;
        background: #fff;
        color: #333;
        width: 100%;
        text-align: center;
        font-size: 14px;
        transition: 330ms;
    }

    &:first-child:after {
        content: 'Əsas görünüş';
    }

    &:nth-child(2):after {
        content: 'Arxa görünüş';
    }

    &:nth-child(3):after {
        content: 'Ön panel';
    }

    img, .image-box-preview {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 330ms;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    &>span {
        position: absolute;
        cursor: pointer;
        color: #fff;
        background: #fff;
        transition: 330ms;
        top: 5px;
        padding: 2px;
        width: 20px;
        height: 20px;

        &.rotate {
            left: 5px;
        }

        &.delete {
            right: 5px;
        }

        img, .rotate-icon, .delete-icon {
            display: block;
            width: 100%;
            height: 100%;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            transition: 330ms;
            filter: brightness(0) saturate(100%) invert(56%) sepia(0%) saturate(0%) hue-rotate(270deg) brightness(101%) contrast(85%);
            filter: invert(0);
        }
        .rotate-icon {
            background-image: url("/assets/front/img/rotate.png");
        }
        .delete-icon {
            background-image: url("/assets/front/img/delete.png");
        }

        &:hover img{
            filter: brightness(0) saturate(100%) invert(7%) sepia(1%) saturate(319%) hue-rotate(314deg) brightness(93%) contrast(91%);
        }
    }
}

.drag-space {
    width: 10px;
    background: #98a3ff;
}

#youtube_embed {
    width: 125px;
    height: 100px;
    border-radius: 5px;
}

#add-youtube-link {
    padding: 8px 10px;
    background: rgba(21, 101, 192, 1);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    margin-left: 10px;
    cursor: pointer;
    white-space: nowrap;
    &.disabled {
        background: rgba(237, 241, 247);
    }
}
#remove-youtube-link {
    width: 40px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    display: none;
}

.show-tip {
    color: #0a53be;
    transition: 330ms;
    width: fit-content;
    cursor: pointer;

    &:hover{
     color: #084294;

        & + .view-prompt {
            opacity: 1;
            z-index: 1000;
        }
    }
}

.view-prompt {
     opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 380px;
    padding: 8px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #f0f2fa;
    border-top: 3px solid #1e90ff;
    border-left: 0 none;
    position: absolute;
    left: 10px;
    top: 43px;
    z-index: -1;
    transition: 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    &:before {
        border-style: solid;
        border-width: 0 10px 10px 10px;
        border-color: transparent transparent #1e90ff transparent;
        position: absolute;
        top: -10px;
        left: 25%;
        content: "";
    }

    .notice--checked {
        background-color: #f3fafd;
    }
    .notice {
        position: relative;
        padding: 10px;
        border-radius: 4px;
        background-color: #e5f4ff;
        font-size: 14px;
        line-height: 16px;
    }
    .notice--icon .notice_head {
        display: table;
        width: 100%;
    }
    .i-block {
        display: inline-block;
    }
    .we-checking {
        font-size: 12px;
    }
    .we-checking li {
        padding-top: 2px;
        display: flex;
        gap: 2px;
        align-items: center;
    }
    .we-checking li::before {
        content: "✓";
        margin-top: -1px;
        display: inline-block;
        width: 1em;
        height: 1em;
        stroke-width: 0;
        stroke: currentColor;
        fill: currentColor;
        vertical-align: middle;
    }
    .unstyle, .vin-code-container .unstyled {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    img {
        width: -moz-fit-content;
        width: fit-content;
        width: 100%;
        max-width: calc(50% - 5px);
        /*max-width: 170px;*/
        height: auto;
        vertical-align: middle;
        border: 0;
        overflow-clip-margin: content-box;
        overflow: clip;
    }

    .size16 {
        font-size: 14px;
    }

    .size13 {
        font-size: 12px;
    }

    .bold {
        font-weight: 600;
    }

}

::-webkit-resizer {
    background-image: url(main.css);
    background-repeat: no-repeat;
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-button {
    background-image: url(main.css);
    background-repeat: no-repeat;
    width: 5px;
    height: 0;
}

::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #4e4e4e;
}

::-webkit-scrollbar-track {
    background-color: #ecedee;
}

.select2-container .select2-dropdown {
    border: 1px solid rgb(238, 242, 247);
    box-shadow: 0px 2px 16px 0px rgba(59, 59, 72, 0.1);
}
.container:not(.mobile) {
    .select2-container .select2-dropdown {
        margin-top: -40px
    }
}

.select2-container .select2-dropdown .select2-results__option {
    color: rgb(118, 138, 158);
    color: #000;
    font-size: 13px;
}

.select2-container .select2-dropdown .select2-results__option.select2-results__option--highlighted {
    color: rgb(118, 138, 158);
    color: #000;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f6f7fa;
}

.select2-selection--single {
    height: 37px;
    border: none;
}

.select2-container .select2-selection--single {
    height: 39px;
    border: 1px solid rgb(238, 242, 247);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 39px;
    /*color: rgb(118, 138, 158);*/
    color: #212529;
    font-size: 13px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    top: 7px;
    transform: none;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
    height: 40px;
}

.select2-container .select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid rgb(238, 242, 247);
    border-radius: 4px;
}

input:not(.is-invalid) {
    outline: 0 none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: "SF Pro Display", sans-serif;
    border: 1px solid #eef2f8 !important;
}

.validation-span {
    font-size: 10px;
    font-weight: 400;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
}
.is-invalid {
    border: 1px solid #dc3545;
    border-radius: 3px;
}

.is-invalid.select2-container {
    border: unset;
    border-radius: unset;
    .select2-selection--single {
        border: 1px solid #dc3545!important;
        border-radius: 3px;
    }
}

    .cke_top, .cke_path {
        display: none!important;
    }
    .cke_resizer_ltr {
        margin-right: 2px!important;
    }
    .ck.ck-content p.info-box {
        margin: unset!important;
        margin-bottom: 5px;
        line-height: 1.4;
        margin-block-start: unset;
        margin-block-end: unset;
        margin-inline-end: unset;
        margin-inline-start: unset;
    }

    .cke_contents .cke_editable {
        margin: 10px!important;
        background: red;
        p {
            margin: unset!important;
            margin-bottom: 5px;
            line-height: 1.4;
            margin-block-start: unset;
            margin-block-end: unset;
            margin-inline-end: unset;
            margin-inline-start: unset;
        }
    }
    .cke_top, .cke_bottom {
        /*background-color: red!important;*/
    }
    .cke_top {
        border-bottom: unset!important;
        background: transparent!important;
        padding: unset!important;
    }
    .cke_bottom {
        border-top: unset!important;
        background: transparent!important;
        padding: unset!important;
    }
    .cke_contents {
        min-height: 120px!important;
    }

    .form-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .form-row-start {
        justify-content: flex-start;
    }
    .form-row-end {
        justify-content: flex-end;
    }
    .form-label {
        width: 160px;
        line-height: 39px;
        color: #000;
    }
    .form-item {
        flex: 1;
        position: relative;
        .clear-input {
            width: 40px;
            height: 39px;
            display: block;
            position: absolute;
            top: 50%;
            right: 2px;
            transform: translateY(-50%);
            cursor: pointer;
            z-index: 1003;
            span {
                width: 24px;
                height: 24px;
                border-radius: 50%;
                background: #cccccc;
                display: block;
                position: absolute;
                top: 50%;
                right: 2px;
                transform: translateY(-50%);
                cursor: pointer;
                color: #fff;
                font-size: 14px;
                line-height: 22px;
                text-align: center;
                z-index: 1003;
                &:hover {
                    background: rgba(5, 24, 46, 1);
                }
            }
        }
    }
    .form-item-80 {
        flex: 0 0 calc((100% - 160px) * 0.8);
    }
    .form-row .mobile-border-bottom,
    .filter-item .mobile-border-bottom,
    .filter-item:has(.mobile-border-bottom) .select2-container .select2-selection--single {
        border-top: unset !important;
        border-left: unset !important;
        border-right: unset !important;
        border-bottom: 1px solid #eef2f8 !important;
        border-radius: unset !important;
        padding-left: unset !important;
        padding-right: unset !important;
    }
    .input-placeholder-transition {
        width: fit-content;
        white-space: nowrap;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 16px;
        color: #212529;
        transition: all .3s linear;
        visibility: visible;
        z-index: 1001;
        z-index: 10;
    }

    input[type="text"]:focus ~ .input-placeholder-transition,
    input[type="email"]:focus ~ .input-placeholder-transition,
    input[type="number"]:focus ~ .input-placeholder-transition,
    input[type="phone"]:focus ~ .input-placeholder-transition,
    input[type="text"]:not(:placeholder-shown) ~ .input-placeholder-transition,
    input[type="email"]:not(:placeholder-shown) ~ .input-placeholder-transition,
    input[type="number"]:not(:placeholder-shown) ~ .input-placeholder-transition,
    input[type="phone"]:not(:placeholder-shown) ~ .input-placeholder-transition {
        top: 0;
        padding: 1px 0;
        background: #fff;
        visibility: visible;
        font-size: 13px;

        /*transform: translateY();*/
    }
    .form-phone-item {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: .375rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #eef2f8 !important;
        border-radius: 0.25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;

        &:has(input.is-invalid) {
            border: 1px solid #dc3545!important;
        }
        .form-phone-item__before {
            display: inline-flex;
            width: min-content;
            align-items: center;
            justify-content: flex-start;
            gap: 5px;
        }
        img {
            width: 30px;
        }
        span {
            font-size: 13px;
            font-weight: 400;
            line-height: 25px;
            color: #212529;
        }
        input {
            border: unset!important;
            background: unset!important;
            outline: unset!important;
            padding: unset!important;
        }
        .form-phone-input {
            opacity: 0;
            transition: all .3s linear;
        }
        /*.form-phone-input:not(input[type="text"]:focus) {*/
        /*    backgroud: red;*/

        /*}*/

        .form-phone-input:has(input[type="text"]:focus),
        .form-phone-input:has(input[type="text"]:not(:placeholder-shown)) {
            opacity: 1;
            & ~ .input-placeholder-transition {
                top: 0;
                padding: 1px 0;
                background: #fff;
                visibility: visible;
                font-size: 13px;
            }
        }
        /*.form-phone-item__input {*/

        /*}*/
    }
    .form-control {
        font-size: 13px;
        line-height: 25px;
        color: #212529;

    }
    .form-control:focus {
        color: #212529;
        background-color: transparent!important;
        border-color: #eef2f8!important;
        outline: 0;
        box-shadow: unset!important;
    }
    .safety-row {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(5, 1fr);
    }
    .safety-item {

    }
    ul {
        margin-bottom: unset;
    }

    .images-container {
        /*justify-content: center;*/
        margin-top: 10px;
        padding: 0 15px;
    }



    @media only screen and (max-width: 1120px) {
        .images-wrapper {
            padding: 20px 20px;
        }
        .images-container {
            width: 100%;
            padding: unset;
            gap: 7px;
        }
        .image-box, .image-box-draft {
            width: calc((100% - 14px) / 3);
            height: 120px;
            span {
                background: #fff;
                border-radius: 2px;
                padding: 2px;
            }
        }
        .image-upload-handler {
            width: 100%;
            height: 39px;
            gap: 10px;
            position: relative;
            .image-loader {
                width: 24px;
                height: 24px;
                position: relative;
                z-index: 1000;
                background: transparent;
                .spinner {
                    width: 24px;
                    height: 24px;
                    border: 3px solid rgba(0, 0, 0, 0.5);
                    border-top-color: #fff;
                    position: static;
                    border-radius: 50%;
                    animation: spin 1s linear infinite;
                }
            }

            .image-upload-icon {
                width: 22px;
                height: 18px;
                object-fit: contain;
                background-image: url("/assets/front/img/_src/camera.svg");
            }
        }
        .header__mobile-nav {
            top: 65px;
        }
        /*ul {*/
        /*    padding-left: 1rem;*/
        /*}*/
        /*li {*/
        /*    list-style-type: disc;*/
        /*}*/
    }
    .otp-modal {
        opacity: 0;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        transition: 200ms;
        z-index: -1;

        &.show {
            opacity: 1;
            display: flex;
            z-index: 1010;
        }
    }

    .otp-modal-content {
        width: 400px;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .otp-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .otp-modal-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .otp-modal-content input {
        width: 100%;
        height: 40px;
        border: 1px solid #ebebeb;
        border-radius: 4px;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .otp-modal-content button {
        width: 100%;
        height: 40px;
        background: #1565c0;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .otp-modal-content button:hover {
        background: #0a53be;
    }

    .otp-modal-content button:disabled {
        background: #ebebeb;
        color: #333;
        cursor: not-allowed;
    }

    .otp-modal-content button:disabled:hover {
        background: #ebebeb;
    }

    .otp-modal-content .otp-error {
        color: #f00;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .otp-modal-content .otp-success {
        color: #0f0;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .otp-modal-content .otp-resend {
        font-size: 14px;
        color: #1565c0;
        cursor: pointer;
    }

    .otp-modal-content .otp-resend:hover {
        color: #0a53be;
    }

    .otp-modal-content .otp-resend:disabled {
        color: #ebebeb;
        cursor: not-allowed;
    }

    .otp-modal-content .otp-resend:disabled:hover {
        color: #ebebeb;
    }

    .otp-modal-content .otp-resend span {
        color: #333;
    }

    .otp-modal-content .otp-resend span:hover {
        color: #333;
    }

    .otp-modal-content .otp-resend span:disabled {
        color: #ebebeb;
        cursor: not-allowed;
    }

    .otp-modal-content .otp-resend span:disabled:hover {
        color: #ebebeb;
    }

    .loader-layer {
        background: #ffffffe3;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 11111;
        display: none;
        align-items: center;
        justify-content: center;
        gap: 30px;
        font-size: 25px;
        flex-direction: column;

        &.show {
            display: flex;
        }
    }

    .loader {
        height: 30px;
        aspect-ratio: 2.5;
        --_g: no-repeat radial-gradient(farthest-side,#000 90%,#0000);
        background:var(--_g), var(--_g), var(--_g), var(--_g);
        background-size: 20% 50%;
        animation: l43 1s infinite linear;
    }
    @keyframes l43 {
        0%     {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
        16.67% {background-position: calc(0*100%/3) 0   ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
        33.33% {background-position: calc(0*100%/3) 100%,calc(1*100%/3) 0   ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
        50%    {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 100%,calc(2*100%/3) 0   ,calc(3*100%/3) 50% }
        66.67% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 100%,calc(3*100%/3) 0   }
        83.33% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 100%}
        100%   {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
    }

    .hidden {
        display: none;
        min-width: 52px;
    }

    .car-type-content {
        background: rgb(246, 249, 254);
        border: 1px solid rgb(238, 242, 247);
        padding: 10px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        span {
            font-size: 16px;
            font-weight: 400;
            line-height: 20px;
            color: rgb(118, 138, 158);
        }
        img {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            max-width: 40px;
            height: 30px;
            display: block;
        }
    }

    .small, small {
        font-size: .75em;
    }
    .salon_card {
        display: flex;
        gap: 15px;
        padding: 14px 10px;
        background: rgb(246, 249, 254);
        border: 1px solid rgb(238, 242, 247);
        min-width: 250px;
        .salon_card__logo {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        .salon_card__content {
            flex: 1;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            span {
                display: flex;
                flex-direction: column;
                justify-content: center;
                font-size: 16px;
                font-weight: 500;
            }
            .small {
                font-size: 12px;
                font-weight: 400;
                svg {
                    width: 12px;
                    height: 12px;
                }
            }
        }
    }

    .agreement {
        font-size: 14px;
    }
}
