/* Item transfer page — flat rows, category text colors, inline form */

.l2-item-transfer-root {
  padding: 8px 10px 14px;
}

.l2-item-transfer-panel__title {
  margin: 0 0 8px;
  text-align: center;
  color: #ffdf8c;
  font: 700 17px/1.2 'Lora', Georgia, serif;
}

.l2-item-transfer-link-wrap {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
}

.l2-item-transfer-link-wrap a {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

.l2-item-transfer-err {
  margin: 0 0 8px;
  color: #f08080;
  font-size: 13px;
  text-align: center;
}

.l2-item-transfer-loading,
.l2-item-transfer-empty {
  margin: 10px 0;
  text-align: center;
  font-size: 13px;
  color: #c8b898;
}

.l2-item-transfer-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.l2-item-transfer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 7px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e8dcc8;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.12s ease;
}

.l2-item-transfer-row:active,
.l2-item-transfer-row.is-selected {
  background: rgba(212, 168, 96, 0.14);
}

.l2-item-transfer-row.is-selected {
  box-shadow: none;
}

.l2-item-transfer-row--currency .l2-item-transfer-row__name {
  color: #f0d878;
}

.l2-item-transfer-row--currency .l2-item-transfer-row__meta {
  color: #c8a848;
}

.l2-item-transfer-row--resource .l2-item-transfer-row__name {
  color: #88d888;
}

.l2-item-transfer-row--resource .l2-item-transfer-row__meta {
  color: #6a9a6a;
}

.l2-item-transfer-row--recipe .l2-item-transfer-row__name {
  color: #98a8e8;
}

.l2-item-transfer-row--recipe .l2-item-transfer-row__meta {
  color: #7888b8;
}

.l2-item-transfer-row--consumable .l2-item-transfer-row__name {
  color: #e8a868;
}

.l2-item-transfer-row--consumable .l2-item-transfer-row__meta {
  color: #b88858;
}

.l2-item-transfer-row--weapon .l2-item-transfer-row__name {
  color: #e8c060;
}

.l2-item-transfer-row--weapon .l2-item-transfer-row__meta {
  color: #a88848;
}

.l2-item-transfer-row--armor .l2-item-transfer-row__name {
  color: #98a8c8;
}

.l2-item-transfer-row--armor .l2-item-transfer-row__meta {
  color: #7888a8;
}

.l2-item-transfer-row--accessory .l2-item-transfer-row__name {
  color: #c898e8;
}

.l2-item-transfer-row--accessory .l2-item-transfer-row__meta {
  color: #9878b8;
}

.l2-item-transfer-row__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.l2-item-transfer-row__main {
  flex: 1;
  min-width: 0;
}

.l2-item-transfer-row__name {
  display: block;
  font-weight: 600;
  word-break: break-word;
  color: #e8dcc8;
}

.l2-item-transfer-row__meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #a89878;
}

.l2-item-transfer-form {
  margin-top: 4px;
  padding: 10px 6px 10px 8px;
  border: 0;
  background: rgba(32, 28, 22, 0.55);
  border-radius: 6px;
}

.l2-item-transfer-form[hidden] {
  display: none !important;
}

.l2-item-transfer-form__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.l2-item-transfer-form__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.l2-item-transfer-form__title {
  margin: 0;
  font: 600 14px/1.25 'Lora', Georgia, serif;
  color: #e8d8a8;
}

.l2-item-transfer-form__row {
  margin-bottom: 10px;
}

.l2-item-transfer-form__label {
  margin: 0 0 4px;
  font-size: 12px;
  color: #c8b898;
}

.l2-item-transfer-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(165, 145, 116, 0.45);
  background: #121110;
  color: #e8dcc8;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}

.l2-item-transfer-form__preview {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
}

.l2-item-transfer-preview__label,
.l2-item-transfer-preview__num {
  color: #ffffff;
}

.l2-item-transfer-preview__currency {
  color: #ffdf8c;
}

.l2-item-transfer-preview__fee-label {
  color: #9a9588;
}

.l2-item-transfer-preview__sep {
  color: #7a7568;
}

.l2-item-transfer-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.l2-item-transfer-form__btn {
  flex: 0 0 auto;
  min-width: 90px;
  padding: 7px 14px;
  border: 1px solid rgba(197, 152, 74, 0.65);
  border-radius: 8px;
  background: linear-gradient(180deg, #5a4830 0%, #3a3020 100%);
  color: #fff0d8;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.l2-item-transfer-form__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.l2-item-transfer-form__btn--ghost {
  border-color: rgba(165, 145, 116, 0.45);
  background: transparent;
  color: #c8b898;
}

.l2-item-transfer-success {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #88d888;
}

/* Categories + pagination */
.l2-item-transfer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
  margin: 0 0 10px;
}

.l2-item-transfer-cat-btn {
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c8b898;
  font-size: 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

.l2-item-transfer-cat-btn[data-category='all'] {
  color: #f0ece4;
}

.l2-item-transfer-cat-btn[data-category='currency'] {
  color: #ffd86a;
}

.l2-item-transfer-cat-btn[data-category='weapon'] {
  color: #ffb86a;
}

.l2-item-transfer-cat-btn[data-category='shield'] {
  color: #8ec8ff;
}

.l2-item-transfer-cat-btn[data-category='armor'] {
  color: #7ee8b8;
}

.l2-item-transfer-cat-btn[data-category='accessory'] {
  color: #d8a0ff;
}

.l2-item-transfer-cat-btn[data-category='consumable'] {
  color: #ff9868;
}

.l2-item-transfer-cat-btn.is-active {
  background: rgba(212, 168, 96, 0.18);
  box-shadow: inset 0 0 0 1px rgba(224, 184, 96, 0.35);
}

.l2-item-transfer-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 4px;
}

.l2-item-transfer-page-btn {
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: rgba(36, 32, 26, 0.85);
  color: #d8c8a8;
  font-size: 12px;
  cursor: pointer;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.l2-item-transfer-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.l2-item-transfer-page-label {
  font-size: 12px;
  color: #b8a888;
}

.l2-item-transfer-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.l2-item-transfer-form--inline {
  margin: 0;
  border-radius: 0 0 6px 6px;
}

.l2-item-transfer-form--inline .l2-item-transfer-form__input {
  border-radius: 8px;
  background: #ffffff;
  color: #1a1612;
  border: 1px solid rgba(165, 145, 116, 0.55);
  min-height: 40px;
}

.l2-item-transfer-form--inline .l2-item-transfer-form__input::placeholder {
  color: #8a8078;
}

.l2-item-transfer-form__meta {
  margin: 0 0 8px;
  font-size: 11px;
  color: #a89878;
}

.l2-item-transfer-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.l2-item-transfer-confirm-actions .l2-item-transfer-form__btn {
  flex: 0 0 auto;
  min-width: 90px;
}

#item-transfer-confirm-modal.l2-drops-stats-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#item-transfer-confirm-modal.l2-drops-stats-modal[hidden] {
  display: none !important;
}

#item-transfer-confirm-modal .l2-drops-stats-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

#item-transfer-confirm-modal .l2-drops-stats-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 14px 16px 16px;
  border: 1px solid rgba(120, 100, 72, 0.42);
  border-radius: 6px;
  background: #1d1c1a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

#item-transfer-confirm-modal .l2-drops-stats-modal__title {
  font-size: 15px;
  font-weight: 700;
  color: #f0e6d0;
  margin-bottom: 8px;
}

#item-transfer-confirm-modal .l2-drops-stats-modal__hint {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
}
