body.force-mobile-active {
    background: url('/assets/img/hearts_bg.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
}

/* PC Specific Centering */
@media (min-width: 769px) {
    body.force-mobile-active {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.mobile-container-wrapper {
    width: 100%;
    max-width: 90%; /* Phóng to giao diện để co dãn trên PC */
    background: url('/assets/img/dating_bg.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin: 0 auto;
    border: none;
    z-index: 1;
}

/* Desktop PC specific cleanup for the stretched wrapper */
@media (min-width: 769px) {
    body.force-mobile-active .mobile-container-wrapper {
        background: #fff5fa !important;
        background-image: none !important;
    }
    body.force-mobile-active .main {
        background: #fff5fa !important;
    }
}

/* Ensure content starts at top */
.mobile-container-wrapper > * {
    margin-top: 0 !important;
}

/* Pseudo element removed for cleaner PC view */

body.force-mobile-active .header, 
body.force-mobile-active header,
body.force-mobile-active .bottom-tabbar,
body.force-mobile-active .input-area {
    position: fixed !important;
    width: 100% !important;
    max-width: 90% !important; /* Synchronized with container width */
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10000;
}

body.force-mobile-active .bottom-tabbar {
    bottom: 0 !important;
}

body.force-mobile-active .input-area {
    bottom: 65px !important; /* Above tabbar */
}

body.force-mobile-active header {
    top: 0 !important;
}

/* Sidebar must be completely hidden if forced mobile i active */
body.force-mobile-active .sidebar,
body.force-mobile-active .menu-btn,
body.force-mobile-active .overlay {
    display: none !important;
}

/* Adjust inner content for non-sidebar layout */
body.force-mobile-active, 
body.force-mobile-active .mobile-container-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.force-mobile-active .main,
body.force-mobile-active .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Real mobile responsive reset - Hard Reset to fix shift */
@media (max-width: 768px) {
    body.force-mobile-active {
        background: transparent !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
    .mobile-container-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        background: transparent !important;
        min-height: 100vh !important;
        display: block !important;
        position: relative !important;
    }
    body.force-mobile-active .header, 
    body.force-mobile-active header,
    body.force-mobile-active footer,
    body.force-mobile-active .tabbar,
    body.force-mobile-active .bottom-tabbar,
    body.force-mobile-active .video-modal {
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
    }
    .mobile-container-wrapper::before {
        display: none !important;
    }
}
