:root {
    --primary-color: #ff6b00; /* Orange glow */
    --primary-glow: 0 0 15px rgba(255, 107, 0, 0.6);
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --sidebar-width: 260px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    /* Add subtle background image to show off glassmorphism */
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('../image/2.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e65c00;
}

/* Utilities */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-text {
    text-shadow: var(--primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
}
.btn-primary:hover {
    box-shadow: var(--primary-glow);
    transform: translateY(-2px);
}

/* Glowing Separator Line */
.glow-separator {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, rgb(255, 255, 255), var(--primary-color), rgb(255, 255, 255));
    box-shadow: 0 0 10px var(--primary-color), 0 0 5px var(--primary-color);
    margin: 20px 0 30px 0;
    border-radius: 50%;
    opacity: 0.8;
}


.kpi-grid + .glow-separator {
    width: 100%;
}

/* Developer Profile */
.developer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.developer-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulseBorder 2s infinite;
}

.developer-info {
    text-align: right;
}

.developer-info span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.developer-info small {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    50% { box-shadow: 0 0 10px 5px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Shared Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    /* Luxury Dark Orange Background */
    background: linear-gradient(180deg, rgba(185, 121, 1, 0.9), rgba(51, 0, 0, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Small orange glow (border) and glow on left side of main container (box-shadow) */
    border-right: 1px solid rgba(255, 140, 0, 0.4);
    box-shadow: 5px 0 25px rgba(255, 69, 0, 0.2); 
    
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-nav {
    display: flex;
    font-size: 0.9rem;
    flex-direction: column;
    gap: 3px;
}

.nav-item {
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: background 0.2s;
    color: rgba(255, 255, 255, 0.7);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 107, 0, 0.1); /* Subtle orange tint on hover */
    color: #fff;
    border-left: 3px solid var(--primary-color);
}

.home-btn {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.filter-panel {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.filter-header {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.filter-panel label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    margin-top: 15px;
    opacity: 0.8;
}

.filter-panel select {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    outline: none;
}

.filter-panel select option {
    background: #1a1a1a;
    color: white;
}
