:root {
  --brand-primary: #a0202be7;
  --brand-secondary: #5e5e5e;
  --brand-white: #e9f4e9;
  --brand-black: #050404;
}

.btn-brand {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}
.text-brand {
  color: var(--brand-primary);
}
.bg-brand {
  background-color: var(--brand-primary) !important;
}
.side-nav-menu {
  background: var(--brand-white) !important;
}
.custom-sidebar-menu ul li a {
  color: var(--brand-black) !important;
}
.custom-sidebar-menu ul li a.active,
.custom-sidebar-menu ul li a:hover,
.custom-sidebar-menu ul li a:focus {
  color: var(--brand-white) !important;
  background: var(--brand-secondary) !important;
}

.custom-sidebar-menu ul li ul.sub li {
  background: var(--brand-white) !important;
}
.custom-left-nav-wrap {
  color: var(--brand-white) !important;
}
.custom-left-nav-wrap::before {
  color: var(--brand-white) !important;
}
.rounded-border {
  border-radius: 0.9rem !important;
}

.dz {
  border: dashed !important;
  border-color: var(--brand-primary) !important;
  border-radius: 0.8rem !important;
}

.dz:hover {
  background-color: var(--brand-secondary) !important;
}
.folder-icon {
  font-size: 5rem;
}
.folder-icon:hover {
  font-size: 6rem;
}
.nav-pills .nav-link.active {
  background-color: var(--brand-primary) !important;
  color: white !important;
}

/* historical model css */

.action-history-timeline {
  position: relative;
  padding-left: 30px;
}

.action-history-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #007bff, #e9ecef);
}

.history-entry {
  position: relative;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #007bff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.history-entry:hover {
  background: #e9ecef;
  transform: translateX(2px);
  transition: all 0.2s ease;
}

.history-dot {
  position: absolute;
  left: -37px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #007bff;
}

.history-content {
  width: 100%;
}

.history-header {
  margin-bottom: 10px;
}

.history-action h6 {
  color: #495057;
  font-weight: 600;
}

.history-timestamp {
  font-size: 0.85em;
  white-space: nowrap;
}

.history-details p {
  color: #6c757d;
  font-size: 0.9em;
}

.additional-info {
  background: rgba(0, 123, 255, 0.1);
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid #007bff;
}

.badge-sm {
  font-size: 0.75em;
  padding: 0.25em 0.5em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .history-header {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .history-timestamp {
    margin-top: 5px;
  }

  .action-history-timeline {
    padding-left: 20px;
  }

  .history-dot {
    left: -27px;
  }
}
/* End of historical model css */
