@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
    --bg-body: #111111;
    --bg-surface: #1c1c1c;
    --bg-surface-hover: #262626;
    --border-color: #2d2d2d;
    --text-primary: #f3f3f3;
    --text-secondary: #8b8b8d;
    
    --accent-orange: #ff7b42;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --accent-blue: #3498db;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* SIDEBAR SAAS STYLE */
.cyber-sidebar {
    width: 260px;
    background-color: var(--bg-body);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.sidebar-menu {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-link i { width: 30px; font-size: 1.1rem; }
.sidebar-link:hover { background-color: var(--bg-surface-hover); color: var(--text-primary); }
.sidebar-link.active { background-color: rgba(255, 123, 66, 0.1); color: var(--accent-orange); font-weight: 500; }

/* KONTEN UTAMA */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--bg-body);
}

.navbar-custom {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.brand-subtitle { font-size: 0.8rem; color: var(--text-secondary); }

.badge-online {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CARDS & CONTAINERS */
.stat-card, .chart-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.stat-title {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.stat-icon {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--border-color);
    opacity: 0.5;
}

/* BUTTONS */
.btn {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
}

/* MODAL */
.modal-content {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px;
}
.modal-header { border-bottom: 1px solid var(--border-color); }