
:root {
    --bg-dark: #070b14;
    --bg-card: #0f172a;
    --bg-card-hover: #162038;
    --border-neon: rgba(0, 240, 255, 0.25);
    --cyan-neon: #00F0FF;
    --gold-neon: #FFB703;
    --green-neon: #38B000;
    --pink-neon: #FF5964;
    --purple-neon: #9D4EDD;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar & Sidebar Style ala OEE System */
.navbar-custom {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-neon);
}

.brand-badge {
    background: linear-gradient(135deg, #FFB703, #FF7B00);
    color: #070b14;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Metric Cards ala OEE Dashboard */
.metric-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 4px solid var(--cyan-neon);
    border-radius: 18px;
    padding: 1.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.metric-card.gold { border-bottom-color: var(--gold-neon); }
.metric-card.green { border-bottom-color: var(--green-neon); }
.metric-card.purple { border-bottom-color: var(--purple-neon); }

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

/* Hero Section */
.hero-box {
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.14), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 183, 3, 0.12), transparent 50%),
                var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.btn-download-main {
    background: linear-gradient(180deg, #FF9F1C 0%, #F77F00 100%);
    border: none;
    border-bottom: 5px solid #B56100;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 14px 28px;
    border-radius: 16px;
    transition: all 0.15s ease;
    box-shadow: 0 8px 24px rgba(255, 159, 28, 0.35);
}

.btn-download-main:hover {
    transform: translateY(-2px);
    color: #fff;
    filter: brightness(1.06);
}

.btn-download-main:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

/* Mockup Board 8x8 Preview */
.mini-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
    background: #090e1a;
    padding: 12px;
    border-radius: 18px;
    border: 2px solid #1e293b;
    max-width: 310px;
    margin: 0 auto;
}

.mini-cell {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    background: #141e33;
}

.c-cyan { background: #00F0FF; box-shadow: 0 0 8px rgba(0,240,255,0.5); }
.c-gold { background: #FFB703; box-shadow: 0 0 8px rgba(255,183,3,0.5); }
.c-pink { background: #FF007F; box-shadow: 0 0 8px rgba(255,0,127,0.5); }
.c-green { background: #38B000; box-shadow: 0 0 8px rgba(56,176,0,0.5); }
.c-purple { background: #9D4EDD; box-shadow: 0 0 8px rgba(157,78,221,0.5); }

/* Table & Panel ala OEE System */
.panel-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
}

.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-color: #e2e8f0;
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.badge-pending { background: rgba(255, 183, 3, 0.18); color: #FFB703; border: 1px solid #FFB703; }
.badge-paid { background: rgba(56, 176, 0, 0.18); color: #4ade80; border: 1px solid #38B000; }
.badge-rejected { background: rgba(255, 89, 100, 0.18); color: #FF5964; border: 1px solid #FF5964; }

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan-neon);
    border: 1px solid var(--cyan-neon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 10px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050810;
}
