.dashboard-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-card {
    padding: 1.5rem;
    position: relative;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-icon.primary {
    background: rgba(12, 146, 196, 0.1);
    color: var(--primary-color);
}

.stat-icon.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stat-icon.danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.chart-container {
    height: 300px;
    position: relative;
    padding: 1.5rem;
}

.progress-custom {
    height: 8px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.quick-action-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    border: none;
    padding: 1rem 0.75rem;
}

.table td {
    padding: 0.75rem;
    border-color: var(--border-color);
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-completed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-flagged {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-in-progress {
    background: rgba(12, 146, 196, 0.1);
    color: var(--primary-color);
}

.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), #0a7ca0);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.welcome-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 1.5rem;
    }

    .chart-container {
        height: 250px;
        padding: 1rem;
    }

    .welcome-banner {
        padding: 1.5rem;
        text-align: center;
    }

    .quick-action-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}