.ghpay-admin-card {
  box-sizing: border-box;
  width: 100%;
  margin-top: 32px !important;
  padding: 26px 28px 30px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #0f172a;
}

.ghpay-admin-card > h6 {
  margin: 0 0 20px !important;
  color: #0f172a;
  font-family: inherit;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.035em;
  text-align: left !important;
}

.ghpay-admin-card > h6::after {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  content: "관리자 계정의 로그인 상태와 보안 권한을 관리합니다.";
}

.ghpay-admin-table {
  width: 100%;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px;
  background: #ffffff;
  font-family: inherit !important;
}

.ghpay-admin-table thead th {
  height: 52px;
  padding: 0 18px !important;
  border-right: 1px solid #e8edf3;
  border-bottom: 1px solid #dfe5ec !important;
  background: #f7f9fc !important;
  color: #334155;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

.ghpay-admin-table tbody td,
.ghpay-admin-table tbody th {
  height: 56px;
  padding: 0 18px !important;
  border-right: 1px solid #edf1f5;
  border-bottom: 1px solid #e5eaf0 !important;
  background: transparent;
  color: #1e293b;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.ghpay-admin-table thead th:last-child,
.ghpay-admin-table tbody td:last-child,
.ghpay-admin-table tbody th:last-child {
  border-right: 0;
}

.ghpay-admin-table tbody tr:last-child td,
.ghpay-admin-table tbody tr:last-child th {
  border-bottom: 0 !important;
}

.ghpay-admin-table tbody tr {
  transition: background-color 140ms ease;
}

.ghpay-admin-table tbody tr:not(.ghpay-admin-row--inactive):hover {
  background: #f8fbff;
}

.ghpay-admin-table tbody tr.ghpay-admin-row--inactive {
  background: #f3f5f8;
}

.ghpay-admin-table tbody tr.ghpay-admin-row--inactive td,
.ghpay-admin-table tbody tr.ghpay-admin-row--inactive th {
  color: #64748b;
}

.ghpay-admin-table .MuiButton-root {
  min-width: 74px;
  height: 34px;
  padding: 0 13px;
  border-width: 1px;
  border-radius: 8px;
  box-shadow: none;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ghpay-admin-table .MuiButton-root:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.ghpay-activation-switch {
  display: inline-flex;
  min-width: 102px;
  height: 34px;
  padding: 0 10px 0 7px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.ghpay-activation-switch:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  outline-offset: 2px;
}

.ghpay-switch-track {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  transition: background-color 150ms ease;
}

.ghpay-switch-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
  content: "";
  transition: transform 150ms ease;
}

.ghpay-switch-label {
  min-width: 32px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ghpay-activation-switch.is-on {
  border-color: #a7e0c4;
  background: #effaf5;
  color: #147a50;
}

.ghpay-activation-switch.is-on .ghpay-switch-track {
  background: #22a06b;
}

.ghpay-activation-switch.is-on .ghpay-switch-track::after {
  transform: translateX(18px);
}

.ghpay-activation-switch.is-off {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #64748b;
}

.ghpay-activation-switch.is-off .ghpay-switch-track {
  background: #94a3b8;
}

.ghpay-activation-switch:hover {
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.1);
}

.ghpay-admin-table .MuiButton-colorError {
  border-color: #f4a3a8;
  background: #fff7f7;
  color: #c2414b;
}

.ghpay-admin-table .ghpay-protected-badge {
  display: inline-flex;
  min-width: 76px;
  height: 28px;
  padding: 0 9px 0 7px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ghpay-admin-table .ghpay-protected-badge::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: url("/static/images/ghpay-sheriff-security-badge.v1.svg") center / contain no-repeat;
  content: "";
}

@media (max-width: 900px) {
  .ghpay-admin-card {
    padding: 20px 18px 24px;
    border-radius: 12px;
  }

  .ghpay-admin-card > h6 {
    font-size: 19px;
  }
}
