:root {
    --primary-color: #3498db;
    --secondary-color: #ffffff;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #333;
    --bg-color: #f8f9fa;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
    --transition-speed: 0.3s;
    --active-item-bg: #eef5ff;
    --active-item-border: #3498db;
    --section-header-color: #666;
}

[data-theme="dark"] {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #f8f9fa;
    --text-light: #f8f9fa;
    --bg-color: #121212;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    min-height: 100vh;
}

.wrapper {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

#sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background-color: var(--secondary-color);
    color: var(--text-color);
    transition: all var(--transition-speed);
    position: relative;
    z-index: 999;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
}

#sidebar.active {
    min-width: var(--sidebar-collapsed-width);
    max-width: var(--sidebar-collapsed-width);
    text-align: center;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul.components {
    padding-top: 5px;
}

#sidebar .components {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 120px;
}

#sidebar .nav-link {
    padding: 8px 15px 8px 25px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #012970;
    transition: 0.3;
    background: transparent;
    position: relative;
}

#sidebar .nav-link.active::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #4154f1;
    border-radius: 0 2px 2px 0;
}

#sidebar .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

#sidebar .nav-content a {
    display: flex;
    align-items: center;
    padding: 8px 15px 8px 50px;
    color: #012970;
    transition: 0.3s;
    position: relative;
    background-color: rgba(230, 247, 255, 0.5);
    border-radius: 4px;
}

#sidebar .nav-content a::before {
    content: "•";
    position: absolute;
    left: 30px;
    color: #899bbd;
}

#sidebar .logo img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    margin-top: -10px;
}

#sidebar .nav-item img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

#sidebar .nav-item i,
#sidebar .nav-item img {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    height: 24px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#sidebar .nav-link.active,
#sidebar .nav-content a:hover,
#sidebar .nav-content a.active {
    color: #4154f1;
    background-color: rgba(230, 247, 255, 0.8);
}

#sidebar .nav-content a.active::before {
    color: #4154f1;
}

#sidebar.active .nav-content a {
    padding: 8px 15px 8px 35px;
}

#sidebar.active .nav-content a::before {
    left: 15px;
}

#sidebar.active .nav-link {
    padding: 8px 15px;
}

#sidebar .sidebar-header {
    padding: 15px;
    padding-top: 10px;
    text-align: center;
    background-color: var(--secondary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#sidebar ul.components li > a {
    font-size: 0.9rem;
}

#sidebar ul li {
    position: relative;
}

#sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-speed);
    position: relative;
    font-weight: 500;
    margin: 2px 0;
}

#sidebar ul li a i,
#sidebar ul li a img,
#sidebar .nav-content i,
#sidebar .nav-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

#sidebar ul.components > li > a,
#sidebar .nav-content a,
#sidebar .nav-link,
#sidebar ul li a {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

#sidebar ul li a[aria-expanded="true"],
#sidebar ul li.active > a,
#sidebar ul li a:hover,
#sidebar ul li a.active {
    color: #4154f1;
    background-color: rgba(230, 247, 255, 0.8);
    border-left: none;
}

#sidebar ul li a i,
#sidebar .nav-link i,
#sidebar .nav-content i {
    margin-left: 0;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

#sidebar .section-header {
    padding: 15px 15px 5px;
    margin: 0;
}

#sidebar.active ul li a {
    padding: 10px;
    justify-content: center;
}

#sidebar.active ul li a i {
    margin: 0;
}

#sidebar ul li a,
#sidebar .nav-link,
#sidebar .nav-content a {
    border-left: none !important;
}

#sidebar ul li a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #4154f1;
}

#sidebar ul li a i.bi-house-door {
    color: #e74c3c;
}

#sidebar ul li a i.bi-puzzle {
    color: #3498db;
}

#sidebar ul li a i.bi-gear {
    color: #2ecc71;
}

#sidebar ul li a i.bi-check2-square {
    color: #f39c12;
}

#sidebar ul li a i.bi-diagram-3 {
    color: #9b59b6;
}

#sidebar ul li a i.bi-info-circle {
    color: #1abc9c;
}

#sidebar ul li a[aria-expanded="true"] {
    background-color: rgba(0, 0, 0, 0.02);
}

#sidebar .list-unstyled {
    margin-bottom: 0;
}

#sidebar ul.components > li > a {
    padding: 10px 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.section-header {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--section-header-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    width: 100%;
}

.section-header i {
    margin-right: 8px;
    color: #666;
}

#sidebar .sidebar-nav-link {
    padding-left: 25px;
}

#sidebar .sidebar-nav-link i {
    margin-right: 10px;
    font-size: 1.1em;
}

#sidebar li.active {
    background-color: rgba(0, 0, 0, 0.02);
}

#sidebar .sidebar-nav-link.active {
    background-color: var(--active-item-bg);
    color: var(--primary-color);
    font-weight: 600;
}

#sidebar li.active > a {
    color: var(--primary-color);
}

#sidebar .bi-graph-up-arrow {
    color: #f87c56;
}

#sidebar .bi-bar-chart {
    color: #3498db;
}

#sidebar .bi-table {
    color: #27ae60;
}

#sidebar .bi-grid-3x3-gap {
    color: #3498db;
}

#sidebar .bi-stars {
    color: #f1c40f;
}

#sidebar .bi-card-checklist {
    color: #9b59b6;
}

#sidebar .bi-diagram-2 {
    color: #1abc9c;
}

#sidebar .bi-info-circle {
    color: #34495e;
}

#sidebar .bi-tag {
    color: #7f8c8d;
}

#sidebar ul ul a {
    padding-left: 45px;
    background-color: transparent;
    font-weight: normal;
}

#sidebar.active ul ul a {
    padding-left: 10px;
}

.sidebar-footer {
    position: fixed;
    bottom: 0;
    width: var(--sidebar-width);
    padding: 15px;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-speed);
}

#sidebar.active .sidebar-footer {
    width: var(--sidebar-collapsed-width);
}

#content {
    flex: 1;
    min-height: 100vh;
    overflow-y: auto;
    transition: all var(--transition-speed);
}

.navbar {
    padding: 15px 10px;
    background: var(--bg-color);
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: background-color var(--transition-speed);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
}

#sidebarCollapse {
    background-color: #f0f2f5;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

#sidebarCollapse:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#sidebarCollapse i {
    color: #64748b;
    font-size: 1.1rem;
    transition: transform var(--transition-speed);
}

#sidebar.active + #content #sidebarCollapse i {
    transform: rotate(180deg);
}

#sidebar.active .sidebar-header {
    padding: 12px 8px;
}

#sidebar.active .sidebar-header .d-flex {
    justify-content: center;
}

#sidebar.active ul li a {
    padding: 12px;
    text-align: center;
}

#sidebar.active ul li a i {
    margin-right: 0;
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

#sidebar.active .section-header {
    padding: 10px 5px;
    text-align: center;
}

#sidebar.active .section-header i {
    margin: 0;
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
}

#sidebar.active ul.components > li > a {
    padding: 15px 5px;
}

#sidebar.active .sidebar-nav-link,
#sidebar.active .filter-link {
    padding: 10px 5px;
}

[data-theme="dark"] #sidebarCollapse {
    background-color: #2d3748;
}

[data-theme="dark"] #sidebarCollapse:hover {
    background-color: #4a5568;
}

[data-theme="dark"] #sidebarCollapse i {
    color: #a0aec0;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bg-primary {
    background-color: #0d6efd !important;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.bg-info {
    background-color: #0dcaf0 !important;
}

.card .h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.card .bi {
    opacity: 0.8;
}

.card .small {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.table {
    color: var(--text-color);
}

[data-theme="dark"] .table {
    color: var(--text-light);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-switch {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3, #sidebar .sidebar-footer {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
        text-align: center;
    }

    #sidebar ul li a span {
        display: none;
    }

    #sidebar ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    #sidebarCollapse span {
        display: none;
    }
}

.filter-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ddd;
    margin-left: 5px;
    border-radius: 4px;
    padding: 5px;
}

[data-theme="dark"] .dataTables_wrapper .dataTables_filter input {
    background-color: #333;
    color: var(--text-light);
    border: 1px solid #555;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

[data-theme="dark"] .dataTables_wrapper .dataTables_length select {
    background-color: #333;
    color: var(--text-light);
    border: 1px solid #555;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #333;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

[data-theme="dark"] .modal-content {
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

[data-theme="dark"] .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.125);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

[data-theme="dark"] .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.125);
}

.test-case-list {
    list-style-type: none;
    padding-left: 0;
}

.test-case-list li {
    padding: 5px 10px;
    border-bottom: 1px dotted #ddd;
}

[data-theme="dark"] .test-case-list li {
    border-bottom: 1px dotted #555;
}

.test-case-list li:last-child {
    border-bottom: none;
}

.card .bi {
    opacity: 0.7;
}

.status-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    min-height: 160px;
}

.status-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.status-icon i {
    font-size: 2rem;
    color: #fff;
}

.status-label {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.status-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    line-height: 1;
}

.status-primary {
    background-color: #0d6efd;
}

.status-success {
    background-color: #198754;
}

.status-warning {
    background-color: #ffc107;
}

.status-info {
    background-color: #0dcaf0;
}

[data-theme="dark"] .status-card {
    background: #2d3436;
}

[data-theme="dark"] .status-card .status-value {
    color: #fff;
}

[data-theme="dark"] .status-card .status-label {
    color: #a0a0a0;
}

#overview-section {
    margin-top: -20px;
    padding-top: 20px;
}

.content-section {
    margin-bottom: 40px;
}

.sidebar-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all var(--transition-speed);
    margin-bottom: 0;
    margin-top: -15px;
}

#sidebar.active .sidebar-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all var(--transition-speed);
    margin: 0;
    margin-top: -20px;
    padding-top: 5px;
}

#sidebar.active .sidebar-header {
    padding: 12px 8px;
}

#sidebar.active .sidebar-title {
    display: none;
}

.menu-text {
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tippy-box[data-theme~='custom'] {
  background-color: #333;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  outline: 0;
  transition-property: transform, visibility, opacity;
  max-width: 400px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tippy-box[data-theme~='custom'][data-placement^='top'] > .tippy-arrow {
  bottom: 0;
}

.tippy-box[data-theme~='custom'][data-placement^='bottom'] > .tippy-arrow {
  top: 0;
}

.tippy-box[data-theme~='custom'][data-placement^='left'] > .tippy-arrow {
  right: 0;
}

.tippy-box[data-theme~='custom'][data-placement^='right'] > .tippy-arrow {
  left: 0;
}

.tippy-box[data-theme~='custom'] .tippy-arrow {
  color: #333;
  width: 16px;
  height: 16px;
}

.tippy-box[data-theme~='custom'] .tippy-arrow::before {
  content: '';
  position: absolute;
  border-color: transparent;
  border-style: solid;
}

.tippy-box[data-theme~='custom'][data-placement^='top'] .tippy-arrow::before {
  bottom: -7px;
  left: 0;
  border-width: 8px 8px 0;
  border-top-color: initial;
  transform-origin: center top;
}

.tippy-box[data-theme~='custom'][data-placement^='bottom'] .tippy-arrow::before {
  top: -7px;
  left: 0;
  border-width: 0 8px 8px;
  border-bottom-color: initial;
  transform-origin: center bottom;
}

.tippy-box[data-theme~='custom'][data-placement^='left'] .tippy-arrow::before {
  right: -7px;
  top: 0;
  border-width: 8px 0 8px 8px;
  border-left-color: initial;
  transform-origin: center left;
}

.tippy-box[data-theme~='custom'][data-placement^='right'] .tippy-arrow::before {
  left: -7px;
  top: 0;
  border-width: 8px 8px 8px 0;
  border-right-color: initial;
  transform-origin: center right;
}

.tooltip-content {
  padding: 12px;
}

.tooltip-content strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.tooltip-content p {
  margin: 0;
  white-space: pre-wrap;
}

.tippy-box[data-animation='shift-away'][data-state='hidden'] {
  opacity: 0;
  transform: translateY(10px);
}

.tippy-box[data-animation='shift-away'][data-state='visible'] {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] .tippy-box[data-theme~='custom'] {
  background-color: #333;
  color: #fff;
}

[data-theme="dark"] .tippy-box[data-theme~='custom'] .tippy-arrow {
  color: #333;
}

.description .card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.description .card-body {
  padding: 1.25rem;
}

.suite-description {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.suite-description:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.suite-description strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.suite-description p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.5;
}

[data-theme="dark"] .tippy-box[data-theme~='custom'] {
  background-color: #333;
  color: #fff;
}

[data-theme="dark"] .tippy-box[data-theme~='custom'] .tippy-arrow {
  color: #333;
}

[data-theme="dark"] .description .card {
  background-color: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

[data-theme="dark"] .suite-description {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .suite-description p {
  color: var(--text-light);
}

.count-badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
    background-color: var(--primary-color);
    color: white;
}

.automation-icon {
    font-size: 1.2em;
    vertical-align: middle;
}

.automation-automated {
    color: #28a745;
}

.automation-manual {
    color: #ffc107;
}

.automation-semi-automated {
    color: #17a2b8;
}

#sidebar.active .menu-text,
#sidebar.active span:not(i),
#sidebar.active .sidebar-title,
#sidebar.active .filter-link,
#sidebar.active ul.collapse {
    display: none !important;
}

#sidebar.active ul.collapse,
#sidebar.active ul.collapsing,
#sidebar.active .collapse.show {
    display: none !important;
}

#sidebar.active ul.components > li > a {
    padding: 15px 10px;
    text-align: center;
    justify-content: center;
}

#sidebar.active ul.components > li > a i {
    font-size: 1.5rem;
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
}

#sidebar.active i.bi,
#sidebar.active i.fas,
#sidebar.active i.far,
#sidebar.active i.fa {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 24px !important;
    height: 24px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
}

#sidebar.active ul ul,
#sidebar.active .sidebar-footer p,
#sidebar.active .section-header span,
#sidebar.active a span:not(i) {
    display: none !important;
}

/* Activity Stream Styles */
.activity-stream {
  max-height: 500px;
  overflow-y: auto;
  padding: 0.5rem;
}

.activity-item {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

.activity-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: -1.5rem;
  width: 2px;
  background-color: rgba(0, 0, 0, 0.1);
}

.activity-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.activity-icon i {
  font-size: 1.25rem;
  color: #6c757d;
}

.activity-content {
  flex: 1;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.activity-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.activity-time {
  font-size: 0.85rem;
  color: #6c757d;
}

.activity-body {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.commit-message {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.commit-link {
  color: #0d6efd;
  text-decoration: none;
}

.commit-link:hover {
  text-decoration: underline;
}

.activity-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.activity-author, .activity-hash {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Dark mode styles */
[data-bs-theme="dark"] .activity-item:not(:last-child)::after {
  background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .activity-icon {
  background-color: #343a40;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .activity-body {
  background-color: #343a40;
}

[data-bs-theme="dark"] .commit-link {
  color: #6ea8fe;
}

/* Recent Updates Grid */
.recent-updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding: 0.5rem;
}

.update-card {
  background-color: var(--bg-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

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

.update-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.update-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.update-icon i {
  color: white;
  font-size: 1rem;
}

.update-title {
  flex: 1;
  font-weight: 600;
}

.update-title a {
  color: var(--text-color);
  text-decoration: none;
}

.update-title a:hover {
  color: var(--primary-color);
}

.update-time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.update-content {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 0.25rem;
  padding: 0.75rem;
}

.update-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.update-author, .update-hash {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Badge Styles */
.badge {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 0.25rem;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-success {
  background-color: #28a745 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-info {
  background-color: #17a2b8 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .update-card {
  background-color: var(--bg-color);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .update-content {
  background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .update-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bi-gitlab {
  color: #FC6D26 !important;
}

/* Fire icon animation */
@keyframes flicker {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}