.account-security {
  color: #eee7d6;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}
.account-security h2 {
  font-size: 24px;
  margin: 0 0 22px;
}
.account-security h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.account-security p {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.account-security nav,
.as-actions,
.as-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.account-security nav {
  margin-bottom: 22px;
}
.account-security label {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}
.account-security input,
.account-security select,
.account-security textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1c1d21;
  border: 1px solid #39352b;
  border-radius: 10px;
  color: #eee7d6;
  padding: 13px 15px;
  font: inherit;
}
.account-security input:focus,
.account-security textarea:focus {
  outline: 2px solid #cfa94c;
  outline-offset: 2px;
}
.account-security button {
  border: 1px solid #65512d;
  background: #2b2518;
  color: #f3d487;
  border-radius: 9px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
}
.account-security button[aria-pressed="true"] {
  background: #4d3c18;
}
.account-security button:disabled {
  opacity: 0.5;
  cursor: default;
}
.as-card {
  padding: 22px 0;
  border-bottom: 1px solid #373023;
}
.as-muted,
.as-empty {
  color: #aaa59c;
}
.as-error,
.as-success,
.as-pending {
  padding: 14px;
  border-radius: 10px;
}
.as-error {
  color: #efb0a8;
  background: #3e2422;
}
.as-success {
  color: #cbe0aa;
  background: #273321;
}
.as-pending {
  color: #f2cd7a;
  background: #352d1c;
}
.as-request {
  padding: 20px;
  border: 1px solid #423823;
  border-radius: 12px;
  margin: 16px 0;
}
.as-request strong[data-status="pending"] {
  color: #e9c770;
}
.as-request strong[data-status="approved"] {
  color: #b4d994;
}
.as-filters > label {
  flex: 1;
  min-width: 170px;
}
.as-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.as-confirm {
  background: #201d18;
  border: 1px solid #6d5832;
  border-radius: 16px;
  padding: 25px;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow: auto;
}
.as-confirm .as-actions {
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .account-security {
    min-width: 0;
  }
  .as-card {
    padding: 18px 0;
  }
  .as-request {
    padding: 15px;
  }
  .as-confirm {
    padding: 18px;
  }
  .as-filters {
    display: block;
  }
  .account-security nav button {
    flex: 1;
  }
  .as-actions {
    gap: 9px;
  }
}
