/*
Theme Name: Amader Noakhali Pro Edition
Author: Akbar Hossain
Description: Full Mobile App Layout with ACF Link Support.
Version: 8.5
*/

body { margin: 0; background: #f0f2f5; display: flex; justify-content: center; font-family: 'SolaimanLipi', Arial, sans-serif; }
.app-shell { width: 100%; max-width: 450px; background: #fff; min-height: 100vh; position: relative; padding-bottom: 80px; box-shadow: 0 0 20px rgba(0,0,0,0.1); }

.app-navbar { display: flex; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 100; align-items: center; }
.app-brand { color: #00897b; font-size: 20px; font-weight: bold; }
.app-brand span { color: #d32f2f; }

.grid-header { text-align: center; font-weight: bold; margin: 15px 0 5px; font-size: 16px; color: #333; }
.grid-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 15px; background: #fff; }
.grid-box { text-align: center; text-decoration: none; background: #fff; border-radius: 12px; padding: 12px 5px; border: 1px solid #f1f1f1; box-shadow: 0 2px 6px rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: center; }
.grid-box img { width: 35px !important; height: 35px !important; margin-bottom: 8px; object-fit: contain; }
.grid-box p { margin: 0; font-size: 11px; color: #333; font-weight: 500; line-height: 1.2; }

.app-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; display: none; justify-content: center; align-items: center; }
.app-popup-card { width: 85%; max-width: 380px; background: #fff; border-radius: 20px; overflow: hidden; position: relative; border: 4px solid #00897b; }
.close-btn { position: absolute; top: 10px; right: 10px; background: #d32f2f; color: #fff; width: 25px; height: 25px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; }

.app-footer-nav { position: fixed !important; bottom: 0 !important; left: 50% !important; transform: translateX(-50%) !important; width: 100% !important; max-width: 450px !important; display: flex !important; background: #ffffff !important; border-top: 1px solid #eee !important; padding: 8px 0 !important; justify-content: space-around !important; z-index: 99999 !important; height: 65px !important; box-shadow: 0 -2px 10px rgba(0,0,0,0.05) !important; }
.nav-item { text-decoration: none !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; flex: 1 !important; }
.nav-item img { width: 22px !important; height: 22px !important; margin-bottom: 3px !important; filter: grayscale(1) opacity(0.5); }
.nav-item span { font-size: 11px !important; color: #888 !important; }
.nav-item.active img { filter: none !important; opacity: 1 !important; }
.nav-item.active span { color: #00897b !important; font-weight: bold !important; }