/* Feed Layout */
.feed {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.swiper-container {
    display: flex;
    justify-content: center;
    height: 100%;
    /*width: 100%;*/
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Styling */
video, img.video {
    width: 50.32vh; /* rough value before the actual calculation*/
    height: 100%;
    border-radius: 15px;
    object-fit: cover; /* Ensures the video covers the container */
    background-color: black;
}

video::before {
    content: "";
    display: block;
    /*width: 100%;*/
    height: 100%;
    border-radius: 15px;
    background-size: cover; /* Ensures the poster image covers the area */
    background-position: center; /* Centers the poster image */
}

/* Video Container */
.video-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}


.video-description {
    color: white;
    width: 100%;
    font-size: 14px;
    display: flex;
    justify-content: start;
    align-items: flex-end;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.video-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 8px;
    background-image: linear-gradient(0deg,rgba(0,0,0,.4),transparent);
    border-radius: 15px;
}

/* Book Now Button */
.cta-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
    background-color: #FF690F;
    color: white;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    height: 36px;
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.cta-btn:hover {
    transform: scale(1.02);
}

.cta-btn .right-arrow {
    display: inline-block;
    transform: translateX(0);
    transition: transform 1s ease;
}

.cta-btn:hover .right-arrow {
    animation: move-arrow 1s linear infinite;
}

@keyframes move-arrow {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

.cta-btn svg {
    margin-right: 8px; /* Space between icon and text */
}

.cta-group {
    display: flex;
    align-items: center;
}

.cta-group img {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

.button-container {
    position: absolute;
    top: 0;
    z-index: 8;
    width: 100%;

    display: none;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 12px 0;
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent);
    border-radius: 12px;
}

.video-container:hover .button-container {
    display: flex;
}

.image-container {
    height: 40px;
    width: 40px;
    background: rgba(0, 0, 0, 0.10);
    border-radius: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-container, .right-container {
    width: 40px;
    cursor: pointer;
}

.right-container {
    display: flex;
    justify-content: end;
    cursor: pointer;
}

.image-container:has(.back) {
    background: none;
    display: none;
}

.image-container:has(.search) {
    display: none;
}

.image-container:has(.play) {
    display: none;
}

.image-container:has(.pause) {
    display: flex;
}

.image-container img.play {
    height: 24px;
    width: 24px;
}

.image-container img.pause {
    height: 24px;
    width: 24px;
}

.image-container img.unmute {
    height: 24px;
    width: 24px;
}

.image-container img.mute {
    height: 24px;
    width: 24px;
}

.image-container:has(.unmute) {
    display: flex;
}

.image-container:has(.mute) {
    display: none;
}

.mobile-button-container {
    display: none;
}

/* Interactions Container */
.interactions-container {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
    width: 64px;
    gap: 12px;
}

.slide-navigation {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 90px;
    height: calc(100vh - 80px);
}
.scroll-icon{
    height: 48px;
    width: 48px;
    border-radius: 24px;
}

.scroll-icon:hover{
    background: rgba(0, 0, 0, 0.05);
}

.interactions-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.interactions-box span {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.10);
    cursor: pointer;
}

.icon-box .black {
    display: block;
}

.icon-box .black.liked {
    display: none;
}

.icon-box .white {
    display: none;
}

.icon-box .white.liked {
    display: none;
}

.more-options-box {
    position: absolute;
    top: -62px;   /* Moves the div above the icon */
    left: 50%;    /* Centers the div horizontally */
    transform: translateX(-16%);

    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.05);
    width: 165px;
}

@media (max-width: 1130px) {
    .more-options-box {
        left: -90px;
    }
}

.more-options {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 17px;
    width: 100%;
    cursor: pointer;
}

.more-options span {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.options-divider {
    display: none;
}

.more-options.head {
    display: none;
}

.feed-nav {
    display: block;
}

.feed-nav-mob {
    display: none;
}

.feed-header {
    display: flex;
}

.feed-slide-navigation {
    display: flex;
}

.feeds-mob {
    padding: 12px 24px;
}

.share-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2;
}

.share-box {
    position: absolute;
    top: calc(50vh - 129px);
    left: calc(50vw - 250px);
    width: 500px;
    height: 258px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.share-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;

    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.share-apps {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 467px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.social-box {
    width: 89px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    text-align: center;
}

.social-box span {
    color: #000;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    opacity: 0.6;
}

.social-icon {
    height: 56px;
    width: 56px;
}

@keyframes move-left-arrow {
    0% {
        left: calc(100% - 48px);
    }
    100% {
        left: 12px;
    }
}

@keyframes move-right-arrow {
    0% {
        left: 12px;
    }
    100% {
        left: calc(100% - 48px);
    }
}

.social-scroll {
    position: absolute;
    top: 86px;
}

.social-scroll.left {
    left: 12px;
}

.social-scroll.left.animate {
    animation: move-left-arrow 150ms linear;
}

.social-scroll.right {
    right: 12px;
}

.social-scroll.right.animate {
    animation: move-right-arrow 150ms linear;
}

.social-scroll img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 46px;
    border: 1px solid rgba(182, 182, 182, 0.10);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%), rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    padding: 7px;
}

.share-divider {
    display: block;
    height: 1px;
    background-color: #ddd;
    width: 100%;
}

.share-control {
    padding: 16px 4px 16px 16px;
    border-radius: 8px;
    background: rgba(190, 190, 190, 0.10);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    height: 56px;
    width: 94%;
    margin-top: 16px;
    margin-left: 16px;
    margin-right: 16px;
}

.copy-text {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 13px;
}

.copy-text img {
    height: 24px;
    width: 24px;
}

.copy-text span {
    height: 24px;
    width: 162px;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    opacity: 0.6;
    overflow: hidden;
    white-space: nowrap;    /* Prevent text from wrapping to the next line */
    text-overflow: ellipsis; /* Add the ellipsis (...) */
}

.share-button {
    width: 80px;
    height: 48px;
    border-radius: 8px;
    /*background: #A18A6B;*/
    /*border: #A18A6B;*/
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    cursor: pointer;
}

.report-thanks-modal {
    position: absolute;
    top: 0;

    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2;
}

.report-thanks-box {
    position: absolute;
    top: calc(50vh - 138px);
    left: calc(50vw - 188px);
    width: 375px;
    height: 275px;
    padding: 24px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.report-details-box  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.report-details-box img {
    width: 64px;
    height: 64px;
}

.report-details-box .header {
    display: flex;
    height: 21px;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    color: #000;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-top: 4px;
}

.report-details-box .description {
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    align-self: stretch;
}

.report-done {
    display: flex;
    height: 40px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    /*background: #A18A6B;*/
    cursor: pointer;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
}

.powered {
    position: absolute;
    top: 0;
    left: calc(50% - 75px);
    z-index: 9;
    /*width: 100%;*/
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 12px 12px 0;
    align-items: center;
    cursor: pointer;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent);*/
    /*border-radius: 12px;*/
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
    .feed {
        flex-direction: column; /* Stack feed items vertically */
    }

    .swiper-container {
        width: 100%; /* Full-width container */
        /*height: auto; !* Adjust height for mobile *!*/
        height: 100%;
    }

    .swiper {
        /*height: 60vh; !* Reduce height for mobile view *!*/
    }

    video, img.video {
        width: 100vw; /* Ensure video is responsive */
        height: 100%; /* Maintain aspect ratio */
        border-radius: 0;
    }

    .video-description {
        width: calc(100% - 80px);
    }

    .cta-btn {
        bottom: 30px; /* Adjust button position */
        font-size: 14px; /* Reduce font size for smaller screens */
        padding: 8px 16px; /* Adjust padding */
        width: calc(100% - 80px);
    }

    .image-container img.back {
        height: 24px;
        width: 24px;
    }

    .image-container img.search {
        height: 16px;
        width: 16px;
    }

    .image-container:has(.back) {
        display: flex;
    }

    .image-container:has(.search) {
        display: flex;
        border: 1px solid rgba(221, 221, 221, 0.50);
    }

    .image-container:has(.play) {
        display: none;
    }

    .image-container:has(.pause) {
        display: none;
    }

    .image-container:has(.unmute) {
        display: none;
    }

    .image-container:has(.mute) {
        display: none;
    }

    .mobile-button-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: calc(50% - 24px);
        left: calc(50% - 24px);
    }

    .mobile-image-container {
        width: 48px;
        height: 48px;
        background: rgba(0, 0, 0, 0.30);
        backdrop-filter: blur(4px);
        border-radius: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-image-container:has(.unmute) {
        display: none;
    }

    .mobile-image-container:has(.mute) {
        display: none;
    }

    .interactions-container {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 9;
        color: white;
        gap: 14px;
    }

    .interactions-box span {
        color: #FFFFFF;
        text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.41);
    }

    .icon-box .black {
        display: none;
    }

    .icon-box .black.liked {
        display: none;
    }

    .icon-box .white {
        display: block;
    }

    .icon-box .white.liked {
        display: none;
    }

    .slide-navigation {
        height: auto; /* Adjust height for mobile */
        margin-left: 0; /* Center align on smaller screens */
    }

    .feed-nav {
        display: none;
    }

    .feed-header {
        display: none;
    }

    .feed-slide-navigation {
        display: none;
    }

    .feeds-mob {
        padding: 0;
        height: 100vh;
    }

    .video-details {
        width: 100%;
        border-radius: 0;
        align-items: start;
    }

    .more-options-box {
        position: fixed;
        bottom: 0;
        left: 0;
        top: unset;
        transform: unset;
        width: 100vw;
        border-radius: 12px 12px 0 0;

        /* Animation properties */
        animation: slide-in 400ms ease-out;
    }

    .more-options.head {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .more-options span {
        color: #000;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        text-shadow: unset;
    }

    .options-divider {
        display: block;
        height: 1px;
        background-color: #ddd;
        width: 100%;
    }

    .share-box {
        top: unset;
        left: unset;
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;

        /* Animation properties */
        animation: slide-in 400ms ease-out;

        touch-action: none;  /* Prevents default touch scrolling behavior */
        user-select: none;   /* Prevents text selection */
        -webkit-user-drag: none; /* Prevents image dragging in some browsers */
    }

    .share-apps {
        width: 100%;
        touch-action: pan-x;  /* Prevents default touch scrolling behavior */
        user-select: none;   /* Prevents text selection */
        -webkit-user-drag: none; /* Prevents image dragging in some browsers */
    }

    .button-container {
        display: flex;
        border-radius: 0;
    }

    .report-thanks-box {
        top: unset;
        left: unset;
        bottom: 0;
        width: 100%;
        height: auto;
        border-radius: 12px 12px 0 0;

        /* Animation properties */
        animation: slide-in 400ms ease-out;

        touch-action: none;  /* Prevents default touch scrolling behavior */
        user-select: none;   /* Prevents text selection */
        -webkit-user-drag: none; /* Prevents image dragging in some browsers */
    }

    @keyframes slide-in {
        from {
            transform: translateY(100%); /* Start off-screen below */
            opacity: 1; /* Optional: Fade-in effect */
        }
        to {
            transform: translateY(0); /* Move to its original position */
            opacity: 1; /* Fully visible */
        }
    }

    .powered {
        background: unset;
        border-radius: unset;
    }
}

.bl-cta-frame {
    align-items: center;
    background-color: rgba(0, 0, 0, .4);
    display: flex;
    height: 100%;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease-in-out;
    width: 100%;
    z-index: 0;
    font-size: 12px;
    font-family: Inter, sans-serif;
    top: 0;

    .cta-model {
        height: 80%;
        width: 80%;
        border-radius: 16px;
        @media screen and (max-width: 768px) {
            height: 95%;
            width: 90%;
            display: flex;
            flex-direction: column-reverse;
            margin-top: -8px;
        }

        .cta-header-bar {
            display: flex;
            justify-content: space-between;
            width: 100%;
            height: 48px;
            padding: 8px;
            background: black;
            border-radius: 16px 16px 0 0;
            @media screen and (max-width: 768px) {
                border-radius: 0 0 16px 16px;
            }

            .cta-back {
                background-color: rgba(255, 255, 255, 0.1);
                border: none;
                border-radius: 8px;
                color: white;
                padding: 8px;
                cursor: pointer;
                margin-left: 8px;
                font-size: 12px;
                font-family: Inter, sans-serif;
            }

            .cta-open {
                align-items: center;
                background: black;
                border: solid 1px white;
                border-radius: 8px;
                color: white;
                display: flex;
                gap: 8px;
                padding: 8px;
                cursor: pointer;
                margin-right: 8px;
                font-size: 12px;
                font-family: Inter, sans-serif;
            }

            .cta-preview {
                font-size: 12px;
                font-family: Inter, sans-serif;
                color: rgba(255, 255, 255, .6);
                align-self: center;
            }
        }

        iframe {
            position: relative;
            width: 100%;
            height: calc(100% - (40px + 16px));
            border-radius: 0 0 16px 16px;
            overflow: hidden;
            background: black;
            @media screen and (max-width: 768px) {
                border-radius: 16px 16px 0 0;
            }
        }
    }
}
