:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Additional colors */
    --purple-color: #6f42c1;
    --teal-color: #20c997;
    --pink-color: #d63384;
    --indigo-color: #6610f2;
    --orange-color: #fd7e14;
    --cyan-color: #0dcaf0;
    --gray-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: #333;
}

.sidebar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    margin: 0.2rem 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.main-content {
    padding: 2rem;
    background-color: var(--light-bg);
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Stat Cards */
.stat-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 100%;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-card .card-body {
    padding: 1.25rem;
}

/* Card Color Variants */
.card-primary { border-left-color: var(--primary-color); }
.card-success { border-left-color: var(--success-color); }
.card-danger { border-left-color: var(--danger-color); }
.card-warning { border-left-color: var(--warning-color); }
.card-info { border-left-color: var(--info-color); }
.card-purple { border-left-color: var(--purple-color); }
.card-teal { border-left-color: var(--teal-color); }
.card-pink { border-left-color: var(--pink-color); }
.card-indigo { border-left-color: var(--indigo-color); }
.card-orange { border-left-color: var(--orange-color); }
.card-cyan { border-left-color: var(--cyan-color); }
.card-gray { border-left-color: var(--gray-color); }

/* Text Colors */
.text-purple { color: var(--purple-color); }
.text-teal { color: var(--teal-color); }
.text-pink { color: var(--pink-color); }
.text-indigo { color: var(--indigo-color); }
.text-orange { color: var(--orange-color); }
.text-cyan { color: var(--cyan-color); }
.text-gray { color: var(--gray-color); }

.table-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table thead th {
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.badge-pill {
    padding: 5px 10px;
    font-weight: 500;
    font-size: 0.75rem;
}

.positive {
    color: #28a745;
    font-weight: 600;
}

.negative {
    color: #dc3545;
    font-weight: 600;
}

.station-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.station-card .card-body {
    padding: 1.25rem;
}

.payment-badge {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 0.7rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    padding-left: 40px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #6c757d;
}

.progress {
    background-color: #e9ecef;
    border-radius: 2px;
    height: 4px;
}

.icon-container {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 8px;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        width: 100%;
    }
    .main-content {
        padding: 1rem;
    }
}

/* Employee specific styles */
.employee-status-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}

.action-buttons {
    white-space: nowrap;
}

.action-buttons .btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

        .card {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border: none;
            border-radius: 8px;
        }
        .form-control {
            border-radius: 6px;
            border: 1px solid #ddd;
            padding: 8px 12px;
        }
        .btn {
            border-radius: 6px;
            padding: 8px 16px;
        }
        .btn-primary {
            background-color: #4361ee;
            border-color: #4361ee;
        }
        .btn-primary:hover {
            background-color: #3a56d4;
            border-color: #3a56d4;
        }
        .form-label {
            font-weight: 500;
            margin-bottom: 8px;
            color: #333;
        }
        .card-body {
            padding: 1.5rem;
        }
        .balance-display {
            min-height: 24px;
            margin-top: 8px;
        }
