/* ============================================================================
   Dashboard report card styles
   Extracted (not copied wholesale) from the Sneat/Materio Bootstrap 5 admin
   template used as the design reference for the Job Processing dashboard
   pages. Only the template's own custom component classes are included here
   (avatar badges, soft "label" backgrounds, activity timeline) - NOT
   Bootstrap 5 itself, which would collide with this app's Bootstrap 4.
   Colors match the template's "theme-default" palette.
   ============================================================================ */

/* ---------- Avatar badges (ActivityCard / MetricCard / SalesCard) ---------- */
.avatar {
    position: relative;
    width: 2.375rem;
    height: 2.375rem;
}
.avatar .avatar-initial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #69809a;
    font-weight: 500;
}
.avatar-sm {
    width: 2rem;
    height: 2rem;
}
.avatar-sm .avatar-initial {
    font-size: 0.75rem;
}

/* ---------- Soft "label" backgrounds (icons, stat badges) ---------- */
.bg-label-primary {
    background-color: #e5edfc !important;
    color: #5a8dee !important;
}
.bg-label-secondary {
    background-color: #e7ebef !important;
    color: #69809a !important;
}
.bg-label-success {
    background-color: #dff9ec !important;
    color: #39da8a !important;
}
.bg-label-info {
    background-color: #d6f7fa !important;
    color: #00cfdd !important;
}
.bg-label-warning {
    background-color: #fff2e1 !important;
    color: #fdac41 !important;
}
.bg-label-danger {
    background-color: #ffe5e5 !important;
    color: #ff5b5c !important;
}
.bg-label-dark {
    background-color: #e2e4e6 !important;
    color: #495563 !important;
}

/* ---------- Card border-shadow accents (LogisticStatCard) ---------- */
.card-border-shadow-primary { border-bottom: 3px solid #5a8dee !important; box-shadow: 0 4px 12px rgba(90,141,238,.25) !important; }
.card-border-shadow-success { border-bottom: 3px solid #39da8a !important; box-shadow: 0 4px 12px rgba(57,218,138,.25) !important; }
.card-border-shadow-info    { border-bottom: 3px solid #00cfdd !important; box-shadow: 0 4px 12px rgba(0,207,221,.25) !important; }
.card-border-shadow-warning { border-bottom: 3px solid #fdac41 !important; box-shadow: 0 4px 12px rgba(253,172,65,.25) !important; }
.card-border-shadow-danger  { border-bottom: 3px solid #ff5b5c !important; box-shadow: 0 4px 12px rgba(255,91,92,.25) !important; }

/* ---------- Activity timeline (ActivityTimelineCard) ---------- */
.timeline {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    list-style: none;
}
.timeline .timeline-end-indicator {
    position: absolute;
    bottom: -1.35rem;
    left: -0.7rem;
}
.timeline .timeline-end-indicator i {
    font-size: 1.5rem;
    color: #d4d8dd;
}
.timeline-item {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid #d4d8dd;
}
.timeline-item .timeline-event {
    position: relative;
    top: -1rem;
    width: 100%;
    min-height: 4rem;
    background-color: #fff;
    border-radius: 0.25rem;
    padding: 1.25rem 1.5rem;
}
.timeline-item.timeline-item-transparent .timeline-event {
    top: -1.4rem;
    background-color: transparent;
    padding-left: 0;
}
.timeline-item .timeline-point {
    position: absolute;
    left: -0.415rem;
    top: 0;
    z-index: 2;
    display: block;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 50%;
    background-color: #5a8dee;
}
.timeline-point-primary { background-color: #5a8dee !important; box-shadow: 0 0 0 0.1875rem rgba(90, 141, 238, 0.16); }
.timeline-point-success { background-color: #39da8a !important; box-shadow: 0 0 0 0.1875rem rgba(57, 218, 138, 0.16); }
.timeline-point-info    { background-color: #00cfdd !important; box-shadow: 0 0 0 0.1875rem rgba(0, 207, 221, 0.16); }
.timeline-point-warning { background-color: #fdac41 !important; box-shadow: 0 0 0 0.1875rem rgba(253, 172, 65, 0.16); }
.timeline-point-danger  { background-color: #ff5b5c !important; box-shadow: 0 0 0 0.1875rem rgba(255, 91, 92, 0.16); }

/* ---------- Logistics timeline (OrdersByCountriesCard sender/receiver pairs) ---------- */
.timeline-pair {
    display: flex;
    gap: 14px;
    align-items: stretch;
}
.timeline-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 12px;
    padding: 2px 0;
}
.timeline-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.timeline-line {
    flex: 1;
    width: 2px;
    min-height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    margin: 4px 0;
}
.timeline-content {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}
