/* =====================================================================
   assets/responsive.css - KEEP MOBILE UI EVERYWHERE (PC included)
   Location: public_html/note.biswascompany.com/assets/responsive.css
   ---------------------------------------------------------------------
   Rule: The app must always look like a mobile app card (narrow width,
   centered, rounded corners) regardless of screen size. On real tablet
   and desktop screens we center it with a soft background instead of
   stretching it edge-to-edge. On phones (below 768px) nothing changes
   from the original fixed bottom-bar mobile layout.
   ===================================================================== */

.container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.topbar-row,
.topbar {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* IMPORTANT: bottom-nav stays a normal fixed full-width bar by default
   (matches the original mobile design). It only becomes a floating
   centered pill on real tablet/desktop screens (see media query below). */

/* On admin pages allow the same width as everything else */
body.page-admin .container,
body.page-admin .topbar-row,
body.page-admin .topbar {
    max-width: 480px;
}

/* From TABLET size upward only (768px+) — phones never hit this */
@media (min-width: 768px) {
    html, body {
        background: #e5e7eb;
    }
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
        bottom: 14px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
    body { padding-bottom: 110px; }
}

/* Hover feedback only on devices with a real mouse pointer */
@media (min-width: 1024px) and (hover: hover) {
    .task-card, .task-item, .task-row {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .task-card:hover, .task-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
}