* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f7fb;
    padding-bottom: 70px;
}

.main-content {
    padding: 20px 16px 80px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 10px 8px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1050;
}

.nav-item-bottom {
    text-align: center;
    font-size: 11px;
    color: #6c757d;
    text-decoration: none;
    transition: 0.2s;
    background: none;
    border: none;
    font-weight: 500;
}

.nav-item-bottom i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.nav-item-bottom.active {
    color: #1e3c72;
    font-weight: 700;
}

/* Cards */
.card-modern {
    background: white;
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Badges */
.badge-status {
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 600;
}

.badge-paid { background: #d1fae5; color: #065f46; }
.badge-due { background: #fee2e2; color: #991b1b; }
.badge-running { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #e0e7ff; color: #3730a3; }
.badge-paused { background: #fed7aa; color: #9b2c1d; }

/* Buttons */
.btn-sm-round {
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 13px;
}

/* Invoice */
.invoice-card {
    background: white;
    border-radius: 32px;
    padding: 28px;
    border: 1px solid #eef2f6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive tables */
.table-responsive-custom {
    overflow-x: auto;
}

/* Search filter */
.search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Touch friendly */
button, .btn, .nav-item-bottom {
    cursor: pointer;
    touch-action: manipulation;
}

@media (max-width: 576px) {
    h3 { font-size: 1.4rem; }
    .stat-card h4 { font-size: 1.6rem; }
}