body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    /* Prevent overscroll bounce on mobile to feel like an app */
    overscroll-behavior-y: none; 
}

.mobile-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Colors - Blue Theme (ISP Admin inspired) */
:root {
    --primary-color: #0d6efd; /* Bootstrap primary blue */
    --primary-light: #3b8cfc;
    --primary-bg: #e6f0ff;
    --text-dark: #333;
    --text-muted: #757575;
    --bg-light: #f5f5f5;
}

/* Header / App Bar */
.app-header {
    background: linear-gradient(135deg, #0b5ed7, #0d6efd);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Main Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    padding-bottom: 80px; /* Space for bottom nav */
}

/* Login Page Specifics */
.login-header {
    background: linear-gradient(135deg, #0b5ed7, #0d6efd);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-bottom: 30px;
}

.login-header img {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 15px;
    object-fit: contain;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 10px;
    font-weight: bold;
    width: 100%;
}
.btn-primary-custom:hover {
    background-color: #0b5ed7;
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-item {
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    flex: 1;
}

.nav-item i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.nav-item.active {
    color: var(--primary-color);
}
.nav-item.active i {
    font-weight: bold;
}

/* Utilities */
.card-custom {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}
.bg-primary-light {
    background-color: var(--primary-bg) !important;
}
