#app {
    height: 100%;
}

.no-zoom {
    touch-action: manipulation; /* Prevents double-tap zoom on mobile */
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Inter/Inter-Light.ttf") format("truetype"), url('../fonts/Inter/Inter-Light.woff2') format('woff2');
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Inter/Inter-Regular.ttf") format("truetype"), url('../fonts/Inter/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Inter/Inter-Medium.ttf") format("truetype"), url('../fonts/Inter/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Inter/Inter-Bold.ttf") format("truetype"), url('../fonts/Inter/Inter-Bold.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
    font-family: Inter;
}

html, body {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--background);
    font-family: 'Inter'
}

.wrap {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.scrollbar {
    overflow: auto;
}

    .scrollbar::-webkit-scrollbar {
        width: 2px;
    }

    .scrollbar::-webkit-scrollbar-track {
        border-radius: 2px;
        background-color: var(--light-primary);
        border: 0;
    }

    .scrollbar::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: var(--primary-clr);
    }

.scrollbar-ver {
    overflow-x: auto;
    white-space: nowrap;
}

    .scrollbar-ver::-webkit-scrollbar {
        height: 2px;
    }

    .scrollbar-ver.hide::-webkit-scrollbar {
        height: 0px;
    }

    .scrollbar-ver::-webkit-scrollbar-track {
        border-radius: 1px;
        background-color: var(--light-primary);
        border: 0;
    }

    .scrollbar-ver::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: var(--primary-clr);
    }

.txt-app {
    font-weight: 500;
    font-size: 12px;
    line-height: 130%;
    color: var(--text-primary);
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 18px;
    margin: auto;
}

    .ios-switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #C2C4CF;
        border-radius: 34px;
        transition: 0.4s;
    }

        .ios-switch .slider::before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

    .ios-switch input:checked + .slider {
        background-color: #06AD4F;
    }

        .ios-switch input:checked + .slider::before {
            transform: translateX(15px);
        }

    .ios-switch .slider::before {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.form-main {
    width: 100%;
    height: 100%;
}

.app-logo {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 26px;
}

    .app-logo > .obj {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }

    .app-logo > .brand {
        position: absolute;
        height: 44px;
        width: 44px;
        top: 8px;
        left: 8px;
        object-fit: contain;
        padding: 5px;
        border-radius: 80px;
        background: var(--background);
    }

.data-block {
    position: absolute;
    margin-top: -80px;
    width: 100%;
    height: calc(100% - 170px);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
}

.lang-content {
    background: var(--background);
    height: 100%;
    width: 100%;
    padding: 16px 30px;
    display: inline-block;
}

    .lang-content > .caption {
        font-size: 16px;
    }

    .lang-content > .lang-row {
        display: flex;
        gap: 14px;
    }

        .lang-content > .lang-row > div {
            flex: 1;
            border: 0.5px solid var(--border);
            background: var(--background-secondary);
            color: var(--text-secondary);
            border-radius: 16px;
            height: 38px;
            display: flex;
            align-items: center;
            padding: 5px;
            gap: 11px;
            transition: all 0.5s ease;
        }

            .lang-content > .lang-row > div.active {
                border: 0.5px solid var(--text-primary);
                color: var(--text-primary);
                transition: all 0.3s ease;
            }

    .lang-content > .input-name {
        border: 0.5px solid var(--border);
        border-radius: 16px;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0 10px;
    }

        .lang-content > .input-name > div {
            display: flex;
            align-items: center;
            color: var(--text-secondary);
            gap: 7px;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 7px;
        }

        .lang-content > .input-name > input {
            height: 100%;
            width: 100%;
            font-weight: 500;
            padding-right: 160px;
            color: var(--text-primary);
        }

    .lang-content > .input-phone {
        border: 0.5px solid var(--border);
        border-radius: 16px;
        height: 40px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 10px;
    }

        .lang-content > .input-phone.not-req,
        .lang-content > .input-phone.not-req > input {
            color: var(--text-secondary);
        }

        .lang-content > .input-phone > input {
            height: 100%;
            font-weight: 500;
            color: var(--text-primary);
        }

.rate-comp {
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:#00000000;
}
.rate-comp-center > .rate-emp {
    height: 170px;
    background: #00000000;
}
    .rate-comp > .rate-comp-center {
        width: 100%;
        height: 100%;
        background: #00000000;
    }

.rate-comp > .btn-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    background:white;
    width: 100%;
    padding: 16px 32px;
}

.rate-content {
    background: var(--background);
    width: 100%;
    padding: 16px 0px 96px 0px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    
}

    .rate-content > .caption {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        height: 20px;
    }

    .rate-content > .rate-body {
        margin: 10px 0;
        padding: 0 30px;
        max-height: calc(100% - 16px - 64px - 20px);
    }

.rate-body > .star-content {
    border: 0.5px solid var(--border);
    border-radius: 18px;
    display: flex;
    justify-content: space-evenly;
    padding: 16px;
    gap: 8px;
    background: var(--background-secondary);
}

.star-content > div {
    max-width: 48px;
    width: 17%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 48px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .star-content > div.active {
        background: var(--primary-clr);
    }

.rate-body > .rating-categories {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    white-space: nowrap;
}

    .rate-body > .rating-categories > div {
        flex-shrink: 0;
        border: 0.5px solid var(--border);
        background: var(--background-secondary);
        height: 37px;
        border-radius: 16px;
        color: var(--text-secondary);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 16px;
        transition: all 0.5s ease;
        transform: scale(1);
    }

    .rate-body > .rating-categories > .active {
        border: 0.5px solid var(--text-primary);
        color: var(--text-primary);
        transition: all 0.5s ease;
    }

.rate-body > .comment {
    border: 0.5px solid var(--border);
    height: 90px;
    border-radius: 16px;
    padding: 8px 12px;
    position: relative;
}

.rate-body > .photo-content {
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 6px 12px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10%;
    min-height: 90px;
}

    .rate-body > .photo-content > .paperclip {
        position: absolute;
        bottom: 5px;
        right: 5px;
    }

        .rate-body > .photo-content > .paperclip > input {
            width: 15px;
            height: 15px;
        }

        .rate-body > .photo-content > .paperclip > label {
            margin: 0px;
        }


.photo-content > .photo-item {
    width: 40%;
    margin-top: 18px;
    background: #D9D9D9;
    border-radius: 5px;
    position: relative;
    flex-shrink: 0;
}

    .photo-content > .photo-item > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .photo-content > .photo-item > .remove {
        top: 0px;
        right: 0px;
        margin: -12px -12px 0 0;
        position: absolute;
        width: 24px;
        height: 24px;
    }

        .photo-content > .photo-item > .remove > img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

.rate-content > .btn-send {
    margin: 0 30px;
}

.voice-content {
    border: 0.5px solid var(--border);
    background: var(--background-secondary);
    height: 40px;
    display: flex;
    justify-items: center;
    border-radius: 16px;
    justify-content: space-between;
}

    .voice-content .placeholder {
        color: var(--text-secondary);
        font-weight: 500;
        display: flex;
        align-items: center;
        margin-left: 8px;
    }

    .voice-content > .action,
    .voice-content > .audio-action {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .voice-content .action.active {
        background: var(--primary-clr);
        margin-right: -4px;
    }

    .voice-content > .recording,
    .voice-content > .listening {
        display: flex;
        align-items: center;
        justify-content: start;
        flex: 1;
        position: relative;
    }

.listening > .duration {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 16px;
}

.listening > .time {
    font-weight: 500;
    width: 40px;
    flex-shrink: 0;
}

.duration > .total {
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #D9D9D9;
    border-radius: 10px;
    margin: auto 0;
}

.duration > .current {
    height: 4px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--primary-clr);
    border-radius: 10px;
    margin: auto 0;
    width: 0%;
}

.duration > .vr-current-point {
    height: 18px;
    width: 18px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--primary-clr);
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0px 0px 10px 0px #0000001A;
    margin-bottom: auto;
    margin-top: auto;
}

.success-content {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #0000004D;
    backdrop-filter: blur(4px);
}

    .success-content > .sc-card {
        background: #FFFFFF;
        border-radius: 16px;
        padding: 17px;
        margin: 180px 28px;
        text-align: center;
    }

.success-content.center {
    display:flex;
    align-items:center;
    justify-content:center;
}

.success-content > .sc-card > .sc-caption {
    font-size: 16px;
}

        .success-content > .sc-card > .title {
            margin-top: 34px;
        }

        .success-content > .sc-card > .btn-send {
            margin-top: 60px;
        }

.btn-send {
    height: 64px;
    color: white;
    background: var(--primary-clr);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

    .btn-send.inactive {
        background: var(--background-secondary);
        color: var(--text-secondary);
        cursor: not-allowed;
    }


.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 3px;
    background: radial-gradient(farthest-side,var(--primary-clr) 95%,#0000) 50% 0/12px 12px no-repeat, radial-gradient(farthest-side,#0000 calc(100% - 5px),var(--primary-clr) calc(100% - 4px)) content-box;
    animation: l6 2s infinite;
}

@keyframes l6 {
    to {
        transform: rotate(1turn)
    }
}


:root {
    --background: #FFFFFF;
    --background-secondary: #FBFBFB;
    --border: #D8D9D8;
    --primary-clr: #C72029;
    --secondary-clr: #D3DAE1;
    --light-primary: #E8F0FF;
    --text-primary: #2D2D2D;
    --text-secondary: #D8D9D8;
    --badge-online: #12E970;
    --cancel: #FF6262;
}

.custom-file-input {
    display:none;
}
.w-100 {
    width: 100%;
}

.h-100 {
    height:100%;
}

.mt-0 {
    margin-top:0px;
}
.mt-1 {
    margin-top: 4px;
}
.mt-2 {
    margin-top: 8px;
}
.mt-3{
    margin-top: 16px;
}
.mt-4 {
    margin-top: 24px;
}
.mt-5 {
    margin-top: 48px;
}
.mt-auto {
    margin-top: auto;
}

@media screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
    input, textarea, select {
        font-size: 16px !important;
    }
}