html,
body {
    min-height: 100vh;
    min-width: 100vw;
    transition: opacity 0.5s ease-out;
}

/* For best practice, move CSS below to an external CSS file. */
@keyframes fadeinall {
    0% {
        opacity: 1;
    }

    97% {
        opacity: 0;
    }

    98% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        z-index: -1;
    }
}

#fadein {
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    background-color: #ffffff;
    z-index: 999;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation: fadeinall 1s normal both;
    animation: fadeinall 1s normal both;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;

    background-color: white;
    background-image: url('../images/play-store.webp');
    background-size: 8rem;
    background-position: center;
    background-repeat: no-repeat;
}

.fade-out {
    opacity: 0;
}

.fa-star {
    color: #e5e5e5;
}

.theme-text-color {
    color: #0d57d1;
}

.theme-bg-color {
    background-color: #0d57d1;
}

.five-stars-bar {
    width: 80%;
}

.four-stars-bar {
    width: 15%;
}

.three-stars-bar {
    width: 5%;
}

.two-stars-bar {
    width: 0%;
}

.one-stars-bar {
    width: 0%;
}

.text-base-content-light {
    color: #000000;
}

@media (prefers-color-scheme: dark) {
    html,
    body {
        background-color: #000000 !important;
    }

    .text-base-content-light {
        color: #ffffff !important;
    }

    #fadein {
        background-color: #000000 !important;
    }

    .line {
        background-color: #333333 !important;
    }

    .fa-star:not(.theme-text-color) {
        color: #333333 !important;
    }
}

#container {
    width: 72px;
    height: 72px;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: rgb(250, 250, 250);
}

.loader-img {
    position: absolute;
    inset: 0px;
    z-index: 9999;
    height: 120px;
    width: 120px;
    margin: auto;
}

.icon-main {
    width: 70px;
    height: 72px;
    border-radius: 16px;
}

.icon-loading {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}

.main-button {
    width: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    color: white;
    font-size: 14px;
    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: #0b57cf;
    stroke-linecap: round;
    animation: test 5s linear infinite;
}

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

    100% {
        stroke-dasharray: 130, 150;
        stroke-dashoffset: 0;
    }
}

.secondary-title {
    font-weight: 600;
    font-size: 17px;
}

.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: 24px;
    left: -6px;
    position: absolute;
    top: calc(50% - 15px);
    width: 1px;
}

.text {
    fill: #202124;
    stop-color: #202124;
    align-items: center;
    color: #202124;
    display: flex;
    font-size: 0.875rem;
    font-weight: 500;
    height: 20px;
    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: 94px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

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

.progress {
    align-items: center;
    display: grid;
    margin-bottom: 3px;
    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: 10px;
    letter-spacing: 0.0142857143em;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    vertical-align: initial;
    visibility: visible;
    width: 100%;
}

.progress-bar {
    border-radius: inherit;
    height: 100%;
    max-width: 100% !important;
}

.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);
}

.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;
}

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;
}

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

.stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    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;
}

.video-slide {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

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

    to {
        transform: rotate(360deg);
    }
}

.swiper-wrapper {
    height: auto !important;
}
