.review-modal-item {
    /* padding-bottom: var(--padding-base); */
    display: flex;
    flex-direction: column;
    height: 100%;
    user-select: none;
    padding-bottom: calc(70px + var(--padding-base));
}

.review-modal-item#reviewEmojiItem,
.review-modal-item#reviewFioItem,
.review-modal-item#reviewEmployeeItem {
    /* margin-bottom: var(--section-margin); */
}

.gift-description {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: auto;
    font-size: 20px;
    padding: var(--padding-base);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.review-fio-items {
    position: relative;
    height: 100%;
    flex-direction: column;
}

.review-text-input {
    margin-top: 16px;
    padding: var(--padding-base);
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
    height: 300px;
    font-size: 24px;
    width: 100%;
}

.review-text-input:focus {
    outline: none;
    border: 1px solid var(--dark-blue);
}

.review-bottom-buttons {
    user-select: none;
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0;
    /* padding: 0 calc(var(--padding-base) * 2) var(--padding-base) 0; */
    /* padding: 0 var(--padding-base) var(--padding-base) var(--padding-base); */
    /* padding-bottom: var(--padding-lg); */
    width: 100%;
    gap: 5px;
}

.horizontal-buttons {
    display: flex;
    width: 100%;
    gap: 5px;
    position: absolute;
    bottom: 0;
    /* padding-bottom: var(--padding-base); */
}

.horizontal-buttons#reviewNewButtons {
    opacity: 0;
    transform: translateX(150%);
}

.review-back-button {
    width: 0px;
    /* flex: 1; */
    height: 70px;
    opacity: 0;

    -webkit-mask-image: var(--mask-url), linear-gradient(black, black);
    mask-image: var(--mask-url), linear-gradient(black, black);

    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;

    -webkit-mask-position: center, center;
    mask-position: center, center;

    -webkit-mask-size: 25%, 100%;
    mask-size: 25%, 100%;

    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-color: var(--dark-blue);
    transition: all 0.3s ease, opacity 0.3s ease;
    /* margin-top: var(--one-section-margin); */
}

.review-next-button {
    width: 120px;
    height: 70px;
    opacity: 1;

    -webkit-mask-image: var(--mask-url), linear-gradient(black, black);
    mask-image: var(--mask-url), linear-gradient(black, black);
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    -webkit-mask-position: center, center;
    mask-position: center, center;
    -webkit-mask-size: 25%, 100%;
    mask-size: 25%, 100%;
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    background-color: var(--green);
    transition: all 0.3s ease, opacity 0.3s ease;
}

.review-button {
    /* margin-top: var(--one-section-margin); */
    display: flex;
    /* flex: 3; */
    /* width: 100%; */
    height: 70px;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: var(--dark-blue);
    color: var(--white);
    transition: all 0.3s ease;
}

.review-button.pink {
    background-color: var(--pink);
}

.review-button span {
    z-index: 50;
    font-size: 12px;
    color: var(--white);
}

.horizontal-buttons .review-c {
    position: relative;
    overflow: hidden;
    transition:
        width 0.3s ease,
        background-color 0.4s ease,
        color 0.4s ease,
        opacity 0.4s ease,
        border-color 0.4s ease;
}

.horizontal-buttons .review-c span {
    z-index: 50;
    font-size: clamp(8px, 4vw, 12px);
    color: var(--white);
}

.horizontal-buttons .review-c::before {
    position: absolute;
    content: "";
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: var(--dark-blue);
    transform: skew(30deg);
    z-index: 1;

    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.horizontal-buttons .review-c.pink::before {
    background: var(--pink);
}

.review-button.inactive {
    background-color: var(--white);
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
    opacity: 0.4;
    pointer-events: none;
}

.review-button.inactive.pink {
    border: 1px solid var(--pink);
}

.review-button.inactive.pink span {
    color: var(--pink);
}

.review-button.inactive span {
    color: var(--dark-blue);
}

.review-button.inactive::before {
    transform: translateX(100%);
}

.review-images {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin: 0 calc(-1 * var(--padding-base));
    padding: var(--padding-sm) var(--padding-base) 0 var(--padding-base);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-images::-webkit-scrollbar {
    display: none;
}

.review-add-image {
    display: flex;
    width: 90px;
    height: 90px;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: var(--dark-blue);
    font-size: 36px;
}

.review-image {
    position: relative;
    display: flex;
    width: 90px;
    height: 90px;
    justify-content: center;
    text-align: center;
    align-items: center;
    /* overflow: hidden; */
}

.review-image .xmark {
    width: 20px;
    height: 20px;
    position: absolute;
    right: -5px;
    top: -5px;

}

.review-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: inherit;
}

.review-image,
.review-add-image {
    flex: 0 0 auto;
}

.emoji-slider#emojiReviewSlider {
    width: auto;
    min-height: 180px;
    margin: auto calc(-1 * var(--padding-base));
    /* margin-top: var(--section-margin); */
}

.review-employee-slider {
    position: relative;
    width: auto;
    min-height: 200px;
    margin: 0 calc(-1 * var(--padding-base));
    /* margin-top: var(--section-margin);
    margin-bottom: var(--padding-base); */
    height: 10svh;
    user-select: none;
    display: flex;
    align-items: center;
    border-radius: var(--border-radius-medium) 0 0 0;
}

.employee-slider {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 501;
}

.employee-slide {
    position: absolute;
    width: 170px;
    height: 200px;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: grab;
}

.employee-slide.for-gift {
    position: relative;
    /* margin-bottom: var(--padding-base); */
}

.review-employee-slide-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#reviewEmployeeGiftItem,
#reviewEmployeeGiftSelectItem {
    /* align-items: center; */
    flex-direction: column;
}

#reviewEmployeeGiftItem {
    align-items: center;
}

#reviewHelpGifts {
    flex-direction: column;
}

.employee-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.employee-slide-caption {
    margin-top: 8px;
    font-size: 18px;
    text-transform: capitalize;
    text-align: center;
    color: var(--dark-blue);
    opacity: 0.8;
    user-select: none;
}

.review-employee-name {
    font-size: clamp(12px, 4vw, 22px);
    /* font-size: 12px; */
    width: 100%;
    /* font-size: max(12px, max(2vw, 16px)); */
    text-align: center;
    color: var(--dark-blue);
    /* white-space: nowrap; */
    margin: var(--padding-sm) 0 var(--padding-xs);
    /* margin-bottom: var(--padding-xs); */
}

.review-employee-role-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.review-employee-role {
    position: relative;
    z-index: 2;
    width: fit-content;
    padding: var(--padding-base) var(--padding-xl);
    color: var(--white);
    font-size: 16px;
}

.review-employee-role span {
    position: relative;
    z-index: 2;
    letter-spacing: 5px;
}

#reviewFioInput {
    margin-bottom: var(--padding-base);
}

#reviewThanksItem {
    justify-content: center;
}

.review-thanks-image {
    /* margin-top: var(--padding-xl); */
    display: flex;
    justify-content: center;
    width: 100%;
    height: 120px;
    margin-bottom: 10%;
}

.review-thanks-image img {
    height: 100%;
}

.review-thanks-title {
    font-size: 14px;
    color: var(--dark-blue);
    text-align: center;
    width: 100%;
    margin-bottom: var(--padding-base);
    /* margin: var(--padding-xl) 0; */
}

.review-thanks-subtitle {
    font-size: 22px;
    color: var(--dark-blue);
    text-align: center;
    /* margin-top: var(--padding-xl); */
    /* margin-bottom: 150px; */
    margin-bottom: var(--padding-base);
    width: 100%;
}

.review-subtitle {
    font-size: 20px;
    color: var(--dark-blue);
    text-align: center;
    /* margin: var(--padding-xs) 0; */
    width: 100%;
}

.review-under-subtitle {
    font-size: 18px;
    color: var(--dark-blue);
    text-align: center;
    /* margin-top: var(--padding-base); */
    margin-bottom: var(--padding-sm);
    width: 100%;
}

.review-under-subtitle span {
    color: var(--orange) !important;
}

.review-under-more {
    font-size: 18px;
    color: var(--dark-blue);
    text-align: center;
    /* margin: var(--padding-base) 0; */
    width: 100%;
}

.review-under-more.margin-large {
    margin-top: var(--padding-base);
    margin-bottom: var(--padding-xl);
}

.review-input-subtitle {
    font-size: 20px;
    color: var(--dark-blue);
    text-align: left;
    /* margin: var(--padding-base) 0; */
    width: 100%;
}

.review-gifts {
    height: auto;
    display: flex;
    gap: var(--padding-sm);
    overflow-x: auto;
    margin: 0 calc(-1 * var(--padding-base));
    padding: 0 var(--padding-base);
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-gifts::-webkit-scrollbar {
    display: none;
}

.review-gift {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    width: 200px;
    height: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    /* Убирает синее выделение на мобильных */
}

.review-gift-image {
    width: 100%;
    height: 275px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.review-gift-image img {
    width: auto;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    object-fit: contain;
    border-radius: inherit;
}

/* Лейбл только для чекбокса */
.review-gift-check-label {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    /* Убирает синее выделение */
    user-select: none;
    /* Предотвращает выделение текста */
    -webkit-user-select: none;
    /* Для Safari */
    -moz-user-select: none;
    /* Для Firefox */
    -ms-user-select: none;
    /* Для IE/Edge */
}

.review-gift-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.review-gift-check {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    /* Убирает синее выделение */
}

.review-gift-check::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    transition: background-color 0.2s ease;
}

/* Состояние выбранного радио */
.review-gift-input:checked+.review-gift-check {
    background-color: var(--orange);
    border-color: var(--orange);
}

.review-gift-input:checked+.review-gift-check::after {
    background-color: var(--orange);
}

.review-gift-footer {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    /* Убирает синее выделение */
}

.review-gift-title {
    flex: 1;
    font-size: 16px;
    color: var(--white);
    user-select: none;
    /* Предотвращает выделение текста */
}

.review-gift-price {
    font-size: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--dark-blue);
    -webkit-tap-highlight-color: transparent;
    /* Убирает синее выделение */
}

.gift-price {
    display: flex;
    font-size: 18px;
    height: 50px;
    width: 100px;
    justify-content: center;
    align-items: center;
    color: var(--dark-blue);
}

.review-gift-slide-container {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    gap: var(--padding-xl);
}

.review-gift-slide {
    width: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.review-gift-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.review-gift-main-title {
    font-size: 14px;
    color: var(--dark-blue);
    text-align: center;
}

.review-help-title {
    font-size: 28px;
    color: var(--dark-blue);
}

.review-help-description {
    font-size: 20px;
    color: var(--dark-blue);
}

.review-help-gifts-image-container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.review-help-gifts-image {
    /* height: 100%; */
    width: 80%;
    object-fit: cover;
    display: block;
}

.review-bottom-margin {
    margin-bottom: calc(var(--padding-base) + 80px) !important;
}

.review-bottom-margin-lg {
    margin-bottom: 150px !important;
}

.review-top-margin {
    margin-top: var(--padding-base) !important;
}

.review-top-margin-lg {
    margin-top: calc(2 * var(--padding-base)) !important;
}