:root {
  --brand-color: #5C68D9;
}

.advice-seed-table {
  --ag-selected-row-background-color: #EFF1FE;
  --ag-row-hover-color: transparent;
  --ag-font-family: "Avenir Next", Avenir;
}

.advice-seed-table .ag-header {
  background-color: transparent !important;
  border-bottom-color: var(--brand-color) !important;
}

.advice-seed-table .ag-header-cell-text {
  font-weight: 600 !important;
  color: var(--brand-color) !important;
}

.advice-seed-table .ag-header-cell-resize::after {
  background-color: #C1C6F1;
  border-radius: 999px;
}

.advice-seed-table .ag-sort-ascending-icon,
.advice-seed-table .ag-sort-descending-icon {
  color: var(--brand-color);
}

.advice-seed-table .ag-sort-order {
  display: none;
}

.ag-dnd-ghost,
.ag-dnd-ghost .ag-icon {
  color: var(--brand-color);
}

.advice-seed-table .ag-root-wrapper {
  border: none !important;
}

.advice-seed-table .ag-row {
  border-color: #C1C6F1 !important;
}

.advice-seed-table .ag-cell-focus {
  border: 1px solid transparent !important;
}

.advice-seed-table-loading {
  width: 28px;
  height: 28px;
  border: 3.5px solid #C9CDF8;
  border-top-color: var(--brand-color);
  border-radius: 50%;
  animation: advice-seed-table-spin 0.8s linear infinite;
}

@keyframes advice-seed-table-spin {
  to {
    transform: rotate(360deg);
  }
}

.advice-seed-table-empty,
.advice-seed-table .ag-overlay-no-matching-rows-center {
  font-weight: 500;
  font-size: 15px;
  color: var(--brand-color);
}

.advice-seed-table .ag-cell {
  display: flex;
  align-items: center;
  line-height: 1.5;
  padding-top: 8px;
  padding-bottom: 8px;
}

.advice-seed-table .ag-cell.advice-seed-table-date {
  font-weight: 500;
  color: var(--brand-color) !important;
}

.advice-seed-table .ag-cell.advice-seed-table-seed {
  font-weight: 600;
  color: var(--brand-color) !important;
}

.advice-seed-table .ag-cell.advice-seed-table-seed::before {
  background-color: #C9CEF5;
  border-radius: 999px;
  content: "";
  width: 1px;
  top: 8px;
  bottom: 8px;
  left: -3px;
  position: absolute;
}

.advice-seed-table .ag-cell.advice-seed-table-comment {
  font-weight: 500;
  color: #4C4C4C;
}

.advice-seed-table .ag-cell.advice-seed-table-is-read {
  overflow: visible;
}

.advice-seed-table .ag-cell.advice-seed-table-is-read::before {
  background-color: #C9CEF5;
  border-radius: 999px;
  content: "";
  width: 1px;
  top: 8px;
  bottom: 8px;
  left: -3px;
  position: absolute;
}

.advice-seed-table .ag-cell.advice-seed-table-feedback {
  font-weight: 500;
  color: var(--brand-color) !important;
}

.advice-seed-table .ag-cell.advice-seed-table-tutor {
  font-weight: 500;
  color: var(--brand-color) !important;
}

.advice-seed-table .ag-cell.advice-seed-table-tutor::before {
  background-color: #C9CEF5;
  border-radius: 999px;
  content: "";
  width: 1px;
  top: 8px;
  bottom: 8px;
  left: -3px;
  position: absolute;
}

.advice-seed-table-watered-icon {
  width: 40px;
  height: 40px;
  transform: translateX(-3px);
}

.advice-seed-table-reflection-icon {
  width: 28px;
  height: 28px;
  transform: translate(-1px, -3px);
}

.advice-seed-table-replication-icon {
  width: 32px;
  height: 32px;
  transform: translate(-1px, -5px);
}

.advice-seed-table-read {
  background-color: #5FD3D0;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.ag-header-icon-img {
  width: 24px;
  height: 24px;
}

.ag-header-icon-is_watered {
  width: 32px;
  height: 32px;
}

.ag-header-icon-replication {
  width: 40px;
  height: 40px;
  margin-right: -6px !important;
  transform: translate(-5px, -6px);
}

.ui-card:has(#advice-seed-table-focus:hover) .ag-body-viewport {
  scroll-behavior: smooth;
}

.unsent-list-table {
  --ag-background-color: #EFF1FE;
  --ag-selected-row-background-color: transparent;
  --ag-row-hover-color: #FFFFFF;
  --ag-font-family: "Avenir Next", Avenir;
}

.unsent-list-table .ag-header {
  border-bottom-color: var(--brand-color) !important;
}

.unsent-list-table .ag-root-wrapper {
  border: none !important;
  border-radius: 0;
}

.unsent-list-table .ag-row {
  border-color: #C1C6F1 !important;
}

.unsent-list-table .ag-row[row-index="0"] {
  border-bottom-color: var(--brand-color) !important;
}

.unsent-list-table .ag-cell-focus {
  border: 1px solid transparent !important;
}

.unsent-list-table .ag-cell {
  display: flex;
  align-items: center;
}

.unsent-list-table .ag-cell[col-id="unsent_count"] {
  justify-content: flex-end;
  padding-left: 22px;
}

.unsent-list-table .ag-cell[col-id="profile_icon"] {
  padding-left: 2px;
}

.unsent-list-table .ag-cell[col-id="name"] {
  padding-left: 0px;
}

.unsent-list-table .ag-cell.unsent-list-table-count {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.3px;
}

.unsent-list-table .ag-cell.unsent-list-table-name {
  font-weight: 400;
  font-size: 0.95rem;
  color: #4C4C4C !important;
  -webkit-text-stroke: 0.4px currentColor;
}

.unsent-list-table-profile-icon {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .advice-seed-table {
    --ag-font-size: 0.7rem;
  }

  .unsent-list-table .ag-cell.unsent-list-table-name {
    font-size: 0.8rem;
  }
}
