:root {
    --primary-red: #962828;
    --accent-yellow: #F4A942;
    --bg-cream: #FDF2E9;
    --text-dark: #2C1810;
    --text-light: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Offline Banner */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #333;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Update Available Banner */
.update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
}

h1 { /* Jigri style big headers */
    font-size: 2.5rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    color: #664d42;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Layout */
.app-container {
    max-width: 480px; /* Mobile first feel */
    margin: 0 auto;
    min-height: 100vh;
    background: white;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.header {
    background-color: var(--primary-red);
    color: var(--text-light);
    padding: 1.5rem;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.header h2 {
    font-size: 1.5rem;
    color: var(--accent-yellow);
}

.content {
    padding: 1.5rem;
}

/* Components */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.nav-item {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
}

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

/* Grid for Staff */
.staff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--bg-cream);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-red);
}
