.admin-member-actions .settings-button {
  border-color: #a9c9be;
  background: #f7fbf9;
  color: #175d49;
}

.account-settings-modal {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid #cbdcd6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(22, 55, 45, 0.24);
}

.account-settings-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #dbe7e2;
  background: #f5faf8;
}

.account-settings-modal > header span {
  color: #08785b;
  font-size: 11px;
  font-weight: 800;
}

.account-settings-modal > header h2 {
  margin: 4px 0 5px;
  color: #172a24;
  font-size: 22px;
}

.account-settings-modal > header small {
  color: #65756f;
  font-size: 12px;
}

.account-settings-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px 24px;
}

.account-settings-body label {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #263a33;
  font-size: 12px;
  font-weight: 700;
}

.account-settings-body input {
  width: 100%;
  height: 42px;
  min-width: 0;
  border: 1px solid #c8d7d2;
  border-radius: 5px;
  background: #fff;
  padding: 0 11px;
  color: #172a24;
  font: inherit;
  font-weight: 500;
}

.account-settings-body input:focus {
  border-color: #07956f;
  outline: 3px solid rgba(7, 149, 111, 0.12);
}

.account-settings-body label small {
  color: #76857f;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.account-settings-error {
  grid-column: 1 / -1;
  border: 1px solid #efb4ae;
  border-radius: 5px;
  background: #fff3f1;
  padding: 10px 12px;
  color: #a83229;
  font-size: 12px;
  font-weight: 700;
}

.account-settings-modal > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  border-top: 1px solid #dbe7e2;
  background: #fafcfb;
}

.account-settings-modal > footer > div {
  display: flex;
  gap: 8px;
}

.account-settings-modal button {
  min-height: 36px;
  border: 1px solid #b9cbc4;
  border-radius: 5px;
  background: #fff;
  padding: 0 13px;
  color: #20372f;
  font-weight: 700;
  cursor: pointer;
}

.account-settings-modal button.primary {
  border-color: #008c67;
  background: #008c67;
  color: #fff;
}

.account-settings-modal button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

@media (max-width: 640px) {
  .account-settings-body {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .account-settings-modal > header,
  .account-settings-modal > footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .account-settings-modal > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .account-settings-modal > footer > div {
    justify-content: flex-end;
  }
}
