/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top-container {
    position: fixed;
    top: 80%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 24px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

/* Show container when scrolled */
.scroll-to-top-container.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top {
    position: absolute;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #eed1cc;
    border: 1px solid #ed6a59;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    padding: 0;
    overflow: hidden;
}

.scroll-to-top-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 27px;
}

.scroll-to-top-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.scroll-to-top-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #ed6a59;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Hover effect */
.scroll-to-top:hover {
    background-color: #ed6a59;
}

.scroll-to-top:hover .scroll-to-top-text {
    color: #ffffff;
}

/* Mobile: hide on smaller screens */
@media (max-width: 767px) {
    .scroll-to-top-container {
        /* display: none; */
    }
}
