#appDescription {
    white-space: pre-line;
}

/* Fix mobile overlay horizontal scrolling */
@media (max-width: 768px) {
    #projectOverlay {
        overflow-x: hidden !important;
        padding: 0.25rem !important;
        align-items: flex-start !important;
        padding-top: 0.5rem !important;
    }
    
    #projectOverlay > div {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0.75rem !important;
        max-height: 95vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    #screenshotCarousel {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overflow-x: auto;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    #screenshotCarousel::-webkit-scrollbar {
        display: none;
    }
    
    /* Ensure app header fits on mobile */
    #projectOverlay .flex-col {
        align-items: center !important;
    }
    
    #projectOverlay .text-center {
        text-align: center !important;
    }
    
    #projectOverlay .justify-center {
        justify-content: center !important;
    }
    
    /* Make tech badges wrap better on mobile */
    #techStack {
        justify-content: center !important;
    }
    
    /* Prevent horizontal overflow in overlay content */
    #projectOverlay .min-w-0 {
        min-width: 0 !important;
    }
    
    #projectOverlay .w-full {
        width: 100% !important;
    }
    
    /* Fix any remaining overflow issues */
    #projectOverlay * {
        max-width: 100%;
        box-sizing: border-box;
    }
}