/* Silva Dashboard Specific Styles */

/* Dashboard Cards */
.dashboard-card {
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.dashboard-stat-card {
    border-left: 0.25rem solid;
    padding: 1.5rem;
}

.dashboard-stat-card.primary {
    border-left-color: #4e73df;
}

.dashboard-stat-card.success {
    border-left-color: #1cc88a;
}

.dashboard-stat-card.info {
    border-left-color: #36b9cc;
}

.dashboard-stat-card.warning {
    border-left-color: #f6c23e;
}

/* Chart Containers */
.chart-area {
    position: relative;
    height: 20rem;
    width: 100%;
}

.chart-pie {
    position: relative;
    height: 15rem;
    width: 100%;
}

/* Data Tables */
.dashboard-table {
    font-size: 0.85rem;
}

.dashboard-table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    color: #858796;
    background-color: #f8f9fc;
}

.dashboard-table td {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Quick Action Buttons */
.quick-action-btn {
    padding: 1rem;
    text-align: center;
    border: 2px dashed #d1d3e2;
    border-radius: 0.35rem;
    color: #858796;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    border-color: #4e73df;
    color: #4e73df;
    text-decoration: none;
}

.quick-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Status Indicators */
.status-indicator {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: #1cc88a;
}

.status-indicator.offline {
    background-color: #858796;
}

.status-indicator.away {
    background-color: #f6c23e;
}

.status-indicator.busy {
    background-color: #e74a3b;
}

/* Progress Bars */
.progress-sm {
    height: 0.5rem;
}

.progress-lg {
    height: 1.5rem;
}

/* Activity Feed */
.activity-feed {
    list-style: none;
    padding: 0;
}

.activity-feed .activity-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1rem;
}

.activity-feed .activity-item:before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #4e73df;
}

.activity-feed .activity-item:after {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    width: 2px;
    height: calc(100% - 0.5rem);
    background-color: #e3e6f0;
}

.activity-feed .activity-item:last-child:after {
    display: none;
}

/* Notification Badges */
.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    line-height: 1rem;
    text-align: center;
    background-color: #e74a3b;
    color: white;
}

/* User Avatar */
.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.user-avatar-lg {
    width: 4rem;
    height: 4rem;
}

/* Dashboard Widgets */
.dashboard-widget {
    background: white;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-widget-header {
    display: flex;
    align-items: center;
    justify-content: between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e3e6f0;
}

.dashboard-widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: #5a5c69;
    margin: 0;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-stat-card {
        margin-bottom: 1rem;
    }
    
    .chart-area,
    .chart-pie {
        height: 15rem;
    }
    
    .quick-action-btn {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-widget {
        padding: 1rem;
    }
    
    .chart-area,
    .chart-pie {
        height: 12rem;
    }
}
