/* Dashboard Styles */

/* Quick Action Cards */
.quick-action-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-action-card .icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Activity Timeline */
.activity-timeline {
    position: relative;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

.activity-content {
    flex-grow: 1;
}

.activity-content h6 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.activity-content p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.activity-content small {
    font-size: 0.75rem;
}

/* Background utilities for activity icons */
.bg-light-primary {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-light-success {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-light-info {
    background-color: rgba(13, 202, 240, 0.1);
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-light-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-light-secondary {
    background-color: rgba(108, 117, 125, 0.1);
}

/* Stat Cards */
.stat-card {
    transition: all 0.2s ease;
}

.stat-card:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Shift Cards */
.shift-card {
    transition: all 0.2s ease;
}

.shift-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* List Group Improvements */
.list-group-item-action {
    transition: all 0.2s ease;
}

.list-group-item-action:hover {
    transform: translateX(5px);
}

/* Avatar Placeholder */
.avatar-placeholder {
    font-weight: 600;
    font-size: 1rem;
}

/* Card Enhancements */
.card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Timeline Wrapper */
.timeline-wrapper {
    position: relative;
}

/* Responsive Grid Margins */
.grid-margin {
    margin-bottom: 1.5rem;
}

/* Empty State Styling */
.text-center.text-muted i {
    opacity: 0.3;
}

/* Table Enhancements */
.table-responsive {
    border-radius: 8px;
}

.table-hover tbody tr {
    transition: background-color 0.2s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Button Improvements */
.btn {
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Alert Enhancements */
.alert {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Metric Cards */
.card-body h3 {
    font-weight: 700;
    color: #2c3e50;
}

.card-body h4 {
    font-weight: 600;
    color: #2c3e50;
}

.card-body h5 {
    font-weight: 600;
    color: #2c3e50;
}

.card-body h6 {
    font-weight: 600;
    color: #495057;
}

/* Icon Styling */
.bi {
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-margin {
        margin-bottom: 1rem;
    }

    .activity-item {
        padding: 0.75rem;
    }

    .activity-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .card-title {
        color: #e9ecef;
    }

    .card-body h3,
    .card-body h4,
    .card-body h5 {
        color: #e9ecef;
    }

    .card-body h6 {
        color: #ced4da;
    }
}

/* Loading State */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Page Content */
.page-content {
    padding: 1.5rem;
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease-in-out;
}
