/* Admin pages — matches the site's dark/gold poker theme */
.admin-page {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow-y: auto;
}

.admin-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1a0f05 0%, #2a1a0a 50%, #1a0f05 100%);
  z-index: -1;
}

.admin-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 2rem 4rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #f0e6d2;
}

.admin-content h1 {
  font-size: 2.4rem;
  color: #d4a017;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
  margin: 0 0 2rem;
  text-align: center;
  font-style: italic;
}

.admin-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(30, 20, 10, 0.8);
  border: 2px solid #8b6914;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4a017;
  transition: all 0.2s;
}

.admin-link:hover {
  background: rgba(50, 35, 15, 0.9);
  border-color: #d4a017;
  transform: translateX(4px);
}

.admin-link-icon {
  font-size: 1.6rem;
}

.admin-link-desc {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #c4b89a;
  margin-top: 0.2rem;
}

.admin-silly {
  margin-top: 3rem;
  text-align: center;
  opacity: 0.6;
}

.admin-silly pre {
  font-size: 0.8rem;
  line-height: 1;
  color: #c4b89a;
}

.admin-silly .admin-emojis {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.admin-silly .admin-tagline {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  color: #8b6914;
  font-style: italic;
}

/* Ruby console */
.console-container {
  background: rgba(10, 8, 5, 0.9);
  border: 2px solid #8b6914;
  border-radius: 12px;
  overflow: hidden;
}

.console-input-area {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
}

.console-prompt {
  padding: 1rem 0 1rem 1rem;
  color: #d4a017;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  user-select: none;
}

.console-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f0e6d2;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  padding: 1rem 1rem 1rem 0.5rem;
  resize: vertical;
  line-height: 1.5;
  min-height: 60px;
}

.console-input::placeholder {
  color: rgba(196, 184, 154, 0.4);
}

.console-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
  background: rgba(20, 14, 8, 0.6);
}

.console-run-btn {
  background: linear-gradient(135deg, #d4a017, #8b6914);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.console-run-btn:hover {
  opacity: 0.85;
}

.console-run-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.console-clear-btn {
  background: transparent;
  color: #c4b89a;
  border: 1px solid rgba(139, 105, 20, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.console-clear-btn:hover {
  border-color: #d4a017;
  color: #d4a017;
}

.console-status {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  margin-left: auto;
}

.console-status-running { color: #d4a017; }
.console-status-done { color: #3cb043; }
.console-status-error { color: #d42b2b; }

.console-output {
  padding: 1rem;
  max-height: 500px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.console-welcome {
  color: rgba(196, 184, 154, 0.5);
  font-style: italic;
  margin: 0;
}

.console-entry {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.15);
  padding-bottom: 0.8rem;
}

.console-entry-cmd {
  color: #d4a017;
  white-space: pre-wrap;
  word-break: break-all;
}

.console-entry-stdout {
  color: #c4b89a;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 0.3rem;
}

.console-entry-result {
  color: #3cb043;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 0.3rem;
}

.console-entry-error {
  color: #d42b2b;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 0.3rem;
}

/* Items Request admin */
.admin-items-request-desc {
  color: #c4b89a;
  margin: 0 0 1.5rem;
}

.admin-items-request-flash {
  color: #3cb043;
  margin: 0 0 1rem;
}

.admin-items-request-section {
  margin-bottom: 2.5rem;
}

.admin-items-request-section-heading {
  font-size: 1.35rem;
  color: #d4a017;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
}

.admin-items-request-past {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-items-request-week-details {
  border: 2px solid #8b6914;
  border-radius: 10px;
  background: rgba(20, 14, 8, 0.5);
  overflow: hidden;
}

.admin-items-request-week-summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 700;
  color: #d4a017;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-items-request-week-summary::-webkit-details-marker {
  display: none;
}

.admin-items-request-week-summary::before {
  content: "▶";
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.admin-items-request-week-details[open] .admin-items-request-week-summary::before {
  transform: rotate(90deg);
}

.admin-items-request-week-list {
  margin: 0;
  padding: 0.5rem 1rem 1rem 1.5rem;
  list-style: none;
  border-top: 1px solid rgba(139, 105, 20, 0.3);
}

.admin-items-request-week-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 105, 20, 0.15);
  font-size: 0.95rem;
}

.admin-items-request-week-item:last-child {
  border-bottom: none;
}

.admin-items-request-approve-form {
  display: inline;
  margin: 0;
}

.admin-items-request-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #f0e6d2;
}

.admin-items-request-checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #d4a017;
  cursor: pointer;
}

.admin-items-request-item-name {
  font-weight: 500;
}

.admin-items-request-item-meta {
  font-size: 0.9rem;
  color: #c4b89a;
}

.admin-items-request-item-meta a {
  color: #d4a017;
  text-decoration: underline;
}

.admin-items-request-item-meta a:hover {
  color: #f0d040;
}

.admin-items-request-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 2px solid #8b6914;
  border-radius: 12px;
  background: rgba(20, 14, 8, 0.6);
}

.admin-items-request-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-items-request-table th,
.admin-items-request-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 105, 20, 0.3);
}

.admin-items-request-table th {
  color: #d4a017;
  font-weight: 700;
  white-space: nowrap;
}

.admin-items-request-table td {
  color: #f0e6d2;
  vertical-align: top;
}

.admin-items-request-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-items-request-table a {
  color: #d4a017;
  text-decoration: underline;
}

.admin-items-request-table a:hover {
  color: #f0d040;
}

.admin-items-request-email {
  font-size: 0.85rem;
  color: #c4b89a;
}

.admin-items-request-empty {
  color: #c4b89a;
  font-style: italic;
  margin: 0;
}

.admin-link-inline {
  color: #d4a017;
  text-decoration: underline;
}

.admin-link-inline:hover {
  color: #f0d040;
}

.sync-section {
  margin-bottom: 2.5rem;
}

.sync-section-heading {
  font-size: 1.35rem;
  color: #d4a017;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
}

.sync-config-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.sync-config-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(20, 14, 8, 0.6);
  border: 1px solid rgba(139, 105, 20, 0.4);
  border-radius: 8px;
}

.sync-config-label {
  color: #c4b89a;
  font-size: 0.9rem;
}

.sync-status-badge {
  font-size: 0.9rem;
  font-weight: 600;
}

.sync-ok { color: #3cb043; }
.sync-warn { color: #e6a817; }
.sync-error { color: #d42b2b; }

.sync-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.sync-alert code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.sync-alert-error {
  background: rgba(212, 43, 43, 0.15);
  border: 1px solid rgba(212, 43, 43, 0.4);
  color: #f0a0a0;
}

.sync-table-wrap {
  overflow-x: auto;
  border: 2px solid #8b6914;
  border-radius: 12px;
  background: rgba(20, 14, 8, 0.6);
}

.sync-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sync-table th,
.sync-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 105, 20, 0.25);
}

.sync-table th {
  color: #d4a017;
  font-weight: 700;
  white-space: nowrap;
}

.sync-table td {
  color: #f0e6d2;
}

.sync-table td code {
  font-size: 0.85rem;
  color: #c4b89a;
}

.sync-table tbody tr:last-child td {
  border-bottom: none;
}

.sync-muted {
  color: #8a7e6a;
  font-style: italic;
  font-size: 0.85rem;
}

.sync-model-card {
  background: rgba(20, 14, 8, 0.7);
  border: 2px solid #8b6914;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.sync-model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sync-model-name {
  margin: 0;
  font-size: 1.15rem;
  color: #d4a017;
}

.sync-model-table {
  font-size: 0.8rem;
  color: #8a7e6a;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.sync-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sync-stat {
  text-align: center;
  padding: 0.6rem;
  background: rgba(10, 8, 5, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(139, 105, 20, 0.2);
}

.sync-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0e6d2;
}

.sync-stat-label {
  display: block;
  font-size: 0.75rem;
  color: #8a7e6a;
  margin-top: 0.2rem;
}

.sync-details {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.sync-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(139, 105, 20, 0.1);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sync-detail-label {
  color: #8a7e6a;
}

.sync-detail-value {
  color: #f0e6d2;
}

.sync-error-details {
  margin-top: 0.4rem;
}

.sync-error-details summary {
  cursor: pointer;
  color: #d42b2b;
  font-size: 0.8rem;
}

.sync-error-trace {
  margin: 0.4rem 0 0;
  padding: 0.6rem;
  background: rgba(10, 5, 5, 0.8);
  border: 1px solid rgba(212, 43, 43, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #f0a0a0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 300px;
  overflow-y: auto;
}

.sync-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.sync-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3cb043, #5fd068);
  border-radius: 3px;
  transition: width 0.3s;
}

.sync-progress-label {
  font-size: 0.75rem;
  color: #8a7e6a;
  text-align: right;
}

.sync-force-btn {
  background: linear-gradient(135deg, #d4a017, #8b6914);
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.sync-force-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.sync-force-btn:active {
  transform: scale(0.98);
}

.sync-alert-ok {
  background: rgba(60, 176, 67, 0.15);
  border: 1px solid rgba(60, 176, 67, 0.4);
  color: #6fd876;
  margin-bottom: 1.5rem;
}

.sync-log-output {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  background: rgba(10, 8, 5, 0.9);
  border: 1px solid rgba(139, 105, 20, 0.3);
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #c4b89a;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
  line-height: 1.5;
}

/* Admin — all users (bolts, projects, hours, …) */
.admin-content--wide {
  max-width: min(1400px, 100%);
}

.admin-users-lead {
  color: #c4b89a;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.admin-users-toolbar {
  margin-bottom: 1rem;
}

.admin-users-search {
  width: 100%;
  max-width: 28rem;
  padding: 0.75rem 1rem;
  background: rgba(30, 20, 10, 0.85);
  border: 2px solid #8b6914;
  border-radius: 8px;
  color: #f0e6d2;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
}

.admin-users-search::placeholder {
  color: #8b6914;
}

.admin-users-search:focus {
  outline: none;
  border-color: #d4a017;
}

.admin-users-table-wrap {
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 960px;
}

.admin-users-table th,
.admin-users-table td {
  padding: 0.65rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 105, 20, 0.35);
  vertical-align: top;
  color: #e8dcc8;
}

.admin-users-table th {
  background: rgba(139, 105, 20, 0.2);
  color: #d4a017;
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-users-table tbody tr:hover {
  background: rgba(50, 35, 15, 0.35);
}

.admin-users-participant {
  min-width: 12rem;
}

.admin-users-name {
  display: block;
  font-weight: 700;
  color: #f0e6d2;
}

.admin-users-email {
  display: block;
  font-size: 0.8rem;
  color: #a89878;
  word-break: break-all;
}

.admin-users-meta {
  display: block;
  font-size: 0.75rem;
  color: #7a7058;
}

.admin-users-role {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(139, 105, 20, 0.35);
  color: #e8dcc8;
}

.admin-users-role--super_admin {
  background: rgba(180, 50, 50, 0.35);
  color: #ffb0b0;
}

.admin-users-role--admin {
  background: rgba(100, 80, 140, 0.5);
  color: #e0d4ff;
}

.admin-users-role--reviewer {
  background: rgba(40, 100, 120, 0.45);
  color: #b8e8f0;
}

.admin-users-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.admin-users-nowrap {
  white-space: nowrap;
}

.admin-users-date {
  font-size: 0.82rem;
  color: #c4b89a;
  white-space: nowrap;
}

.admin-users-empty {
  text-align: center;
  color: #8b6914;
  padding: 2rem;
}

.admin-users-export {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(30, 20, 10, 0.55);
  border: 1px solid rgba(139, 105, 20, 0.45);
  border-radius: 10px;
}

.admin-users-export-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.admin-users-export-title {
  font-weight: 700;
  color: #d4a017;
  font-size: 1rem;
  margin-right: 0.25rem;
}

.admin-users-export-label {
  font-size: 0.82rem;
  color: #b0a080;
  font-weight: 600;
}

.admin-users-export-select {
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  background: rgba(30, 20, 10, 0.9);
  border: 2px solid #8b6914;
  border-radius: 8px;
  color: #e8dcc8;
  font-size: 0.85rem;
  font-family: 'Georgia', serif;
  cursor: pointer;
  min-width: 14rem;
}

.admin-users-export-select:focus {
  outline: none;
  border-color: #d4a017;
}

.admin-users-export-btn {
  padding: 0.5rem 1.1rem;
  background: #8b6914;
  border: 2px solid #d4a017;
  border-radius: 8px;
  color: #f0e6d2;
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.admin-users-export-btn:hover {
  background: #a67f18;
}

.admin-users-export-hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #7a7058;
  line-height: 1.4;
}

.admin-users-toolbar--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-users-toolbar--split .admin-users-search {
  flex: 1;
  min-width: 14rem;
  max-width: 28rem;
}

.admin-users-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
}

.admin-users-filter-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-users-sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-users-sort-label {
  font-size: 0.8rem;
  color: #b0a080;
  font-weight: 600;
  font-family: 'Georgia', serif;
  white-space: nowrap;
}

.admin-users-sort-select {
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  background: rgba(30, 20, 10, 0.9);
  border: 2px solid #8b6914;
  border-radius: 8px;
  color: #e8dcc8;
  font-size: 0.85rem;
  font-family: 'Georgia', serif;
  cursor: pointer;
  min-width: 14rem;
  max-width: 100%;
}

.admin-users-sort-select:focus {
  outline: none;
  border-color: #d4a017;
}

.admin-users-label-filter-select {
  min-width: 11rem;
}

a.admin-users-profile-link {
  text-decoration: none;
  color: inherit;
}

a.admin-users-profile-link:hover .admin-users-name {
  color: #d4a017;
  text-decoration: underline;
}

/* Admin — single user profile */
.admin-user-profile-title {
  font-size: 2rem;
  color: #d4a017;
  margin: 0 0 1.25rem;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

.admin-user-profile-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.admin-user-profile-card {
  background: rgba(30, 20, 10, 0.75);
  border: 1px solid rgba(139, 105, 20, 0.45);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.admin-user-profile-card--highlight {
  border-color: #d4a017;
  background: rgba(50, 40, 20, 0.5);
}

.admin-user-profile-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b6914;
  margin-bottom: 0.35rem;
}

.admin-user-profile-value {
  font-size: 0.95rem;
  color: #e8dcc8;
  word-break: break-word;
}

.admin-user-profile-bolts {
  font-size: 1.35rem;
  font-weight: 800;
  color: #d4a017;
}

.admin-user-section-title {
  font-size: 1.25rem;
  color: #d4a017;
  margin: 2rem 0 0.75rem;
  border-bottom: 1px solid rgba(139, 105, 20, 0.4);
  padding-bottom: 0.35rem;
}

.admin-user-projects-table {
  margin-bottom: 0.5rem;
}

.admin-user-superadmin-panel {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(40, 25, 15, 0.55);
  border: 2px solid rgba(180, 50, 50, 0.35);
  border-radius: 12px;
}

.admin-user-superadmin-lead {
  color: #c4a898;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.admin-user-priority-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0;
}

.admin-user-priority-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #e8dcc8;
  user-select: none;
}

.admin-user-priority-toggle input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #9333ea;
}

.admin-user-notes-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.admin-user-note {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(20, 12, 8, 0.6);
  border: 1px solid rgba(139, 105, 20, 0.35);
  border-radius: 8px;
}

.admin-user-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #8b6914;
  margin-bottom: 0.5rem;
}

.admin-user-note-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(194, 65, 12, 0.45);
  color: #fde68a;
}

.admin-user-note-badge--general {
  background: rgba(100, 80, 140, 0.45);
  color: #e8dcc8;
}

.admin-user-note-adjustment {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d4a017;
  margin: 0 0 0.5rem;
}

.admin-user-note-body {
  margin: 0;
  font-size: 0.92rem;
  color: #e8dcc8;
  line-height: 1.5;
}

.admin-user-note-forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.admin-user-note-form-block {
  padding: 1rem;
  background: rgba(20, 12, 8, 0.45);
  border-radius: 8px;
  border: 1px solid rgba(139, 105, 20, 0.25);
}

.admin-user-form-title {
  font-size: 1rem;
  color: #d4a017;
  margin: 0 0 0.75rem;
}

.admin-user-field-label {
  display: block;
  font-size: 0.82rem;
  color: #b0a080;
  margin-bottom: 0.35rem;
}

.admin-user-textarea,
.admin-user-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(234, 225, 200, 0.85);
  border: 1px solid #8b6914;
  border-radius: 6px;
  color: #1e1410;
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
}

.admin-user-textarea:focus,
.admin-user-input:focus {
  outline: none;
  border-color: #d4a017;
}

.admin-user-submit {
  padding: 0.55rem 1.2rem;
  background: #8b6914;
  border: 2px solid #d4a017;
  border-radius: 6px;
  color: #f0e6d2;
  font-family: 'Georgia', serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}

.admin-user-submit:hover {
  background: #a67f18;
}

.admin-user-submit--danger {
  border-color: #c2410c;
  background: rgba(194, 65, 12, 0.45);
  color: #fff;
}

.admin-user-submit--danger:hover {
  background: rgba(194, 65, 12, 0.65);
}

