.mud-drawer-content,
.mud-drawer,
.drawer-menu {
  overflow-x: hidden !important;
}

/* PROFILE */
.drawer-profile {
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 14px;
}

.drawer-avatar {
  background: linear-gradient(135deg, #ffffff, #d1d5db);
}

.drawer-name {
  font-weight: 600;
  font-size: 16px;
}

.drawer-email {
  font-size: 13px;
  opacity: 0.7;
}

/* MENU */
.drawer-menu .mud-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 4px 10px;
  font-size: 14px;
  overflow-x: hidden;
}

/* ICONS – force white */
.drawer-menu .mud-nav-link .mud-icon-root,
.drawer-menu .mud-nav-group .mud-icon-root {
  color: #ffffff !important;
}

.nav-active {
  background: #6c6cdd !important;
}

.nav-active .mud-nav-link-text,
.nav-active .mud-icon-root {
  color: #fff !important;
}

/* ACTIVE NAVLINK TEXT – white */
.drawer-menu .mud-nav-link.mud-nav-link-active,
.drawer-menu .mud-nav-link.mud-nav-link-active span,
.drawer-menu .mud-nav-link-active,
.drawer-menu .mud-nav-link-active span {
  color: #ffffff !important;
}

.drawer-menu .mud-nav-link.mud-nav-link-active .mud-nav-link-text,
.drawer-menu .mud-nav-link-active .mud-nav-link-text,
.drawer-menu .mud-nav-link.mud-nav-link-active span,
.drawer-menu .mud-nav-link-active span {
  color: #ffffff !important;
}
/* BADGE */
.badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #111;
}

.badge-blue {
  background: #aee2ff;
}
.badge-red {
  background: #ffb3b3;
}
.badge-green {
  background: #b5f5c8;
}

/* FOOTER */
.drawer-footer {
  margin-top: auto;
  padding: 24px;
  overflow-x: hidden;
}

.drawer-divider {
  height: 1px;
  margin-bottom: 20px;
  color: #6c6cdd;
  background: #6c6cdd !important;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  max-width: 100%;
  overflow: hidden;
}

.brand-icon {
  font-size: 26px;
  opacity: 0.8;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text {
  min-width: 0;
}

.brand-label {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.6;
  letter-spacing: 0.3px;
}

.drawer-brand-name {
  font-size: 10pt;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-phone-number {
  font-size: 10pt;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-email {
  font-size: 10pt;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-disabled {
  position: relative;
  opacity: 0.45;
  pointer-events: none;
}

.chart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.pdf-preview {
  background: #f9fafc;
  border-radius: 12px;
}

.timeline-container {
  max-height: 750px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
}

.message-item {
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.message-item.buyer {
  background: #eef5ff;
  border-left: 4px solid #3f51b5;
}

.message-item.supplier {
  background: #f4f6f8;
  border-left: 4px solid #009688;
}

.message-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
  color: #555;
}

.message-body {
  font-size: 14px;
}
