#banishedModal .modal-dialog {
  height: calc(100vh - 2rem);
  max-height: calc(100vh - 2rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#banishedModal .modal-content {
  height: 100%;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

#banishedModal .modal-header {
  flex-shrink: 0;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#banishedModal .modal-title {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.banished-info-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: help;
}

#banishedModal .modal-body {
  min-height: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.banished-form {
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1.4rem;
  background: #f8fafc;
}

.banished-form .form-control {
  border-radius: 14px;
  border-color: #dbe3ef;
  min-height: 44px;
}

.banished-form .form-control:focus {
  border-color: #111827;
  box-shadow: 0 0 0 0.2rem rgba(17, 24, 39, 0.12);
}

#banishedReasonInput {
  resize: none;
}

.banished-submit-btn {
  border-radius: 14px;
  padding: 0.62rem 1rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.banished-list-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
}

.banished-list-title {
  font-weight: 900;
  margin-bottom: 0;
  white-space: nowrap;
}

.banished-search-input {
  max-width: 230px;
  min-height: 38px;
  border-radius: 999px;
  border-color: #dbe3ef;
  padding-left: 0.9rem;
  font-weight: 700;
}

.banished-search-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 0.18rem rgba(17, 24, 39, 0.1);
}

#banishedUsersList {
  flex: 1;
  min-height: 0;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
}

#banishedUsersList .list-group-item {
  border-color: #e2e8f0;
  padding: 1rem;
}

#banishedUsersList .list-group-item:first-child {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

#banishedUsersList .list-group-item:last-child {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.banished-remove-btn {
  border-radius: 12px;
  font-weight: 800;
}

#banishedModal .tooltip {
  z-index: 7005;
}

.banished-tooltip.tooltip {
  transform: translateY(10px);
}

.banished-toast-container {
  z-index: 8000;
  margin-top: 1rem;
}

.banished-toast {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  font-weight: 850;
}

.banished-toast.toast-success {
  background: #ecfdf5;
  color: #065f46;
}

.banished-toast.toast-danger {
  background: #fef2f2;
  color: #991b1b;
}

.banished-toast.toast-warning {
  background: #fffbeb;
  color: #92400e;
}

.banished-toast .toast-body {
  padding: 0.9rem 1rem;
}