/* Doctor Twin - Mobile Container */
/* Centers the app at mobile size when viewed on desktop */

:root {
    --mobile-width: 390px;
    --mobile-height: 844px;
}

/* Desktop: center app at mobile size */
@media (min-width: 500px) {
    html {
        background: #F1F5F9;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 20px;
        box-sizing: border-box;
    }

    body {
        width: var(--mobile-width);
        min-height: var(--mobile-height);
        max-height: var(--mobile-height);
        margin: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        background: var(--color-background);
    }

    /* Override fixed positioning to sticky */
    .header {
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .bottom-nav {
        position: sticky;
        bottom: 0;
        flex-shrink: 0;
        margin-top: auto;
    }

    /* Main content scrolls and fills space */
    .page {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 0;
        background: var(--color-background);
    }
}