/* --- GLOBAL STYLING --- */
* { box-sizing: border-box; }

body { 
    margin: 0; 
    padding: 0; 
    background-color: #f4f7f6; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

/* --- LOGIN PAGE (Centered, No Padding) --- */
body.login-page { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
}

/* --- DASHBOARD PAGES (Fixed Header/Footer) --- */
body.dashboard-page { 
    padding-top: 80px;    /* Space for Fixed Header */
    padding-bottom: 90px; /* Space for Fixed Footer */
}

/* --- HEADER --- */
.header-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: #ffffff; display: flex; justify-content: space-between; 
    align-items: center; padding: 0 15px; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- FOOTER NAVIGATION --- */
.bottom-nav { 
    position: fixed; bottom: 0; left: 0; width: 100%; height: 75px; 
    background: white; display: flex; justify-content: space-around; 
    align-items: center; border-top: 1px solid #eee; z-index: 1000;
}

.bottom-nav a { 
    flex: 1; display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #a0a0a0; font-size: 11px; 
}

.bottom-nav a.active { color: #0066FF; font-weight: bold; }
.bottom-nav a i { font-size: 20px; margin-bottom: 4px; }

/* --- CONTENT WRAPPER --- */
.main-wrapper {
    width: 100%; 
    max-width: 600px; 
    margin: 0 auto; 
    padding: 15px;
}

/* --- CARD COMPONENTS --- */
.card { 
    background: white; 
    padding: 15px; 
    border-radius: 12px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    margin-bottom: 15px; 
}

.input-group {
    display: flex; align-items: center; gap: 10px;
    background: #f8f9fa; border: 1px solid #ddd;
    padding: 10px 15px; border-radius: 8px; margin-bottom: 10px; width: 100%;
}

.btn-login {
    width: 100%; padding: 12px; background: #0066FF; color: white;
    border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
}
