@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #0f172a;       /* Deep Navy */
    --accent: #d97706;        /* Luxury Gold */
    --surface: #ffffff;
    --bg: #f1f5f9;
    --text: #334155;
    --border: #e2e8f0;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); margin: 0; padding: 0; }
a { text-decoration: none; transition: 0.3s; color: inherit; }

/* UTILITIES */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; font-size: 14px; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2); }
.btn-back { color: #64748b; background: white; border: 1px solid var(--border); margin-bottom: 20px; }
.btn-back:hover { border-color: var(--primary); color: var(--primary); }

/* LOGIN PAGE - SPLIT SCREEN */
.login-container { display: flex; height: 100vh; overflow: hidden; }
.login-left { flex: 1; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; flex-direction: column; position: relative; }
.login-left::before { content:''; position: absolute; width: 300px; height: 300px; background: var(--accent); filter: blur(150px); opacity: 0.4; border-radius: 50%; }
.login-right { flex: 1; background: white; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-box { width: 100%; max-width: 400px; }
.input-group { margin-bottom: 20px; }
.input-field { width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; box-sizing: border-box; background: #f8fafc; transition: 0.3s; }
.input-field:focus { border-color: var(--accent); outline: none; background: white; box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1); }

/* LAYOUT */
.sidebar { width: 80px; height: 100vh; background: white; position: fixed; border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding-top: 30px; z-index: 100; }
.main-content { margin-left: 80px; padding: 40px; max-width: 1200px; margin-right: auto; }

/* NAV ICONS */
.nav-item { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #94a3b8; margin-bottom: 15px; font-size: 20px; }
.nav-item:hover, .nav-item.active { background: var(--primary); color: var(--accent); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15); }

/* DASHBOARD CARDS */
.hero-header { margin-bottom: 40px; }
.grid-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.menu-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; position: relative; overflow: hidden; cursor: pointer; }
.menu-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
.icon-box { width: 60px; height: 60px; background: #fff7ed; color: var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.menu-title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.menu-desc { font-size: 13px; color: #64748b; line-height: 1.5; }

/* TABLES */
.table-container { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { background: #f8fafc; text-align: left; padding: 16px 24px; font-size: 13px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14px; }
tr:last-child td { border-bottom: none; }
.badge { padding: 6px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.bg-lunas { background: #dcfce7; color: #166534; }
.bg-belum { background: #fee2e2; color: #991b1b; }

/* INVOICE */
.invoice-wrap { background: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.invoice-card { background: white; width: 100%; max-width: 420px; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.inv-top { background: var(--primary); padding: 40px 30px; text-align: center; color: white; }
.inv-body { padding: 30px; }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e2e8f0; }
.detail-label { color: #64748b; font-size: 14px; }
.detail-val { font-weight: 600; color: var(--primary); }