:root {
    --bg-main: #f0f2f5;
    --nav-dark: #333;
    --border: #e0e0e0;
    --success: #27ae60;
    --outline-green: #2ecc71;
    --warning: #e67e22;
    --text-main: #333;
    --text-muted: #7f8c8d;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 14px;
}

.container-fluid { padding: 0 20px; width: 100%; }

/* Navigation */
.top-nav {
    background: var(--nav-dark);
    color: #ccc;
    height: 45px;
    display: flex;
    align-items: center;
}

.top-nav .container-fluid { display: flex; justify-content: space-between; }

.top-nav ul { display: flex; list-style: none; }

.top-nav ul li a {
    color: #ccc;
    text-decoration: none;
    padding: 0 15px;
    line-height: 45px;
    display: block;
    font-size: 13px;
}

.top-nav ul li.active { background: #444; color: #fff; }

.top-icons span { margin-left: 15px; cursor: pointer; }

/* Sub-Header */
.sub-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.flex-header { display: flex; justify-content: space-between; align-items: center; }

.branding h1 { font-size: 24px; color: #2c3e50; }
.user-name { color: var(--text-muted); font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 15px; }

.btn-success {
    background: var(--success);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--outline-green);
    color: var(--outline-green);
    background: white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

/* Dashboard Grid */
.dashboard-container { padding: 25px; }

.grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr 1.5fr;
    gap: 20px;
    align-items: start;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 { font-size: 18px; font-weight: 500; }

/* Task List */
.task-list { list-style: none; }
.task-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.task-item .category { color: var(--text-muted); font-size: 12px; margin-bottom: 4px; }

.task-item.warning .desc { color: var(--warning); font-weight: bold; }

.task-item.done .status { color: var(--success); display: flex; align-items: center; gap: 8px; }

/* Middle & Large Cards */
.middle-col { display: flex; flex-direction: column; gap: 20px; }

.card-body.empty {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.large .card-body.empty { height: 500px; }

.empty-icon, .empty-icon-large {
    font-size: 50px;
    position: relative;
    color: var(--border);
}

.empty-icon span, .empty-icon-large span {
    position: absolute;
    font-size: 25px;
    bottom: 0; right: -5px;
    color: var(--warning);
}

/* Footer */
.footer-simple {
    text-align: center;
    padding: 20px;
    font-size: 11px;
}

.footer-simple a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
}

/* Floating Action Button */
.fab-help {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}