:root {
    --primary: #1e293b;
    --accent: #f59e0b;
    --bg: #f1f5f9;
    --white: #ffffff;
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background: var(--bg); color: var(--primary); font-size: 19px; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

/* LOGOS */
.header-logo-img { height: 70px; width: auto; }
.modal-logo-img { height: 60px; margin-bottom: 1rem; }
.rh-logo-top { height: 80px; }
.footer-logo-img { height: 50px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.mini-logo-bg { position: absolute; right: -20px; bottom: -20px; width: 100px; opacity: 0.1; }

/* NAVIGATION */
header { background: var(--white); padding: 1rem 3rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--accent); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-text { font-weight: 900; font-size: 1.6rem; text-transform: uppercase; }
.logo-text span { color: var(--accent); }

.nav-tabs { display: flex; gap: 10px; }
.tab-btn { border: none; background: transparent; padding: 0.8rem 1.5rem; border-radius: 12px; font-weight: 700; cursor: pointer; color: #64748b; font-size: 1rem; transition: 0.3s; }
.tab-btn.active { color: white !important; background: var(--primary) !important; }
.btn-employee { background: #fef3c7; color: #d97706; border: 2px solid var(--accent); }

/* HERO */
.hero-banner { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1200'); background-size: cover; padding: 90px 40px; border-radius: var(--radius); color: white; text-align: center; margin-bottom: 3rem; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-subtext { font-size: 1.5rem; margin-bottom: 2rem; }
.highlight { color: var(--accent); }
.cta-button { background: var(--accent); color: white; padding: 1.2rem 2.5rem; border: none; border-radius: 50px; font-size: 1.2rem; font-weight: 800; cursor: pointer; }

/* MODAL */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); display: none; justify-content: center; align-items: center; z-index: 10000; }
.modal-card { background: white; padding: 3rem; border-radius: var(--radius); text-align: center; max-width: 450px; width: 90%; }
.modal-card input { width: 100%; padding: 1.2rem; margin: 1.5rem 0; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1.3rem; text-align: center; }
.error-txt { color: #e11d48; font-weight: bold; margin-top: 10px; display: none; }
.modal-buttons { display: flex; gap: 10px; }
.confirm-btn { flex: 2; background: var(--accent); color: white; padding: 1rem; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; }
.cancel-btn { flex: 1; background: #f1f5f9; color: #64748b; padding: 1rem; border: none; border-radius: 12px; cursor: pointer; }

/* SECTIONS RH */
main { flex: 1; overflow-y: auto; padding: 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.content-section { display: none; }
.content-section.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: 0 10px 20px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.stat-card { text-align: center; background: var(--primary); color: white; padding: 3rem; border-radius: var(--radius); }
.big-number { font-size: 4rem; font-weight: 900; color: var(--accent); }

.employee-layout { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; }
.side-menu { background: var(--white); padding: 1.5rem; border-radius: var(--radius); height: fit-content; }
.side-btn { width: 100%; text-align: left; padding: 1.2rem; border: none; background: none; cursor: pointer; border-radius: 12px; font-weight: 700; color: #64748b; font-size: 1.1rem; }
.side-btn.active { background: #fef3c7; color: #d97706; }
.rh-content { background: var(--white); padding: 3rem; border-radius: var(--radius); min-height: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.rh-pane { display: none; }
.rh-pane.active { display: block; }

/* STYLE EN COURS / MAINTENANCE */
.maintenance-box { text-align: center; padding: 3rem; background: #f8fafc; border: 3px dashed #cbd5e1; border-radius: 15px; color: #64748b; }
.icon-spin { font-size: 3rem; margin-bottom: 1rem; display: inline-block; animation: spin 4s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.alert-box { background: #fff7ed; border-left: 5px solid var(--accent); padding: 1rem; font-weight: bold; margin-top: 1rem; }
.link-box { background: #f1f5f9; padding: 1.5rem; border-radius: 10px; text-align: center; font-weight: bold; color: var(--accent); font-size: 1.2rem; }

footer { background: var(--primary); color: white; padding: 3rem; text-align: center; margin-top: 3rem; }