.modal {
    display: none;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    max-width: 991px;
    margin: 0 auto;
}

.modal.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.modal.hide {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-25%);
    }
}

.modal__close-btn {
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.feedback-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #292828;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10000;
    width: 95%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out;
}

.feedback-message.show {
    opacity: 1;
    visibility: visible;
}

.feedback-message.hide {
    opacity: 0;
    transition: opacity 3s ease-in-out;
    /* Длительность исчезновения */
}

#description-modal .modal__header {
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
    gap: 16px;
    align-items: center;
    padding: 20px 15px 15px 15px;
    background: #fff;
    border-bottom: 1px solid #d0d0d0;
}

#description-modal .modal__header i {
    font-size: 24px;
    color: var(--c-gray1);
}

#description-modal .modal__header img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

#description-modal .modal__section-title.after-header {
    padding-top: 20px;
}

#description-modal .modal__header-description {
    display: flex;
    flex-direction: column;
}

#description-modal .modal__title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    color: var(--black_text) !important;
    padding: 0;
}

#description-modal h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--black_text) !important;
    margin: 0 0 10px 0;
    padding: 0 15px;
}

#description-modal .modal__header-description span {
    color: var(--c-gray2);
}

#description-modal .modal__divider {
    border: none;
    height: 1px;
    background-color: #d0d0d0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#description-modal .modal__content {
    color: var(--c-gray2);
    font-size: 1rem;
    padding: 0 15px;
}

#description-modal .modal__text-highlight {
    color: var(--black_text) !important;
}

#description-modal .app-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 0 15px;
}

#description-modal .app-details__info {
    display: flex;
    flex-direction: column;
}

#description-modal .app-details__age-icon {
    font-weight: 600;
    border: 2px solid black;
    height: fit-content;
    padding: 0 1px;
    color: black;
}

#description-modal .app-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
}

#description-modal .app-info__item {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#description-modal .app-info__label {
    color: var(--c-gray2);
}

#description-modal .app-info__value {
    color: var(--black_text) !important;
}

#secure-modal {
    background: #e9eaee;
}

#secure-modal .modal__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px 25px 15px;
}

#secure-modal .modal__header i {
    font-size: 24px;
    color: var(--c-gray1);
}

#secure-modal .modal__header img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
}

#secure-modal .modal__header-description {
    display: flex;
    gap: 20px;
}

#secure-modal .modal__title {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0;
    color: var(--black_text) !important;
}

#secure-modal .modal__header-description div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#secure-modal .modal__disclaimer {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    margin-top: 10px;
}

#secure-modal .modal__content {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 30px 15px;
    background: #fff;
}

#secure-modal .modal__text-highlight {
    color: var(--black_text) !important;
    font-size: 1.75rem;
    line-height: 1.25;
}

#secure-modal .modal__divider {
    border: none;
    height: 1px;
    background-color: #d0d0d0;
    width: 100%;
    margin: 30px 0;
}

#secure-modal .modal__content-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#secure-modal .content-section__icon {
    color: #616161;
    width: fit-content;
    padding: 12px;
    background: rgb(232, 234, 237);
    border-radius: 50%;
    font-size: 1.875rem;
}

#secure-modal .content-section__details {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

#secure-modal .content-section__details-icon {
    color: #737373;
    height: fit-content;
}

#secure-modal .content-section__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#secure-modal .content-section__title {
    color: var(--black_text) !important;
    font-size: 1.25rem;
    line-height: 1.25;
}

#secure-modal .modal__footer {
    display: flex;
    gap: 10px;
}

#reviews-modal {
    padding: 0 15px;
}

#reviews-modal .modal__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    z-index: 10000;
}

#reviews-modal .modal__header-content {
    width: 100%;
    display: flex;
    position: sticky;
    gap: 16px;
    align-items: center;
    padding: 20px 0 5px 0;
}

#reviews-modal .modal__divider--header {
    border: none;
    height: 1px;
    background-color: #d0d0d0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

#reviews-modal .modal__header i {
    font-size: 24px;
    color: var(--c-gray1);
}

#reviews-modal .modal__logo {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border-radius: 5px;
}

#reviews-modal .modal__header-description {
    display: flex;
    flex-direction: column;
}

#reviews-modal .modal__title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    color: var(--black_text) !important;
}

#reviews-modal .modal__header-filter {
    display: flex;
    gap: 7px;
    overflow: auto;
    scrollbar-width: none;
}

#reviews-modal .modal__header-filter::-webkit-scrollbar {
    width: 0;
    display: none;
}

#reviews-modal .modal__filter-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.1rem;
}

#reviews-modal .modal__filter-item.active {
    border: 0;
    background: #c4e7fb;
}

#reviews-modal .modal__filter-item .modal__filter-checkmark {
    display: none;
}

#reviews-modal .modal__filter-item.active .modal__filter-checkmark {
    display: block;
}

#reviews-modal .modal__filter-item div {
    display: flex;
    gap: 2px;
    align-items: center;
    line-height: 1;
}

#reviews-modal .modal__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    z-index: 10000;
    position: sticky;
    top: 0;
}

#other-modal .modal__header {
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
    gap: 16px;
    align-items: center;
    padding: 20px 15px 15px 15px;
    background: #fff;
    z-index: 10;
}

#other-modal .modal__header-content {
    width: 100%;
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 1.5rem;
    color: #000;
    line-height: 100%;
}

#other-modal .modal__header-content h2 {
    margin: 0;
}

#other-modal .modal__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 15px 15px 30px;
}

#other-modal .other__app-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#other-modal .other__app-gallery {
    display: flex;
    gap: 10px;
    overflow: auto;
    width: calc(100vw - 15px);
    scrollbar-width: none;
}

#other-modal .other__app-gallery::-webkit-scrollbar {
    width: 0;
    display: none;
}

#other-modal .other__app-gallery img {
    width: 85%;
    flex-shrink: 0;
    border-radius: 15px;
}

#other-modal .other__app-info {
    display: flex;
    gap: 15px;
}

#other-modal .other__app-avatar {
    border-radius: 10px;
    width: 50px;
    height: 50px;
}

#other-modal .other__app-desc {
    display: flex;
    flex-direction: column;
    line-height: 100%;
    gap: 3px;
}

#other-modal .other__app-desc h3 {
    color: #000;
    margin: 0;
}

#other-modal .other__app-desc span {
    font-size: 0.875rem;
}

#other-modal .other__app-desc div {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

#install-modal {
    max-width: calc(100% - 50px);
    max-height: 400px;
    height: fit-content;
    padding: 1rem;
    margin: auto;
    font-size: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
    border-radius: 8px;
}

#install-modal div {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    font-size: 2rem;
}
.review-dots svg {
    display: block;
    fill: currentColor;
}
