/* VAFO BRANDING COLORS */
:root { 
    --primary: #111828;   /* VAFO Ebony */
    --secondary: #F6B626; /* VAFO Saffron */
    --admin: #8ed1fc;     /* VAFO Malibu */
    --danger: #e74c3c; 
    --warning: #F6B626; 
    --bg: #f0f3f5; 
}

body { font-family: 'Segoe UI', Tahoma, sans-serif; background: var(--bg); margin: 0; padding: 20px; display: flex; justify-content: center; color: #111828; }
.container { max-width: 1100px; width: 100%; background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Headers & Nav */
.nav-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; margin-bottom: 10px; padding-bottom: 15px; }
.role-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.8em; font-weight: bold; text-transform: uppercase; color: white; margin-top: 5px; display: inline-block;}
.badge-admin { background: var(--admin); color: var(--primary); }
.badge-manager { background: var(--primary); }
.badge-employee { background: var(--secondary); color: var(--primary); }

/* Tab Navigation */
.tab-nav { display: flex; gap: 10px; margin-bottom: 25px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
.btn-tab { padding: 10px 20px; border: none; background: #ecf0f1; color: #7f8c8d; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-tab:hover { background: #bdc3c7; color: white; }
.btn-tab.active { background: var(--secondary); color: var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

.status-banner { padding: 15px; border-radius: 8px; font-weight: bold; margin-bottom: 20px; text-align: center; }

/* Forms & Buttons */
.hidden { display: none !important; }
input, select, textarea { width: 100%; padding: 10px; margin: 5px 0 15px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-family: inherit; }
button { padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.3s; color: white; }
.btn-main { background: var(--primary); width: 100%; font-size: 1.1em; }
.btn-main:hover { opacity: 0.9; }
.btn-main:disabled { background: #bdc3c7; cursor: not-allowed; color: #666; }
.btn-success { background: var(--secondary); color: var(--primary); width: 100%; font-size: 1.1em; }
.btn-success:hover { background: #e5a822; }
.btn-danger { background: var(--danger); }
.btn-logout { background: #95a5a6; }

/* Layouts */
.card { border: 1px solid #eee; padding: 20px; border-radius: 8px; margin-bottom: 20px; background: #fafafa; }
.grid-row { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 15px; align-items: start; padding: 15px; border-bottom: 1px solid #eee; }
.grid-header { background: var(--primary); color: white; font-weight: bold; border-radius: 4px; padding: 10px 15px; align-items: center; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin: 20px 0; }
.emp-card { padding: 15px; border: 2px solid #ddd; border-radius: 8px; text-align: center; cursor: pointer; background: white; transition: 0.2s; }
.emp-card:hover, .emp-card.active { border-color: var(--secondary); background: #fffcf5; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.emp-status { font-size: 0.8em; padding: 3px 8px; border-radius: 10px; background: #eee; display: inline-block; margin-top: 5px; font-weight: bold; color: #666;}

/* Matrix */
.matrix-display { background: var(--primary); color: white; padding: 30px; border-radius: 8px; text-align: center; margin-top: 30px; }
.bonus-box { background: var(--secondary); color: var(--primary); padding: 10px 20px; border-radius: 8px; display: inline-block; margin-top: 10px; font-weight: bold; font-size: 1.2em; }
