/* Shared by every patient app page (loaded before the page's own CSS).
   The app uses its original light design only (no dark mode).
   On a real phone the app fills the screen (no mock phone frame / fake status bar). */

@media (max-width: 500px) {
    html body {
        display: block;
        min-height: 100dvh;
        margin: 0;
        padding: 0;
    }
    html body .phone-frame {
        width: 100%;
        height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    html body .phone-frame .status-bar { display: none; }
}

/* "Install ClinicCare" banner (Home / Log in), shown by pwa.js when the phone can install the app */
.install-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e3f3f1;
    border: 1px solid #b9e0db;
    border-radius: 14px;
    padding: 10px 10px 10px 12px;
    margin: 12px 0 16px;
}
.install-banner[hidden] { display: none; }
.install-icon { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.install-text b { font-size: 13.5px; color: #0e7f77; }
.install-text span { font-size: 11.5px; color: #4b5b58; line-height: 1.35; }
.install-btn {
    flex: none;
    background: #129a90;
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 9px 14px;
    font: 700 12.5px Inter, sans-serif;
    cursor: pointer;
}
.install-btn[hidden] { display: none; }
.install-close {
    flex: none;
    background: none;
    border: 0;
    color: #6b7b78;
    font-size: 20px;
    line-height: 1;
    padding: 2px 4px;
    cursor: pointer;
}
