﻿body.no-scroll {
    overflow: hidden;
}

.main-container {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mt-0 {
    margin-top: 0 !important;
}

.dark-blue {
    color: var(--sf-dark-blue);
}

/*header*/

nav, header {
    width: 100%;
    margin: 0;
    display: flex;
}

    header nav {
        position: relative;
        z-index: 2;
        justify-content: space-between;
        align-items: center;
    }

.header-category-name {
    display: none;
    width: 100%;
    text-align: center;
    color: var(--white);
    font-size: clamp(18px,8vw,30px);
    margin: unset;
    padding-inline: 5px;
    text-transform: uppercase;
}

/*Shared Components & Classes*/

.title-danger {
    width: clamp(200px,70%,800px);
    color: red;
    font-size: clamp(18px,2vw,37px);
    text-align: center;
    margin-inline: auto;
}

.box-shadow {
    box-shadow: 0px 3px 6px #00000029;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d-none {
    display: none !important;
}

/* Dropdown (my profile) */

.sf-dropdown-holder {
    position: relative;
    z-index: 2;
    height: 50px;
}

.sf-dropdown-holder.expanded {
    z-index: 3;
}

.sf-dropdown {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    background-color: var(--sf-white);
    border-radius: 8px;
    font-size: clamp(15px,1.2vw,18px);
    box-shadow: 0px 4px 14px 0px #0000001A;
}

.sf-dropdown-palceholder {
    color: #666666;
    font-weight: 400;
    font-size: clamp(13px, 1vw, 16px);
}

.sf-dropdown-selected-item {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(5px,.7vw,10px);
    width: 100%;
    height: clamp(42px, 3vw, 56px);
    padding: 5px 18px;
    background-color: var(--sf-white);
    color: inherit;
    border-radius: 8px;
}

.sf-dropdown-options {
    position: absolute;
    z-index: 1;
    display: none;
    left: 0;
    top: calc(clamp(42px, 3vw, 56px) + 8px);
    width: 100%;
    box-shadow: 0px 4px 14px 0px #0000001A;
    border-radius: 8px;
    background-color: var(--sf-white);
    margin-bottom: 15px;
    overflow-y: scroll;
    padding-block: 6px;
    max-height: 180px;
    /*scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #D6D6D6 var(--sf-white);*/
}

.sf-dropdown-options::-webkit-scrollbar {
    width: 15px;
    margin-inline-end: 3px;
    margin-bottom: 5px;
}

.sf-dropdown-options::-webkit-scrollbar-track {
    background-color: var(--sf-white);
}

.sf-dropdown-options::-webkit-scrollbar-thumb {
    background-color: #D6D6D6;
    border-radius: 8px;
    cursor: pointer;
    border: solid 4px transparent;
    background-clip: content-box;
}

.sf-dropdown-options .sf-dropdown-option {
    color: inherit;
    padding: 10px 15px;
    text-align: start;
}

.sf-dropdown-selected-item img {
    transition: all ease .3s;
    width: 10px;
}

.sf-dropdown-holder.expanded .sf-dropdown-selected-item img {
    transform: rotate(180deg);
}

.sf-dropdown-item:not(:last-child) {
    margin-bottom: 6px;
}

/* Modal */

.sf-confirm-modal {
    display: none;
    position: fixed;
    z-index: 5;
    inset: 0;
    width: 100%;
    min-height: 500px;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.5);
    padding-block: 60px;
    box-sizing: border-box;
    overflow-y: auto;
}

.sf-modal-content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(24px, 2vw, 32px);
    align-items: center;
    background-color: white;
    border-radius: 20px;
    width: 35%;
    padding-block: 40px;
    box-shadow: 0px 3px 78px #00000029;
    margin: auto;
    top: 20%;
}

.sf-modal-close-btn img {
    width: clamp(28px, 2.2vw, 36px);
    height: clamp(28px, 2.2vw, 36px);
}

.sf-modal-close-btn {
    position: absolute;
    top: 0px;
    inset-inline-end: 0px;
    padding-top: 15px;
    padding-inline-end: 15px;
}

.sf-modal-close-btn-new {
    padding: 0;
}

.sf-confirm-modal .avatar {
    width: clamp(56px, 5vw, 96px);
    height: clamp(83px, 7.4vw, 140px);
}

.sf-confirm-modal .confirm-text {
    color: var(--sf-dark-blue);
    font-weight: 700;
    font-size: clamp(16px, 1.3vw, 26px);
    text-align: center;
    padding: 0 20px 0 20px;
}

.sf-confirm-modal .secondary-text {
    margin: 0;
    color: var(--black);
    font-weight: var(--bold-font-weight);
    font-size: clamp(14px, 1vw, 18px);
    text-align: center;
    padding: 0 20px 0 20px;
    margin-block: 8px;
}

.sf-modal-confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.sf-modal-confirm-buttons button {
    width: fit-content;
    min-width: 150px !important;
    font-size: clamp(16px, 1.3vw, 22px) !important;
}

/*.sf-modal-confirm-buttons .confirm {
    padding: 14px 26px;
    border-radius: 30px;
    background: var(--light-blue);
    color: white;
}*/

.sf-modal-confirm-buttons .cancel {
    background: var(--sf-dark-blue);
}

.sf-modal-input {
    max-width: 85%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid grey;
    margin: 15px 0 22px 0;
}
.sf-modal-input:focus {
    outline: none;
}

[desktop-only],
[mobile-only] {
    display: none;
}

.sf-dropdown-holder-round {
    width: 140px;
    z-index: 1;
    margin: 5px;
}

.sf-dropdown-holder-round:has(input[disabled]) .sf-dropdown-selected-item-round {
    pointer-events: none;
    background: var(--sf-bd-color);
}

.sf-dropdown-selected-item-round {
    border-radius: 50px;
    padding: 5px 15px;
    border: 2px solid #181E4B;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--sf-white);
    width: 100%;
    text-align: start;
    position: relative;
}

.sf-dropdown-selected-item-round:before {
    content: '';
    position: absolute;
    background: transparent url(/images/site/sf-dropdown-arrow.svg) no-repeat;
    background-size: 28px;
    display: block;
    width: 28px;
    height: 28px;
    top: 0;
    right: 0;
    transition: all 300ms ease;
}

.sf-dropdown-holder-round.expanded .sf-dropdown-selected-item-round:before {
    transform: rotate(180deg);
}

html[dir="rtl"] .sf-dropdown-selected-item-round:before {
    right: unset;
    left: 0;
}

.sf-dropdown-options-round {
    display: none;
    position: absolute;
    width: 100%;
    border: 2px solid #181E4B;
    border-radius: 15px;
    border-top: none;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    overflow: hidden;
}

.sf-dropdown-options-round-inner {
    background: var(--sf-white);
    padding: 5px 15px;
    max-height: 220px;
    overflow-y: scroll;
}

.sf-dropdown-options-round-inner::-webkit-scrollbar {
    width: 15px;
    margin-inline-end: 3px;
    margin-bottom: 5px;
}

.sf-dropdown-options-round-inner::-webkit-scrollbar-track {
    background-color: var(--sf-white);
}

.sf-dropdown-options-round-inner::-webkit-scrollbar-thumb {
    background-color: #D6D6D6;
    border-radius: 8px;
    cursor: pointer;
    border: solid 4px transparent;
    background-clip: content-box;
}

.sf-dropdown-holder-round.expanded .sf-dropdown-selected-item-round {
    border-bottom: none;
    border-radius: 15px;
    border-end-end-radius: 0;
    border-end-start-radius: 0;
}

.sf-dropdown-item-round + .sf-dropdown-item-round {
    margin-top: 12px;
}

.sf-dropdown-item-round[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.sf-dropdown-option-round {
    width: 100%;
    text-align: start;
}

.sf-dropdown-option-round:hover,
.sf-dropdown-item-round.selected .sf-dropdown-option-round {
    color: var(--sf-soft-red);
}

.footer {
    display: none;
}

body:has(.sf-kz-home-container) .footer,
body:has(.sf-home-cta-container) .footer {
    display: initial;
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px 0;
    /*    position: fixed;
*/ width: 100%;
    bottom: 0;
    box-shadow: 0px -2px 10px rgb(0 0 0 / 7%); /* Added box shadow */
    z-index: 100;
}

.sf-main-modals-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

        .footer p {
            margin: 0;
            font-size: 14px;
        }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    @media (min-width: 600px) {
        [desktop-only] {
            display: block;
        }

        [mobile-only] {
            display: none !important;
        }
    }

    @media (max-width: 600px) {
        [desktop-only] {
            display: none !important;
        }

        [mobile-only] {
            display: block;
        }
    }

    @media screen and (max-width:1050px) {
        .sf-modal-content-wrapper {
            width: 55%;
        }
    }

    @media screen and (max-width:768px) {
        .sf-modal-content-wrapper {
            width: 75%;
        }
    }

    @media screen and (max-width:480px) {
        .sf-modal-content-wrapper {
            width: 95%;
        }
    }