/* Users management page */
body.users-page {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  overflow-x: hidden;
}

body.users-page .adminuiux-wrap {
  width: 100vw !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body.users-page .adminuiux-header .container-fluid {
  width: 100% !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.users-page .adminuiux-wrap .adminuiux-content.has-sidebar.users-main {
  padding: 20px 15px 120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.users-head {
  margin-bottom: 14px;
}

.users-search-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 10px;
}

.users-search-card > label {
  display: block;
  margin: 0 0 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: -0.4px;
}

.users-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 1px 7px;
}

.users-list-head > span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: -0.4px;
}

.users-list-head > span em {
  color: #858c94;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.35px;
}

.users-total-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #6f7785;
}

.users-total-chip span {
  color: #858c94;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.users-total-chip strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.users-total-chip em {
  color: #2563eb;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.45px;
}

.users-summary-grid.staff-summary-grid .admin-summary-card {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 10px;
  padding: 6px 8px;
}

.users-summary-grid.staff-summary-grid .admin-summary-card span {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
}

.users-summary-grid.staff-summary-grid .admin-summary-card strong {
  flex: 0 0 auto;
  justify-content: flex-end;
  font-size: 11px;
  line-height: 15px;
}

.users-summary-grid.staff-summary-grid .admin-summary-card strong em,
.users-summary-grid.staff-summary-grid .admin-summary-card strong .admin-summary-value,
.users-summary-grid.staff-summary-grid .admin-summary-card strong > em {
  font-size: 12px;
  line-height: 14px;
}

.users-summary-grid.staff-summary-grid .admin-summary-card strong .admin-summary-unit {
  font-size: 12px;
  line-height: 14px;
}

.users-search-row {
  height: 40px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 10px;
}

.users-search-row i {
  color: #9aa3af;
  font-size: 15px;
}

.users-search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #121314;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.users-search-row:focus-within {
  border-color: #3182f6;
  box-shadow: 0 0 0 3px rgba(49, 130, 246, .08);
  background: #fff;
}


.users-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.users-card {
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.users-card-top {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-bottom: 10px;
}

.users-avatar {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.users-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.users-identity strong {
  flex: 0 1 auto;
  min-width: 0;
  color: #121314;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4b5563 !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none !important;
  white-space: nowrap;
}

.users-phone i {
  color: #3182f6;
  font-size: 11px;
}

.users-detail-rows {
  border-top: 1px solid #f0f2f5;
}

.users-detail-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f5f6f8;
  padding: 7px 0;
  color: #858c94;
  font-size: 12px;
  line-height: 16px;
}

.users-detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.users-detail-row span {
  flex: 0 0 auto;
  font-weight: 500;
  letter-spacing: -0.35px;
}

.users-detail-row strong {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  color: #343a40;
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: -0.35px;
  text-align: right;
}

.users-detail-row strong em {
  color: #858c94;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.users-detail-row.is-price strong {
  color: #2563eb;
  font-weight: 600;
}

.users-store-badge {
  max-width: 250px;
  color: #2563eb !important;
  font-weight: 600 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-empty-state,
.users-loading-state {
  margin-top: 0;
}

@media (max-width: 430px) {
  body.users-page .adminuiux-wrap,
  body.users-page .adminuiux-header .container-fluid {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc((100vw - 100%) / 2) !important;
    margin-right: calc((100vw - 100%) / 2) !important;
  }

  body.users-page .adminuiux-wrap .adminuiux-content.has-sidebar.users-main {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Staff management page */
.staff-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.staff-head .items-page-title-wrap {
  min-width: 0;
}

.staff-add-button {
  flex: 0 0 auto;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.35px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

.staff-permission-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 16px;
  background: rgba(37, 99, 235, .035);
  padding: 12px;
  margin-bottom: 10px;
}

.staff-permission-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
}

.staff-permission-card strong {
  display: block;
  color: #171b22;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.4px;
  margin-bottom: 2px;
}

.staff-permission-card p {
  margin: 0;
  color: #6f7785;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.35px;
}

.staff-card-top {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.staff-avatar {
  background: #f0fdf4;
  color: #16a34a;
}

.staff-status {
  min-width: 58px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.staff-status.is-active {
  background: rgba(22, 163, 74, .10);
  color: #15803d;
}

.staff-status.is-pending {
  background: rgba(245, 158, 11, .12);
  color: #b45309;
}

.staff-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fbfcfe;
  padding: 9px 10px;
  margin-bottom: 8px;
}

.staff-role-row span {
  color: #858c94;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.staff-role-row strong {
  color: #171b22;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.35px;
}

.staff-permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.staff-permission-list span {
  height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 999px;
  background: rgba(37, 99, 235, .035);
  color: #2563eb;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.staff-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.staff-action-row button {
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #171b22;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.staff-action-row button.is-outline {
  border: 1px solid #e2e7f0;
  background: #fff;
  color: #4b5563;
}

/* Staff requested structure: list, register/edit form, permission checks, account actions */
.staff-section-card {
  border: 1px solid #edf0f4;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  margin-bottom: 12px;
}

.staff-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.staff-section-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.staff-section-head span {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .08);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
}

.staff-section-head h2 {
  margin: 0;
  color: #171b22;
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
  letter-spacing: -0.55px;
}

.staff-section-head small {
  color: #858c94;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.staff-list-section .staff-list {
  gap: 9px;
}

.staff-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.staff-form-field {
  min-width: 0;
}

.staff-form-field label {
  display: block;
  margin: 0 0 6px;
  color: #6f7785;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.35px;
}

.staff-form-field input,
.staff-form-field select {
  width: 100%;
  height: 42px;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #f8fafc;
  color: #171b22;
  padding: 0 11px;
  outline: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.35px;
}

.staff-form-field input:focus,
.staff-form-field select:focus {
  border-color: #3182f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(49, 130, 246, .08);
}

.staff-permission-panel {
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 16px;
  background: rgba(37, 99, 235, .025);
  padding: 12px;
  margin: 11px 0 10px;
}

.staff-permission-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.staff-permission-panel-head strong {
  color: #171b22;
  font-size: 14px;
  font-weight: 650;
  line-height: 18px;
  letter-spacing: -0.4px;
}

.staff-permission-panel-head span {
  color: #858c94;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  text-align: right;
}

.staff-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.staff-check-item {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #fff;
  padding: 0 10px;
  color: #303441;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.staff-check-item input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #2563eb;
  flex: 0 0 17px;
}

.staff-check-item:has(input:checked) {
  border-color: rgba(37, 99, 235, .22);
  background: rgba(37, 99, 235, .045);
}

.staff-form-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f0f2f5;
  padding-top: 10px;
  margin-top: 4px;
}

.staff-switch-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #171b22;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.staff-switch-line input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2563eb;
}

.staff-form-status-row p {
  margin: 0;
  color: #858c94;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  text-align: right;
}

.staff-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
  margin-top: 11px;
}

.staff-save-button,
.staff-reset-form-button {
  height: 42px;
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.4px;
}

.staff-save-button {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .16);
}

.staff-reset-form-button {
  border: 1px solid #e2e7f0;
  background: #fff;
  color: #4b5563;
}

.staff-status.is-inactive {
  background: rgba(107, 114, 128, .10);
  color: #4b5563;
}

.staff-action-row {
  grid-template-columns: .8fr 1fr 1.35fr;
}

.staff-action-row button.is-danger {
  border: 1px solid rgba(239, 68, 68, .16);
  background: rgba(239, 68, 68, .07);
  color: #dc2626;
}

@media (max-width: 380px) {
  .staff-form-grid,
  .staff-check-grid {
    grid-template-columns: 1fr;
  }

  .staff-action-row {
    grid-template-columns: 1fr;
  }
}

/* Staff register/edit modal */
.staff-form-modal .modal-dialog {
  width: calc(100vw - 30px);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.staff-form-modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

.staff-form-modal-header {
  border-bottom: 1px solid #edf0f4;
  padding: 16px 16px 12px;
}

.staff-form-modal-header h2 {
  margin: 0 0 3px;
  color: #171b22;
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: -0.6px;
}

.staff-form-modal-header p {
  margin: 0;
  color: #858c94;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.35px;
}

.staff-form-modal-body {
  padding: 14px 16px 12px;
}

.staff-form-modal-footer {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  border-top: 1px solid #edf0f4;
  padding: 12px 16px 16px;
}

.staff-form-modal-footer > * {
  margin: 0 !important;
}

/* Match staff 신규등록 button to 상품등록 page add button */
.staff-head .staff-add-button.items-add-button {
  width: 100% !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #3182f6 !important;
  color: #fff !important;
  padding: 0 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}


.staff-list-section {
  border: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.staff-form-modal-header .btn-close {
  align-self: flex-start;
  margin-top: 2px;
  margin-right: 0;
}

/* Staff cards now expose only edit; account controls live in the modal. */
.staff-card .staff-action-row {
  grid-template-columns: 1fr;
}

.staff-toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #171b22;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.staff-toggle-line input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.staff-toggle-line i {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background .18s ease;
}

.staff-toggle-line i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .18);
  transition: transform .18s ease;
}

.staff-toggle-line input:checked + i {
  background: #2563eb;
}

.staff-toggle-line input:checked + i::after {
  transform: translateX(18px);
}

.staff-modal-account-actions {
  margin-top: 10px;
}

.staff-modal-delete-button {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(239, 68, 68, .16);
  border-radius: 13px;
  background: rgba(239, 68, 68, .07);
  color: #dc2626;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.4px;
}

.staff-form-status-row .staff-switches {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  white-space: nowrap;
}

.staff-form-status-row .staff-switches .form-check-input {
  width: 42px;
  height: 24px;
  float: none;
  margin: 0;
  cursor: pointer;
  border-color: #d1d5db;
  background-color: #d1d5db;
}

.staff-form-status-row .staff-switches .form-check-input:checked {
  border-color: #2563eb;
  background-color: #2563eb;
}

.staff-form-status-row .staff-switches .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.staff-form-status-row .staff-switches .form-check-label {
  color: #171b22;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.35px;
}

.staff-form-status-row .staff-switches {
  width: 100%;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.staff-form-status-row {
  align-items: center;
}

.staff-status-copy {
  min-width: 0;
}

.staff-status-copy strong {
  display: block;
  color: #171b22;
  font-size: 13px;
  font-weight: 650;
  line-height: 17px;
  letter-spacing: -0.35px;
  margin-bottom: 2px;
}

.staff-form-status-row .staff-status-copy p {
  margin: 0;
  color: #858c94;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  text-align: left;
}

.staff-form-status-row .staff-switches {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
  flex-direction: row;
}

/* Staff list card layout: match customer list cards and keep staff-only values in detail rows. */
.staff-card {
  position: relative;
}

.staff-card .staff-card-top {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 0;
}

.staff-card .staff-avatar {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.staff-card .staff-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-card .staff-identity strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-card .staff-identity .users-phone {
  flex: 0 0 auto;
  justify-content: flex-start;
  text-align: left;
}

.staff-detail-rows .users-detail-row strong {
  max-width: 235px;
}

.staff-detail-rows .staff-status {
  min-width: 0;
  height: 24px;
  padding: 0 8px;
}

.staff-permission-inline {
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: flex-end !important;
  gap: 4px;
}

.staff-permission-inline span {
  height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 999px;
  background: rgba(37, 99, 235, .035);
  color: #2563eb;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.3px;
}

.staff-card.is-inactive-card {
  background: #f8fafc;
  border-color: #e5e7eb;
}

.staff-card.is-inactive-card .staff-avatar {
  background: #eef0f3;
  color: #8b95a1;
}

.staff-card .staff-action-row {
  grid-template-columns: minmax(0, .85fr) minmax(116px, 1.15fr);
  margin-top: 10px;
}

.staff-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}

.staff-filter-tabs button {
  height: 32px;
  border: 1px solid #e2e7f0;
  border-radius: 999px;
  background: #fff;
  color: #6f7785;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.staff-filter-tabs button.active {
  border-color: rgba(37, 99, 235, .18);
  background: rgba(37, 99, 235, .08);
  color: #2563eb;
}

.staff-filter-tabs button[data-staff-filter="inactive"].active {
  border-color: rgba(239, 68, 68, .16);
  background: rgba(239, 68, 68, .07);
  color: #dc2626;
}

/* Staff role management */
.staff-role-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 6px;
}

.staff-role-control button,
.staff-role-editor-row button,
.staff-role-cancel-edit {
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #171b22;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.35px;
}

.staff-role-control button {
  background: #eef4ff;
  color: #2563eb;
}

.staff-role-modal .modal-dialog {
  width: calc(100vw - 30px);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.staff-role-editor {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.staff-role-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 8px;
}

.staff-role-editor-row input {
  width: 100%;
  height: 42px;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  background: #f8fafc;
  color: #171b22;
  padding: 0 11px;
  outline: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.35px;
}

.staff-role-cancel-edit {
  height: 36px;
  border: 1px solid #e2e7f0;
  background: #fff;
  color: #6f7785;
}

.staff-role-list {
  display: grid;
  gap: 7px;
}

.staff-role-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  background: #fff;
  padding: 9px 10px;
}

.staff-role-item strong {
  min-width: 0;
  color: #171b22;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.35px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-role-item div {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.staff-role-item button {
  height: 30px;
  border: 1px solid #e2e7f0;
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.staff-role-item .staff-role-delete-button {
  border-color: rgba(239, 68, 68, .16);
  background: rgba(239, 68, 68, .06);
  color: #dc2626;
}
