/* IB Management page-only (scoped by #ibManagementPage) */

#ibManagementPage :is(.fa, .fas, .far, .fal, .fab) {
  color: #131313;
}

#ibManagementPage .ibm-tabs {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

#ibManagementPage .ibm-tabs .nav-link {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #131313;
  background: transparent;
}

#ibManagementPage .ibm-tabs .nav-link.active {
  background: #ffffff;
  color: #0d6efd;
  box-shadow: inset 0 -2px 0 #0d6efd;
}

#ibManagementPage .ibm-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
}

#ibManagementPage .ibm-filters-card {
  background: #ffffff;
  border: 0;
  /* softer bottom shadow, keep visible top */
  box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.055), 0 10px 14px rgba(15, 23, 42, 0.04) !important;
}

#ibManagementPage .ibm-filters-card .form-control,
#ibManagementPage .ibm-filters-card .form-select,
#ibManagementPage .ibm-filters-card .input-group-text {
  border-color: rgba(148, 163, 184, 0.22);
}

#ibManagementPage .ibm-filters-card .input-group-text {
  border-left: 0;
}

#ibManagementPage .ibm-table thead th {
  background: #eef3ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.8rem;
  border-bottom: 0;
  white-space: nowrap;
}

#ibManagementPage .ibm-table tbody td {
  font-size: 0.875rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  vertical-align: middle;
}

#ibManagementPage .ibm-table tbody tr:nth-child(even) td {
  background: #f4f6f8;
}

/* subtle vertical separators like design */
#ibManagementPage .ibm-table th,
#ibManagementPage .ibm-table td {
  border-right: 1px dashed rgba(148, 163, 184, 0.35);
}

#ibManagementPage .ibm-table th:last-child,
#ibManagementPage .ibm-table td:last-child {
  border-right: 0;
}

#ibManagementPage .ibm-table tbody tr:last-child td {
  border-bottom: 0;
}

#ibManagementPage .ibm-status {
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 88px;
}

#ibManagementPage .ibm-status-active {
  background: rgba(34, 197, 94, 0.18);
  color: #16a34a;
}

#ibManagementPage .ibm-status-suspended {
  background: rgba(239, 68, 68, 0.16);
  color: #ef4444;
}

#ibManagementPage .ibm-status-pending {
  background: rgba(13, 110, 253, 0.12);
  color: #0d47a1;
}

#ibManagementPage .ibm-status-rejected {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
}

#ibManagementPage .ibm-dots {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
}

#ibManagementPage .ibm-dots.dropdown-toggle::after {
  display: none;
}

#ibManagementPage .ibm-dots.dropdown-toggle {
  position: relative;
}

#ibManagementPage .ibm-dots.dropdown-toggle::before {
  content: "⋮";
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

#ibManagementPage .ibm-dots:hover {
  background: #f1f5f9;
}

#ibManagementPage .ibm-actions-menu {
  width: 230px;
  border-radius: 12px;
  padding: 10px 8px;
}

#ibManagementPage .ibm-actions-menu .dropdown-item {
  border-radius: 10px;
  padding: 10px 10px;
  font-weight: 700;
  color: #111827;
}

#ibManagementPage .ibm-actions-menu .dropdown-item i {
  width: 18px;
  text-align: center;
  color: #111827;
}

#ibManagementPage .ibm-actions-menu .dropdown-item.text-danger i {
  color: #ef4444;
}

#ibManagementPage .ibm-actions-menu .dropdown-item:hover {
  background: #f1f5f9;
}

#ibManagementPage .ibm-pagination .page-link {
  border: 0;
  color: #64748b;
}

#ibManagementPage .ibm-pagination .page-item.active .page-link {
  background: #0d6efd;
  color: #fff;
}

#ibManagementPage .ibm-pagination {
  gap: 6px;
}

#ibManagementPage .ibm-pagination .ibm-page-num,
#ibManagementPage .ibm-pagination .ibm-page-btn,
#ibManagementPage .ibm-pagination .ibm-page-ellipsis {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f1f5f9;
}

#ibManagementPage .ibm-pagination .ibm-page-btn i {
  font-size: 12px;
}

#ibManagementPage .ibm-pagination .page-item.active .ibm-page-num {
  background: #0d6efd;
  color: #fff;
}

#ibManagementPage .ibm-pagination .page-item:not(.active):not(.disabled) .ibm-page-num:hover,
#ibManagementPage .ibm-pagination .page-item:not(.active):not(.disabled) .ibm-page-btn:hover {
  background: #e2e8f0;
}

#ibManagementPage .ibm-pagination .page-item.disabled .page-link {
  opacity: 0.6;
}

/* Update Groups modal (match design) */
#ibmUpdateGroupsModal .ibm-ug-modal {
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.24);
  background: #ffffff;
}

#ibmUpdateGroupsModal .ibm-ug-dialog {
  max-width: 720px;
  /* decrease width vs modal-lg */
  margin: 96px auto 0;
  /* move down from top like Change Password */
}

#ibmUpdateGroupsModal .modal-body {
  min-height: 360px;
  /* increase height */
}

#ibmUpdateGroupsModal .ibm-ug-title {
  font-size: 28px;
  font-weight: 900;
  color: #0d6efd;
  letter-spacing: -0.02em;
}

#ibmUpdateGroupsModal .ibm-ug-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.22);
  border: 0;
  opacity: 1;
}

#ibmUpdateGroupsModal .ibm-ug-close i {
  color: #111827;
  font-size: 18px;
}

#ibmUpdateGroupsModal .ibm-ug-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
  margin: 12px 0 18px;
}

#ibmUpdateGroupsModal .ibm-ug-sub {
  font-size: 16px;
  color: #6b7280;
}

#ibmUpdateGroupsModal .ibm-ug-chip {
  background: #E9E9E9 !important;
  font-weight: 800;
  padding: 10px 16px !important;
}

#ibmUpdateGroupsModal .ibm-ug-chipx {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
}

/* Darker page overlay when modal is open (only for Update Groups modal) */
body.ibm-ug-open .modal-backdrop.show {
  background: #0b1220;
  opacity: 0.72;
  z-index: 2000;
}

body.ibm-ug-open #ibmUpdateGroupsModal.modal {
  z-index: 2005;
}

#ibmUpdateGroupsModal .ibm-ug-chipx i {
  font-size: 14px;
  color: #111827;
  line-height: 1;
}

#ibmUpdateGroupsModal .ibm-ug-chipx:hover {
  background: rgba(255, 255, 255, 0.75);
}

#ibmUpdateGroupsModal .ibm-ug-select {
  border-radius: 8px;
  height: 48px;
  font-weight: 700;
  border-color: rgba(148, 163, 184, 0.35);
  padding-left: 14px;
}

#ibmUpdateGroupsModal .ibm-ug-add {
  border-radius: 8px;
  height: 48px;
  font-weight: 800;
  font-size: 16px;
}

@media (max-width: 575.98px) {
  #ibmUpdateGroupsModal .ibm-ug-title {
    font-size: 24px;
  }

  #ibmUpdateGroupsModal .ibm-ug-sub {
    font-size: 14px;
  }

  #ibmUpdateGroupsModal .ibm-ug-select,
  #ibmUpdateGroupsModal .ibm-ug-add {
    height: 48px;
  }
}

/* --- IB Requests page: table + actions (match design reference) --- */
#ibManagementPage .ibm-req-card {
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(0, 86, 179, 0.06),
    0 6px 20px rgba(0, 86, 179, 0.07);
}

#ibManagementPage .ibm-table-req {
  /* Light gray dashed grid (reference) */
  --ibm-req-grid: rgba(148, 163, 184, 0.55);
}

#ibManagementPage .ibm-table-req thead th {
  background: #f0f4ff;
  color: #2563eb;
  border-bottom: 1px dashed var(--ibm-req-grid);
}

#ibManagementPage .ibm-table-req thead th.ibm-req-col-header-meta {
  color: #0d6efd !important;
  font-weight: 700;
  vertical-align: middle;
}

#ibManagementPage .ibm-table-req tbody td {
  border-bottom: 1px dashed var(--ibm-req-grid);
  background: #ffffff;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

#ibManagementPage .ibm-table-req th,
#ibManagementPage .ibm-table-req td {
  border-right: 1px dashed var(--ibm-req-grid);
}

#ibManagementPage .ibm-table-req th:last-child,
#ibManagementPage .ibm-table-req td:last-child {
  border-right: 0;
}

/* Flat rows (no zebra) for this table */
#ibManagementPage .ibm-table-req tbody tr:nth-child(even) td {
  background: #ffffff;
}

#ibManagementPage .ibm-req-aid {
  color: #2563eb !important;
}

#ibManagementPage .ibm-req-aid:hover {
  color: #1d4ed8 !important;
}

#ibManagementPage .ibm-table-req .ibm-req-cell-meta {
  vertical-align: middle !important;
}

#ibManagementPage .ibm-table-req .ibm-req-badge-pending {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-weight: 700;
  border: 0;
  min-width: 5.5rem;
}

#ibManagementPage .ibm-table-req .ibm-req-badge-rejected {
  background: rgba(220, 53, 69, 0.12);
  color: #dc2626;
  font-weight: 700;
  border: 0;
  min-width: 5.5rem;
}

/* Rejected row: light square, dark eye icon (reference) */
#ibManagementPage .ibm-req-view-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  line-height: 1;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #f1f5f9;
  color: #1e293b;
}

#ibManagementPage .ibm-req-view-btn:hover {
  background: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.65);
}

#ibManagementPage .ibm-req-view-btn .fas {
  color: #1e293b !important;
  font-size: 0.95rem;
}

/* Pending row actions: icons stay white on colored buttons */
#ibManagementPage .btn-danger.btn-sm .fas,
#ibManagementPage .btn-success.btn-sm .fas {
  color: #fff !important;
}

/* Approve: darker green (reference) */
#ibManagementPage .ibm-req-btn-approve {
  background-color: #15803d;
  border-color: #15803d;
  color: #fff;
}

#ibManagementPage .ibm-req-btn-approve:hover {
  background-color: #166534;
  border-color: #166534;
  color: #fff;
}

/* --- IB Request Details page (matches reference) --- */
#ibManagementPage.ibreq-details .ibreq-avatar {
  width: 78px;
  height: 78px;
  border: 3px solid rgba(148, 163, 184, 0.3);
  background: #e2e8f0;
}

#ibManagementPage.ibreq-details .ibreq-avatar-fallback {
  background: radial-gradient(circle at 35% 25%, #e2e8f0, #cbd5e1);
}

#ibManagementPage.ibreq-details .ibreq-avatar-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  right: 6px;
  bottom: 6px;
  background: #7c3aed;
  box-shadow: 0 0 0 3px #fff;
}

#ibManagementPage.ibreq-details .ibreq-status-pill {
  border: 1px solid rgba(13, 110, 253, 0.45);
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-weight: 800;
  min-width: 92px;
  text-align: center;
}

#ibManagementPage.ibreq-details .ibreq-aid-badge {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-weight: 800;
}

#ibManagementPage.ibreq-details .ibreq-vr {
  height: 64px;
  opacity: 0.25;
}

#ibManagementPage.ibreq-details .ibreq-ic {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.12);
}

#ibManagementPage.ibreq-details .ibreq-ic i {
  color: #0d6efd !important;
  font-size: 12px;
}

#ibManagementPage.ibreq-details .ibreq-meta-card {
  background: #f8fafc;
}

#ibManagementPage.ibreq-details .ibreq-submitted-card {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

#ibDetailsPage.ibreq-details .ibreq-submitted-card {
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

#ibDetailsPage.ibreq-details .ibd-status-dot {
  background: #7c3aed;
}

#ibDetailsPage.ibreq-details .ibreq-status-pill {
  border: 1px solid rgba(13, 110, 253, 0.45);
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-weight: 800;
  min-width: 92px;
  text-align: center;
}

#ibDetailsPage.ibreq-details .ibreq-action-btn {
  height: 56px;
  font-size: 16px;
  letter-spacing: 0.1px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

#ibDetailsPage.ibreq-details .ibreq-action-btn .fas {
  color: #fff !important;
}

#ibDetailsPage.ibreq-details .ibreq-action-reject {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

#ibDetailsPage.ibreq-details .ibreq-action-reject:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

#ibDetailsPage.ibreq-details .ibreq-action-approve {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

#ibDetailsPage.ibreq-details .ibreq-action-approve:hover {
  background: #14532d;
  border-color: #14532d;
  color: #fff;
}

#ibDetailsPage.ibreq-details .ibreq-card-title {
  font-weight: 800;
  color: #0d6efd;
  font-size: 13px;
}

#ibDetailsPage.ibreq-details .ibreq-card-title-lg {
  font-size: 18px;
  letter-spacing: -0.01em;
}

#ibDetailsPage.ibreq-details .ibreq-card-hr {
  margin: 12px 0 16px;
  opacity: 0.12;
}

#ibDetailsPage.ibreq-details .ibreq-biz {
  display: grid;
  gap: 18px;
}

#ibDetailsPage.ibreq-details .ibreq-biz-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#ibDetailsPage.ibreq-details .ibreq-biz-label {
  color: #111827;
  font-weight: 500;
  font-size: 13px;
}

#ibDetailsPage.ibreq-details .ibreq-biz-value {
  color: #111827;
  font-weight: 700;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

#ibDetailsPage.ibreq-details .ibreq-cr-list {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

#ibDetailsPage.ibreq-details .ibreq-cr-item {
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

#ibDetailsPage.ibreq-details .ibreq-cr-title {
  font-weight: 800;
  color: #111827;
  font-size: 16px;
}

#ibDetailsPage.ibreq-details .ibreq-cr-sub {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

#ibDetailsPage.ibreq-details .ibreq-cr-badge {
  background: rgba(34, 197, 94, 0.35);
  color: #166534;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  justify-content: center;
  font-size: 12px;
}

#ibDetailsPage.ibreq-details .ibreq-cr-badge .fas {
  color: #166534 !important;
  font-size: 12px;
}

/* Approve IB offcanvas is appended under <body>, so keep selectors global */
.ibreq-approve-offcanvas.ibd-offcanvas {
  --bs-offcanvas-width: min(620px, 96vw);
}

.ibreq-approve-offcanvas .offcanvas-body {
  padding: 18px 18px 20px;
}

.ibreq-approve-offcanvas .ibreq-choose .list-group-item {
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 12px 12px;
}

.ibreq-approve-offcanvas .ibreq-choose .list-group-item:hover {
  background: rgba(13, 110, 253, 0.05);
}

/* Backdrop + z-index pattern (same as ib-profile offcanvas) */
body.ibreq-approve-open .offcanvas-backdrop.show {
  background: #0b1220;
  opacity: 0.55;
  z-index: 2000;
}

body.ibreq-approve-open .offcanvas.ibreq-approve-offcanvas {
  z-index: 2005;
}

/* Reject IB offcanvas (same overlay pattern) */
body.ibreq-reject-open .offcanvas-backdrop.show {
  background: #0b1220;
  opacity: 0.55;
  z-index: 2000;
}

body.ibreq-reject-open .offcanvas.ibreq-reject-offcanvas {
  z-index: 2005;
}

/* Multi-select chip input (Select IB Group) */
.ibreq-approve-offcanvas .ibreq-msel-box {
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ibreq-approve-offcanvas .ibreq-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.12);
  color: #111827;
  font-weight: 800;
  line-height: 1;
}

.ibreq-approve-offcanvas .ibreq-chipx {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.08);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-weight: 900;
}

.ibreq-approve-offcanvas .ibreq-chipx:hover {
  background: rgba(15, 23, 42, 0.14);
}

.ibreq-approve-offcanvas .ibreq-msel-spacer {
  flex: 1 1 auto;
}

.ibreq-approve-offcanvas .ibreq-msel-caret {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  border: 0;
  background: transparent;
}

.ibreq-approve-offcanvas .ibreq-msel-caret .fas {
  color: #64748b !important;
  font-size: 12px;
}

.ibreq-approve-offcanvas .ibreq-msel {
  position: relative;
}

.ibreq-approve-offcanvas .ibreq-msel-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(340px, 92vw);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  padding: 0;
  z-index: 5;
}

.ibreq-approve-offcanvas .ibreq-msel-menu.show {
  display: block;
}

.ibreq-approve-offcanvas .ibreq-msel-menu .input-group-text {
  border-right: 0;
}

.ibreq-approve-offcanvas .ibreq-msel-menu .form-control {
  border-left: 0;
}

.ibreq-approve-offcanvas .ibreq-msel-row {
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
}

.ibreq-approve-offcanvas .ibreq-msel-row:hover {
  background: rgba(13, 110, 253, 0.06);
}

.ibreq-approve-offcanvas .ibreq-msel-list {
  max-height: 240px;
  overflow: auto;
  padding: 6px 0 10px;
}

/* Slightly smaller typography inside offcanvas */
.ibreq-approve-offcanvas .offcanvas-body {
  font-size: 0.9rem;
}

/* Slightly smaller typography inside reject offcanvas */
.ibreq-reject-offcanvas .offcanvas-body {
  font-size: 0.88rem;
}

/* Approved success modal (match reference) */
.ibreq-approved-dialog {
  max-width: 560px;
}

.ibreq-approved-content {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.24);
}

.ibreq-approved-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.22);
  opacity: 1;
  border: 0;
  z-index: 10;
}

.ibreq-approved-close .fas {
  color: #111827 !important;
  font-size: 16px;
}

/* ── Success illustration ── */
.success-illus-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.success-illus-img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.ibreq-approved-circle .fas {
  color: #166534 !important;
  font-size: 42px;
}

.ibreq-approved-summary {
  background: #f3f4f6;
}

/* Full-dashboard backdrop pattern (like other modals) */
body.ibreq-approved-open .modal-backdrop.show {
  background: #0b1220;
  opacity: 0.55;
  z-index: 2000;
}

body.ibreq-approved-open .modal.ibreq-approved-modal {
  z-index: 2005;
}

/* Rejected success modal */
.ibreq-rejected-dialog {
  max-width: 560px;
}

.ibreq-rejected-content {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.24);
}

.ibreq-rejected-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.22);
  opacity: 1;
  border: 0;
  z-index: 10;
}

.ibreq-rejected-close .fas {
  color: #111827 !important;
  font-size: 16px;
}

.ibreq-rejected-hero {
  position: relative;
  width: 120px;
  height: 120px;
}

.ibreq-rejected-circle {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
  border: 2px solid rgba(220, 38, 38, 0.45);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.ibreq-rejected-circle .fas {
  color: #dc2626 !important;
  font-size: 42px;
}

.ibreq-rejected-rule {
  width: 66%;
  border-top: 2px solid rgba(220, 38, 38, 0.9);
  opacity: 1;
}

.ibreq-rejected-title {
  color: #dc2626;
}

.ibreq-rejected-points {
  background: #f3f4f6;
}

/* Rejected success modal backdrop (full dashboard) */
body.ibreq-rejected-open .modal-backdrop.show {
  background: #0b1220;
  opacity: 0.55;
  z-index: 2000;
}

body.ibreq-rejected-open .modal.ibreq-rejected-modal {
  z-index: 2005;
}

/* Request Status (rejected) page */
#ibDetailsPage.ibreq-status-page .ibd-status-dot {
  background: #7c3aed;
}

#ibDetailsPage.ibreq-status-page .ibreq-status-title {
  color: #dc2626;
  font-size: 20px;
}

#ibDetailsPage.ibreq-status-page .ibreq-status-banner {
  border: 2px solid rgba(220, 38, 38, 0.75);
  background: #FFDCDE;
  border-radius: 12px;
  color: #111827;
}

#ibDetailsPage.ibreq-status-page .ibreq-status-banner--approved {
  border-color: rgba(22, 163, 74, 0.65);
  background: #DCFCE7;
}

#ibDetailsPage.ibreq-status-page .ibreq-status-banner--approved [data-ibreq-status-icoi] {
  color: #16a34a !important;
}

#ibDetailsPage.ibreq-status-page .ibreq-status-banner--approved+.card.ibreq-rej-summary {
  display: none;
}

#ibDetailsPage.ibreq-status-page .ibreq-rej-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#ibDetailsPage.ibreq-status-page .ibreq-rej-ico .fas {
  color: #dc2626 !important;
}

#ibDetailsPage.ibreq-status-page .ibreq-rej-summary {
  overflow: hidden;
}

#ibDetailsPage.ibreq-status-page .ibreq-rej-summary-head {
  background: rgba(239, 68, 68, 0.22);
  color: #b91c1c;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

#ibDetailsPage.ibreq-details .ibd-avatar {
  width: 96px;
  height: 96px;
}

#ibDetailsPage.ibreq-details .ibd-avatar-img {
  width: 100%;
  height: 100%;
}

#ibDetailsPage.ibreq-details .ibd-status-dot {
  width: 14px;
  height: 14px;
  right: 4px;
  bottom: 4px;
}

#ibManagementPage.ibreq-details .ibreq-kv {
  display: grid;
  gap: 14px;
}

#ibManagementPage.ibreq-details .ibreq-kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#ibManagementPage.ibreq-details .ibreq-kv-row> :first-child {
  max-width: 70%;
}

#ibManagementPage.ibreq-details .ibreq-cr-card {
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

#ibManagementPage.ibreq-details .ibreq-approve-wide {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

#ibManagementPage.ibreq-details .ibreq-approve-wide:hover {
  background: #14532d;
  border-color: #14532d;
  color: #fff;
}