:root {
    /* 60% - Dominant (Neutral Foundation) */
    --bg-main: #f8fafc;    /* The overall page background */
    --bg-card: #ffffff;    /* Card and section backgrounds */
    
    /* 30% - Secondary (Structural & Text) */
    --secondary: #1e293b;  /* Used for Headers, Sidebar, and Main Text */
    --nav-inactive: #64748b; /* Muted secondary for inactive items */
    
    /* 10% - Accent (Action & Life) */
    --accent: #ef4444;     /* The Red-Orange from your image for buttons/alerts */
    --primary: #2563eb;    /* Secondary action color (Blue) */
    --success: #16a34a;    /* Success states */
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--secondary); /* High contrast text using the 30% color */
    margin: 0;
    padding-bottom: 70px;
}

.app-header {
    background: var(--bg-card); /* 30% support */
    color: var(--secondary);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent); /* Thin 10% accent line */
}

.card {
    background: var(--bg-card);
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.btn-app {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent); /* 10% Accent makes buttons pop */
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin: 10px 0;
    border: none;
    width: 100%;
    transition: transform 0.2s, background 0.2s;
}

.btn-app:hover {
    background: #dc2626; /* Slightly darker red on hover */
    transform: translateY(-2px);
}

/* Bottom App Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--bg-card);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
}

.nav-item {
    text-align: center;
    color: var(--nav-inactive);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.nav-item.active { 
    color: var(--accent); /* Highlight active page with 10% color */
}