/* =========================================
   STYLE.CSS (Gaya Dasar & Layout Utama)
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    padding-bottom: 70px;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: #f4f4f4;
    min-height: 100vh;
}

/* Header Profile Seller */
.seller-header {
    background: linear-gradient(180deg, #e8f5e9 0%, #ffffff 100%);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-avatar {
    width: 45px;
    height: 45px;
    background-color: #128C7E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.store-details .store-name {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.store-details .store-id {
    font-size: 12px;
    color: #888;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e53935;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: bold;
}

/* Stats Counter Section */
.stats-container {
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-bottom: 8px solid #f4f4f4;
}

/* Default: Kotak statistik bisa diklik (kursor tangan) */
.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer; /* Kursor tangan untuk yang bisa diklik */
}

/* Khusus untuk yang TIDAK BISA diklik (kursor panah biasa) */
.stat-item.static {
    cursor: default !important;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #128C7E; /* Hijau HalalGo */
}

.stat-label {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

/* Menu Grid Icons */
.menu-grid {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 15px 10px;
    border-bottom: 8px solid #f4f4f4;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 6px;
    color: white;
}

.menu-label {
    font-size: 10px;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

/* Bottom Nav Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #757575;
    font-size: 11px;
}

.nav-item.active {
    color: #128C7E;
    font-weight: bold;
}

.nav-item .nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}