.footer-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.input-svg {
    height: 16px;
    width: 16px;
}

.search-svg {
    height: 24px;
    width: 24px;

    margin-left: 16px;
}

.carousel-wrapper {
    position: relative !important;
    overflow: visible !important;
    padding-top: 20px !important;
    margin-top: -20px !important;
}

.carousel {
    display: flex !important;
    gap: 6px !important; /* Расстояние между карточками */
    overflow: visible !important;
}

.premium-animation{
    width: 145px;
    height: 145px;
}

.search-animation {
    width: 193.3px;
    height: 193.3px;
}

.ref-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}


.history-box {
    margin-bottom: 20px;
    min-height: 146px;
}

.terms-container {
    width: 100%;
    max-height: 400px;
    margin-top: 16px;

    background-color: var(--input-background-color);
    border-radius: 16px;
    border: 1.51px solid rgba(173, 173, 173, 0.12);
    overflow-x: auto;

    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.duck-wait-pay-animation {
    width: 237px;
    height: 237px;
}

#star-successfully {
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.mini-star-back {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(77, 77, 79, 0.7);
    backdrop-filter: blur(99px);
    -webkit-backdrop-filter: blur(99px);
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 4px;
    margin-left: 16px;
}

.history-item {
    border-bottom: 1px solid #272727 !important;
}

.history-item:last-child {
    border-bottom: none !important;
}

.level-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.backdrop.show {
    opacity: 1;
    pointer-events: all;
}

body.modal-open {
    overflow: hidden !important;
}

.level-system-plus {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swipe-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px !important;
    background: transparent;
    z-index: 1000;
    cursor: grab;
    touch-action: pan-y;
}

.swipe-handle:active {
    cursor: grabbing;
}
