:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.app-container {
    display: none;
}

.navbar {
    background-color: var(--primary);
}

.sidebar {
    background-color: var(--dark);
    color: white;
    min-height: calc(100vh - 56px);
    padding-top: 20px;
}

.sidebar a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: var(--secondary);
}

.sidebar a.active {
    background-color: var(--secondary);
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: var(--primary);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.stats-label {
    font-size: 1rem;
    color: var(--dark);
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-danger {
    background-color: var(--accent);
    border: none;
}

.table th {
    background-color: var(--primary);
    color: white;
}

.low-stock {
    background-color: #ffe6e6;
}

.out-of-stock {
    background-color: #ffcccc;
}

.user-badge {
    background-color: var(--secondary);
    color: white;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 0.8rem;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-item {
    border-left: 3px solid var(--secondary);
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #f8f9fa;
}

.notification-warning {
    border-left-color: var(--warning);
}

.notification-danger {
    border-left-color: var(--accent);
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.activity-timeline {
    position: relative;
    padding-left: 30px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.activity-item {
    position: relative;
    margin-bottom: 20px;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid white;
}

.activity-item.success::before {
    background-color: var(--success);
}

.activity-item.warning::before {
    background-color: var(--warning);
}

.activity-item.danger::before {
    background-color: var(--accent);
}