@import '../fonts/fontsIos.css';

:root {
    --star-color_my: #404040;
    --star-size: 16px;
    --star-color: #e3e3e3;
    --star-background: #f7840a;
}

#container {
    width: 72px;
    height: 72px;
}
body {
    font-family: "SF Pro Text", "SF Pro Icons", "Apple WebExp Icons Custom", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(255, 255, 255, .72);
    z-index: 100;
    animation-name: hideTop;
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


@keyframes hideTop {
    from {
        opacity: 1;
        visibility: visible;
        pointer-events: none;
    }
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}


.top-header.active {
    animation-name: showTop;
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes showTop {
    from {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    to {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}


.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: rgb(250, 250, 250);
    overflow:hidden;
}
.loader-img {
    position: absolute;
    inset: 0px;
    z-index: 9999;
    height: 120px;
    width: 120px;
    margin: auto;
}
.icon-main {
    width: 122px;
    height:121px;
    border-radius: 26px;
}
.icon-loading {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}
.main-button {
    text-transform: uppercase;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    background-color: #0077f5;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.0178571429em;
}
.active {
    animation: spin 1s linear infinite;
}
.isDisabled {
    background-color: gray;
    color: #202124;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
    text-decoration: none;
}
.circle__spinner {
    width: 70px;
    height: 72px;
}
.circle__spinner .path {
    stroke: #0077f5;
    stroke-linecap: round;
    animation: test 5s linear infinite;
}

.mask {
    max-height: 65px;
    mask: linear-gradient(0deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 18.0001px, rgb(0, 0, 0) 18.0001px), linear-gradient(270deg, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 32.8px, rgb(0, 0, 0) 68.8002px);
    transition: max-height 0.3s ease-out;
}
.mask-off {
    max-height: 1200px;
    transition: max-height 0.5s ease-out;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dasharray: 130, 150;
        stroke-dashoffset: 0;
    }
}
.secondary-title {
    font-weight: 700;
    font-size: 20px;
    font-family: 'SF', 'Helvetica', 'Helvetica Neue', sans-serif;
}

.arrow {
    width: 25px;
    cursor: pointer;
}

.cell {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cell:not(:first-child)::before {
    background-color: #e8eaed;
    content: '';
    display: block;
    height: 33px;
    left: -6px;
    position: absolute;
    top: calc(50% - 15px);
    width: 1px;
}

.text {
    fill: #202124;
    stop-color: #202124;
    align-items: center;
    color: #202124;
    display: flex;
    font-family: 'Open Sans', 'Roboto', 'Arial', sans-serif;
    font-size: 24px;
    font-weight: 500;
    justify-content: center;
    letter-spacing: 0.0178571429em;
    line-height: 1.25rem;
    white-space: nowrap;
}

.icons {
    width: 18px;
    height: 18px;
}

.small-icons {
    width: 10px;
    height: 10px;
}

.image-slide {
    position: relative;
    width: 275px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.number {
    font-family: Roboto, Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1rem;
    padding-right: 16px;
}

.progress {
    align-items: center;
    display: grid;
    gap:10px;
    grid-template-columns: -webkit-max-content auto;
    grid-template-columns: max-content auto;
}

.line {
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    fill: #5f6368;
    -webkit-tap-highlight-color: transparent;
    background-color: #e8eaed;
    border: 0;
    border-radius: 9999px;
    box-sizing: border-box;
    color: inherit;
    font: inherit;
    font-size: 100%;
    height: 3px;
    letter-spacing: 0.0142857143em;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    vertical-align: initial;
    visibility: visible;
    width: 100%;
}

.visually-hidden {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.progress-bar {
    background-color: #919191;
    border-radius: inherit;
    height: 100%;
}
.backdrop.backdrop--is-hidden {
    opacity: 0;
    pointer-events: none;
}
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100%;
    background-color: white;
    opacity: 1;
    overflow-y: scroll;
    transition: opacity 500ms ease-in-out, transform 250ms ease-in-out;
}

.backdrop.backdrop--is-hidden .modal {
    transform: translate(-50%, 100%) scale(1);
}
.shad {
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2)
}
.modal {
    position: absolute;
    top: 50%;
    overflow-y: auto;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
    background-color: white;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 500ms ease-in-out;
}
.modal__icon {
    width: 24px;
    height: 24px;
    color: #202124;
}
.modal-block {
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 13px;
    border-bottom: 1px solid #5f6368;
}
.modal-title {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Open Sans', 'Roboto', 'Arial', sans-serif;
}


body.body-lock{
    overflow: hidden;
    scroll-snap-type: none;
}
body ::-webkit-scrollbar {
    height: 0;
    width: 0;

}

::-webkit-scrollbar-thumb {
    background: none;
}

::-webkit-scrollbar-track {
    background-color: inherit;
}


.goBack.active {
    animation-name: removeBackButton;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}



@keyframes removeBackButton {
    from {
        opacity:1;
        visibility: visible;
        pointer-events: none;
    }
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    width: max-content
}

.stars::before {
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color_my) var(--percent)) !important;
    -webkit-background-clip: text !important;
    content: "★★★★★";
    letter-spacing: 0;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.rating__stars-box {
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box
}
