.bg-primary{background-color:#002d62 !important;}
.table .thead-dark th, .thead-dark, .nav-tabs .nav-link.active{background-color:#002d62 !important;color: #ffffff !important; }

.btn-primary{background-color:#002d62 !important;color:#ffffff !important;}
.form-control,.form-select, .input-group-text{border-color:#002d62 !important;}
.shadow{box-shadow:0 1px 3px 0 #002d62 !important;}
.sidebar .nav-item.active>.nav-link, .sidebar .nav-item .nav-link:hover, .sidebar .nav-item .nav-link:focus{background-color:#ffffff !important;color:#002d62 !important;}
.logo-nav-item{background-color: #ffffff !important;}
.nav-item svg{fill:#ffffff !important;}
.nav-item.active svg, .nav-item:hover svg, .nav-item:focus svg{fill:#002d62 !important;}
.sidebar-logo{padding:5px;background: #ffffff;border-radius: 25%;}




/* === TIMELINE WRAPPER === */
.admission-timeline {position: relative; margin-left: 20px; }

/* === ROW === */
.timeline-row {display: flex; position: relative; margin-bottom: 25px; }

/* === LINE COLUMN === */
.timeline-line {position: relative; width: 30px; display: flex; justify-content: center; }

.timeline-line::before {content: ''; position: absolute; top: 0; bottom: -25px; width: 2px; background: #dee2e6; }

/* === DOT === */
.timeline-dot {width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; z-index: 1; }

/* === COLORS BY TYPE === */
.timeline-created { background: #198754; }
.timeline-log { background: #0d6efd; }
.timeline-comment { background: #6f42c1; }
.timeline-document { background: #fd7e14; }
.timeline-followup { background: #20c997; }

/* === CARD === */
.timeline-card {background: #ffffff; border: 1px solid #e9ecef; border-radius: 6px; padding: 12px 15px; width: 100%; }

/* === HEADER === */
.timeline-header {display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.timeline-user {font-weight: 600; color: #212529; }
.timeline-date {margin-left: auto; color: #6c757d; font-size: 12px; }
/* === BADGES === */
.timeline-badge {font-size: 11px; padding: 3px 8px; border-radius: 12px; color: #fff; }
.badge-created { background: #198754; }
.badge-log { background: #0d6efd; }
.badge-comment { background: #6f42c1; }
.badge-document { background: #fd7e14; }
.badge-followup { background: #20c997; }

/* === BODY === */
.timeline-body {font-size: 14px; }
.timeline-changes {padding-left: 18px; margin-top: 6px; font-size: 13px; }
.timeline-changes li {margin-bottom: 3px; }
/* === LAST ITEM FIX === */
.timeline-row:last-child .timeline-line::before {bottom: 0; }
