/**
 * Diablo IV loot filters stylesheet.
 * Author: vlad1116
 * Website: https://arpg-life.ru
 */

.d4lf-panel {
  background: #0f0e11;
  border: 1px solid #2f2e34;
  border-radius: 6px;
  padding: 14px 16px;
  max-width: 560px;
}

.d4lf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d4lf-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: #1a1815;
  border: 1px solid #463828;
  border-radius: 4px;
  color: #e6dfd3;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.d4lf-btn:hover {
  border-color: #e8b971;
  background: #241d15;
  color: #fff;
}

.d4lf-btn.is-copied {
  border-color: #6bc47d;
  background: #142218;
  color: #b7efc2;
}

.d4lf-btn__name {
  font-weight: 600;
}

.d4lf-btn__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #c8a26a;
  white-space: nowrap;
}

.d4lf-btn.is-copied .d4lf-btn__action {
  color: #8ee59f;
}

.d4lf-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #96919e;
  line-height: 1.4;
}

.d4lf-empty {
  color: #96919e;
  font-size: 13px;
}

/* Admin editor */
.d4lf-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d4lf-editor__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d4lf-editor-row {
  background: #1a1815;
  border: 1px solid #3a3228;
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.d4lf-editor-row__head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.d4lf-input {
  flex: 1 1 auto;
  padding: 5px 8px;
  background: #0f0e11;
  border: 1px solid #463828;
  border-radius: 3px;
  color: #eee;
}

.d4lf-textarea {
  width: 100%;
  padding: 6px 8px;
  background: #0f0e11;
  border: 1px solid #463828;
  border-radius: 3px;
  color: #ccc;
  font-family: monospace;
  font-size: 12px;
  resize: vertical;
}

.d4lf-editor-row__controls {
  display: flex;
  gap: 4px;
}

.d4lf-ctrl,
.d4lf-add {
  background: #252019;
  border: 1px solid #594630;
  border-radius: 3px;
  color: #e8d5b7;
  padding: 4px 9px;
  cursor: pointer;
}

.d4lf-ctrl:hover:not(:disabled),
.d4lf-add:hover {
  border-color: #e8b971;
  color: #fff;
}

.d4lf-ctrl:disabled {
  opacity: .4;
  cursor: default;
}

.d4lf-ctrl--del:hover {
  border-color: #d65a5a;
  color: #ff9c9c;
}

.d4lf-add {
  align-self: flex-start;
}

/* theme-guard:start — generated by tools/theme-guard.mjs, do not edit */
html body .d4lf-btn:where(:hover, :focus) { background: #1a1815; border: 1px solid #463828; color: #e6dfd3; }
html body .d4lf-ctrl:where(:hover, :focus),
html body .d4lf-add:where(:hover, :focus) { background: #252019; border: 1px solid #594630; color: #e8d5b7; }
/* theme-guard:end */
