.workspace > main.user-data-full-width {
  width: 100%;
  max-width: none;
  margin: 0;
}

.user-data-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.user-data-head {
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 17px 20px;
  border-radius: 15px;
}

.user-data-head h2 { font-size: clamp(25px, 3vw, 31px); }
.user-data-head .back-button { width: 38px; height: 38px; border-radius: 11px; }

.user-data-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.user-search {
  width: 50%;
  min-height: 48px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
}

.user-search span { color: var(--gold); font-size: 20px; }
.user-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.user-count { min-width: 48px; height: 48px; padding: 0 12px; display: grid; place-items: center; border: 1px solid #c99a3b; border-radius: 13px; background: #fffdf8; color: #805b14; font-size: 13px; font-weight: 900; box-shadow: var(--shadow); }
.user-data-list { width: 100%; }
.user-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.user-table { width: 100%; border-collapse: collapse; min-width: 980px; table-layout: auto; }
.user-table th { padding: 13px 12px; background: #f2ead8; color: #765519; font-size: 9px; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.user-table td { padding: 13px 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: 11px; vertical-align: middle; }
.user-table tbody tr:hover { background: #fffcf5; }
.user-table td:first-child { width: 45px; color: var(--muted); text-align: center; }
.user-table a { color: #7f5b17; text-decoration: none; }
.user-table a:hover { text-decoration: underline; }
.user-actions { display: flex; gap: 6px; }
.user-actions button { min-width: 54px; padding: 7px 9px; border-radius: 8px; font-size: 9px; font-weight: 900; }
.user-edit-button { border: 1px solid #c79a40; background: #fff9e8; color: #825c10; }
.user-delete-button { border: 1px solid #efc6c3; background: #fff1f0; color: #b94038; }

.user-status { align-self: flex-start; padding: 6px 9px; border-radius: 99px; background: #eee; color: #666; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.user-status.penyewa { background: #e4f4ec; color: #26845c; }
.user-status.staff { background: #e8efff; color: #3768bb; }
.user-status.admin { background: #fff0d0; color: #98680d; }

.user-edit-modal { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 20px; }
.user-edit-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: #140f08b8; }
.user-edit-dialog { position: relative; width: min(470px, 100%); display: grid; gap: 15px; padding: 25px; border: 1px solid #d5b568; border-radius: 18px; background: #fffdf8; box-shadow: 0 25px 75px #0005; }
.user-edit-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.user-edit-head h2 { margin: 4px 0 0; font: 600 25px Georgia; }
.user-edit-head > button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; }
.user-edit-dialog label { display: grid; gap: 7px; color: #725318; font-size: 10px; font-weight: 900; }
.user-edit-dialog input,
.user-edit-dialog select { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #dbd4c5; border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
.user-edit-dialog input:focus,
.user-edit-dialog select:focus { border-color: #b9892d; box-shadow: 0 0 0 3px #d6af5b20; }
.user-edit-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.user-edit-message { margin: 0; padding: 10px 12px; border-radius: 9px; background: #fff0ed; color: #a53c34; font-size: 11px; }

@media (max-width: 760px) {
  .user-search { width: calc(100% - 57px); }
  .user-table { min-width: 920px; }
}

@media (max-width: 440px) {
  .user-edit-dialog { padding: 20px; }
}
