/* ===================================================================
   MORDHEIM CSS FIXES
   - Modal Scrolling
   - Dice Dialog Layout
   - Roster Header Redesign
   - Equipment Editor Scrolling
   - Shop/Spell Buttons
   =================================================================== */

/* ===================================================================
   MODAL SCROLLING FIX - KRITISCH
   =================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: linear-gradient(135deg, #2a2520 0%, #1a1815 100%);
  border: 1px solid rgba(201, 169, 89, 0.3);
  border-radius: 12px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 20px 24px;
  max-height: calc(100vh - 200px);
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold, #c9a959) rgba(0,0,0,0.3);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--color-gold, #c9a959);
  border-radius: 4px;
}

/* Modal GrÃƒÂ¶ÃƒÅ¸en */
.modal-sm { width: 400px; max-width: 95vw; }
.modal-md { width: 600px; max-width: 95vw; }
.modal-lg { width: 900px; max-width: 95vw; }
.modal-xl { width: 1100px; max-width: 95vw; }
.modal-large { width: 1000px; max-width: 95vw; }

/* Equipment Editor speziell */
.equipment-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.equipment-shop {
  max-height: none;
}

.equipment-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===================================================================
   DICE DIALOG FIX - Bessere Ausrichtung
   =================================================================== */

.dice-dialog {
  text-align: center;
  padding: 10px 0;
}

.dice-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.dice-input-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dice-input {
  width: 72px;
  height: 72px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  transition: all 0.2s ease;
}

.dice-input:focus {
  outline: none;
  border-color: var(--color-gold, #c9a959);
  box-shadow: 0 0 20px rgba(201, 169, 89, 0.5);
  background: rgba(201, 169, 89, 0.1);
}

.dice-plus {
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 72px;
}

.dice-equals {
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 72px;
  margin-left: 8px;
}

.dice-total {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.dice-total.valid {
  border-color: var(--color-gold, #c9a959);
  color: var(--color-gold, #c9a959);
  background: rgba(201, 169, 89, 0.15);
  box-shadow: 0 0 25px rgba(201, 169, 89, 0.4);
}

.dice-label {
  font-size: 0.8em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dice-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* ===================================================================
   ROSTER HEADER REDESIGN
   =================================================================== */

.wb-header {
  background: linear-gradient(135deg, rgba(30, 25, 20, 0.95) 0%, rgba(20, 18, 15, 0.98) 100%);
  border: 1px solid rgba(201, 169, 89, 0.3);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}

/* Obere Zeile: Name + Typ + Stats */
.wb-header-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: center;
}

.wb-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-name {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold, #c9a959);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.wb-type {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stats Box */
.wb-stats-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.wb-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  min-width: 80px;
}

.wb-stat-box.gold {
  background: linear-gradient(135deg, rgba(201, 169, 89, 0.2) 0%, rgba(201, 169, 89, 0.1) 100%);
  border: 1px solid rgba(201, 169, 89, 0.3);
}

.wb-stat-box.wyrdstone {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0.1) 100%);
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.wb-stat-box.rating {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(139, 0, 0, 0.15) 100%);
  border: 1px solid rgba(139, 0, 0, 0.4);
  min-width: 90px;
}

.wb-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.wb-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.wb-stat-box.gold .wb-stat-value {
  color: var(--color-gold, #c9a959);
}

.wb-stat-box.wyrdstone .wb-stat-value {
  color: #9370db;
}

.wb-stat-box.rating .wb-stat-value {
  color: #ff6b6b;
  font-size: 1.6rem;
}

/* Editierbare Stat-Box */
.wb-stat-box.editable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.wb-stat-box.editable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.wb-stat-input {
  width: 70px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
}

.wb-stat-input:focus {
  outline: none;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.wb-stat-box.wyrdstone .wb-stat-input {
  color: #9370db;
}

/* Hide number spinners */
.wb-stat-input::-webkit-outer-spin-button,
.wb-stat-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wb-stat-input[type=number] {
  -moz-appearance: textfield;
}

/* Untere Zeile: Actions */
.wb-header-actions {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(0,0,0,0.2);
  flex-wrap: wrap;
}

.wb-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wb-action-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.wb-action-btn.trading-btn {
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.25) 0%, rgba(65, 105, 225, 0.15) 100%);
  border-color: rgba(65, 105, 225, 0.4);
  color: #87CEEB;
}

.wb-action-btn.trading-btn:hover {
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.35) 0%, rgba(65, 105, 225, 0.25) 100%);
  box-shadow: 0 0 15px rgba(65, 105, 225, 0.3);
}

.wb-action-btn.primary {
  background: linear-gradient(135deg, #8b0000 0%, #6b0000 100%);
  border-color: rgba(139, 0, 0, 0.6);
  color: #fff;
}

.wb-action-btn.primary:hover {
  background: linear-gradient(135deg, #a00000 0%, #8b0000 100%);
  box-shadow: 0 0 15px rgba(139, 0, 0, 0.4);
}

.wb-action-btn .count {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

/* ===================================================================
   SHOP & SPELL BUTTONS fÃƒÂ¼r Edit Forms
   =================================================================== */

.edit-equipment-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.edit-equipment-row textarea {
  flex: 1;
  min-height: 60px;
}

.btn-shop,
.btn-spell {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid;
}

.btn-shop {
  background: linear-gradient(135deg, rgba(201, 169, 89, 0.2) 0%, rgba(201, 169, 89, 0.1) 100%);
  border-color: rgba(201, 169, 89, 0.4);
  color: var(--color-gold, #c9a959);
}

.btn-shop:hover {
  background: linear-gradient(135deg, rgba(201, 169, 89, 0.3) 0%, rgba(201, 169, 89, 0.2) 100%);
  box-shadow: 0 0 12px rgba(201, 169, 89, 0.3);
}

.btn-spell {
  background: linear-gradient(135deg, rgba(100, 149, 237, 0.25) 0%, rgba(100, 149, 237, 0.15) 100%);
  border-color: rgba(100, 149, 237, 0.4);
  color: #87CEEB;
}

.btn-spell:hover {
  background: linear-gradient(135deg, rgba(100, 149, 237, 0.35) 0%, rgba(100, 149, 237, 0.25) 100%);
  box-shadow: 0 0 12px rgba(100, 149, 237, 0.4);
}

/* ===================================================================
   XP Recruitment Fail Dialog
   =================================================================== */

.recruit-xp-fail {
  text-align: center;
  padding: 20px;
}

.recruit-xp-fail .fail-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.recruit-xp-fail p {
  margin: 8px 0;
  color: rgba(255,255,255,0.8);
}

.recruit-xp-fail .fail-text {
  color: #ff6b6b;
  font-weight: 500;
  margin: 16px 0;
}

.recruit-xp-fail .hint {
  font-size: 0.9em;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ===================================================================
   Cost Note in Recruitment
   =================================================================== */

.cost-note {
  margin-top: 12px;
  padding: 10px;
  background: rgba(201, 169, 89, 0.1);
  border-left: 3px solid var(--color-gold, #c9a959);
  border-radius: 4px;
}

.cost-note small {
  color: rgba(255,255,255,0.7);
}

.cost-line.highlight-xp {
  color: var(--color-gold, #c9a959);
}

/* ===================================================================
   TRADING POST MODAL
   =================================================================== */

.trading-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(100vh - 120px);
}

.trading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trading-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trading-title h2 {
  margin: 0;
  font-family: 'Cinzel', serif;
  color: var(--color-gold, #c9a959);
}

.trading-icon {
  font-size: 1.5rem;
}

.trading-treasury {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201, 169, 89, 0.15);
  border: 1px solid rgba(201, 169, 89, 0.3);
  border-radius: 8px;
}

.treasury-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.treasury-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold, #c9a959);
}

.treasury-suffix {
  color: rgba(255,255,255,0.5);
}

.close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
}

.trading-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trading-tab {
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.trading-tab:hover {
  background: rgba(255,255,255,0.1);
}

.trading-tab.active {
  background: linear-gradient(135deg, rgba(201, 169, 89, 0.2) 0%, rgba(201, 169, 89, 0.1) 100%);
  border-color: var(--color-gold, #c9a959);
  color: var(--color-gold, #c9a959);
}

.trading-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.trading-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 768px) {
  .wb-header-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wb-stats-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wb-name {
    font-size: 1.3rem;
    text-align: center;
  }

  .wb-type {
    text-align: center;
  }

  .dice-input-row {
    flex-wrap: wrap;
  }

  .dice-input,
  .dice-total {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .edit-equipment-row {
    flex-direction: column;
  }

  .btn-shop,
  .btn-spell {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   RARE ITEMS KLICKBAR
   =================================================================== */

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.items-grid.rare {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.rare-item {
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

.rare-item.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.rare-item.clickable:hover {
  background: rgba(201, 169, 89, 0.15);
  border-color: var(--color-gold, #c9a959);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.rare-item .item-name {
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.rare-item .item-rarity {
  color: #ffc107;
  font-size: 0.85rem;
}

.rare-item .item-price {
  color: var(--color-gold, #c9a959);
  font-weight: 600;
  margin-top: 4px;
}

.rare-item .item-rules {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-style: italic;
  line-height: 1.3;
}

/* Shop Items (Kaufen Tab) */
.shop-item {
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-item:hover {
  background: rgba(46, 125, 50, 0.15);
  border-color: #4caf50;
}

.shop-item.too-expensive {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-item .item-name {
  font-weight: 600;
  color: white;
}

.shop-item .item-price {
  color: var(--color-gold, #c9a959);
  font-weight: 600;
  margin-top: 4px;
}

.shop-item .item-notes {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-style: italic;
}

/* ===================================================================
   SEARCHER SELECT MODAL
   =================================================================== */

.searcher-select-modal {
  padding: 10px 0;
}

.search-item-info {
  background: rgba(201, 169, 89, 0.1);
  border: 1px solid rgba(201, 169, 89, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.search-item-info h4 {
  margin: 0 0 8px 0;
  color: var(--color-gold, #c9a959);
  font-family: 'Cinzel', serif;
}

.search-item-info p {
  margin: 4px 0;
  color: rgba(255,255,255,0.8);
}

/* Search Tab Styles */
.search-tab {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-rules {
  background: rgba(63, 81, 181, 0.15);
  border: 1px solid rgba(63, 81, 181, 0.3);
  border-radius: 10px;
  padding: 15px 20px;
}

.search-rules h4 {
  margin: 0 0 8px 0;
  color: #7986cb;
}

.search-rules p {
  margin: 4px 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.available-searchers {
  padding: 10px 15px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
}

.available-searchers strong {
  color: var(--color-gold, #c9a959);
}

.search-results {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 15px;
}

.search-results h4 {
  margin: 0 0 12px 0;
  color: var(--color-gold, #c9a959);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  margin-bottom: 8px;
}

.search-result.found {
  border-left: 3px solid #4caf50;
}

.search-result.not-found {
  border-left: 3px solid #f44336;
  opacity: 0.7;
}

.search-result .result-item {
  font-weight: 600;
  color: white;
  flex: 1;
}

.search-result .result-roll {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.search-result .result-status {
  font-weight: 500;
}

.search-result.found .result-status {
  color: #4caf50;
}

.search-result.not-found .result-status {
  color: #f44336;
}

.rare-items-list h4 {
  margin-bottom: 12px;
  color: var(--color-gold, #c9a959);
}

/* Stash/Sell Tab */
.sell-tab {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.stash-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

.stash-item .item-name {
  flex: 1;
  font-weight: 500;
  color: white;
}

.stash-item .item-sell-price {
  color: var(--color-gold, #c9a959);
  font-weight: 600;
}

.empty-stash {
  padding: 30px;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* Buy Tab */
.buy-tab {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-intro {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

.item-category h4 {
  color: var(--color-gold, #c9a959);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(201, 169, 89, 0.3);
}

/* ===================================================================
   WUERFEL DIALOG
   =================================================================== */

.roll-modal {
  text-align: center;
  padding: 10px 0;
}

.roll-modal h3 {
  margin: 0 0 10px 0;
  color: var(--color-gold, #c9a959);
}

.roll-modal p {
  margin: 0 0 20px 0;
  color: rgba(255,255,255,0.8);
}

.dice-input-section {
  margin: 20px 0;
}

.dice-input-section label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
}

.dice-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dice-input {
  width: 70px;
  height: 70px;
  font-size: 2rem;
  text-align: center;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: white;
}

.dice-input:focus {
  border-color: var(--color-gold, #c9a959);
  outline: none;
}

.dice-plus,
.dice-equals {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
}

.dice-total {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  background: rgba(201, 169, 89, 0.15);
  border: 2px solid var(--color-gold, #c9a959);
  border-radius: 10px;
  color: var(--color-gold, #c9a959);
}

.roll-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.item-rarity-info {
  color: #ffc107 !important;
}

.item-rules-info {
  font-style: italic;
  color: rgba(255,255,255,0.6) !important;
  margin-top: 8px !important;
}

.searcher-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.searcher-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.searcher-option:hover {
  background: rgba(46, 125, 50, 0.2);
  border-color: #4caf50;
}

.searcher-option .searcher-name {
  font-weight: 600;
  color: white;
}

.searcher-option .searcher-type {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ===================================================================
   EQUIPMENT EDITOR SCROLLING FIX
   =================================================================== */

.equipment-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: none;
}

.equipment-shop {
  max-height: none !important;
  overflow: visible;
}

.equipment-section {
  margin-bottom: 12px;
}

.equipment-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: none;
}

/* Stash Assign Liste scrollbar wenn nÃƒÂ¶tig */
.stash-assign-list {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Modal Body grundsÃƒÂ¤tzlich scrollbar */
.modal-body {
  overflow-y: auto !important;
  max-height: calc(100vh - 180px) !important;
}

/* Equipment Grid Items */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.equipment-grid .eq-item {
  padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equipment-grid .eq-item:hover {
  background: rgba(46, 125, 50, 0.2);
  border-color: #4caf50;
}

.equipment-grid .eq-item.too-expensive {
  opacity: 0.4;
  cursor: not-allowed;
}

.equipment-grid .eq-item .eq-name {
  font-weight: 500;
  color: white;
}

.equipment-grid .eq-item .eq-cost {
  color: var(--color-gold, #c9a959);
  font-weight: 600;
}

/* ===================================================================
   MODAL 2XL SIZE
   =================================================================== */

.modal-2xl {
  width: 1300px;
  max-width: 95vw;
}
/* ===================================================================
   HERO EDIT MODAL - VERBESSERTES LAYOUT
   =================================================================== */

/* Skills Row mit Buttons */
.edit-skills-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.edit-skills-row textarea {
  flex: 1;
  min-height: 50px;
}

.skill-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 110px;
}

/* Einheitliche Action-Buttons */
.btn-action {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-skill-add {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
}

.btn-skill-add:hover {
  background: linear-gradient(135deg, #5b4cdb 0%, #8c7ae6 100%);
  transform: translateY(-1px);
}

.btn-spell {
  background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
  color: white;
}

.btn-spell:hover {
  background: linear-gradient(135deg, #9a7209 0%, #c4941d 100%);
}

.btn-mutation {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
  color: white;
}

.btn-mutation:hover {
  background: linear-gradient(135deg, #7d3c98 0%, #8e44ad 100%);
}

/* Injuries Section */
.injuries-section {
  margin-top: 15px;
}

.injuries-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  min-height: 44px;
  align-items: center;
}

.injury-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.4) 0%, rgba(80, 0, 0, 0.4) 100%);
  border: 1px solid rgba(220, 53, 69, 0.5);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ff9999;
}

.injury-remove {
  background: rgba(220, 53, 69, 0.3);
  border: none;
  color: #ff6666;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.injury-remove:hover {
  background: #dc3545;
  color: white;
}

.no-injuries {
  color: #888;
  font-style: italic;
  font-size: 0.9rem;
}

/* Danger Zone Buttons */
.danger-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-danger-action {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-injury-add {
  background: linear-gradient(135deg, #8B0000 0%, #5c0000 100%);
  color: #ffcccc;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

.btn-injury-add:hover {
  background: linear-gradient(135deg, #a00000 0%, #700000 100%);
  color: white;
}

/* ===================================================================
   SKILL SELECTION MODAL
   =================================================================== */

.skill-selection-modal {
  max-height: 70vh;
  overflow-y: auto;
}

.skill-selection-modal h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

.skill-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.skill-category {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.skill-category h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-option {
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.3);
  color: #a29bfe;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.skill-option:hover {
  background: rgba(108, 92, 231, 0.4);
  color: white;
  border-color: #6c5ce7;
}

/* ===================================================================
   MUTATION MODAL
   =================================================================== */

.mutation-modal {
  max-height: 70vh;
  overflow-y: auto;
}

.mutation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.mutation-header h3 {
  color: #9b59b6;
  margin: 0;
}

.gold-display {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.mutation-note {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 15px;
  font-style: italic;
}

.mutation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mutation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(142, 68, 173, 0.1);
  border: 1px solid rgba(142, 68, 173, 0.3);
  border-radius: 8px;
  transition: all 0.2s;
}

.mutation-item:hover:not(.owned):not(.too-expensive) {
  background: rgba(142, 68, 173, 0.2);
  border-color: #8e44ad;
}

.mutation-item.owned {
  background: rgba(46, 204, 113, 0.1);
  border-color: rgba(46, 204, 113, 0.3);
}

.mutation-item.too-expensive {
  opacity: 0.5;
}

.mutation-info {
  flex: 1;
}

.mutation-name {
  display: block;
  color: #bb8fce;
  font-weight: 600;
  margin-bottom: 4px;
}

.mutation-desc {
  color: #888;
  font-size: 0.85rem;
}

.mutation-action {
  margin-left: 15px;
}

.btn-buy-mutation {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-buy-mutation:hover:not(.disabled) {
  background: linear-gradient(135deg, #7d3c98 0%, #8e44ad 100%);
  transform: scale(1.05);
}

.btn-buy-mutation.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.owned-badge {
  color: #2ecc71;
  font-weight: 600;
}

/* ===================================================================
   INJURY MODAL
   =================================================================== */

.injury-modal h3 {
  color: #e74c3c;
  margin-bottom: 15px;
}

.injury-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 50vh;
  overflow-y: auto;
}

.injury-option {
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ffaaaa;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.injury-option:hover {
  background: rgba(139, 0, 0, 0.4);
  border-color: #dc3545;
  color: white;
}

.injury-option.death {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.5) 0%, rgba(80, 0, 0, 0.5) 100%);
  border-color: #dc3545;
  color: #ff6666;
  font-weight: 600;
}

.injury-option.death:hover {
  background: linear-gradient(135deg, #8B0000 0%, #5c0000 100%);
  color: white;
}

/* Modal Footer */
.modal-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel {
  background: rgba(108, 117, 125, 0.3);
  color: #aaa;
  border: 1px solid rgba(108, 117, 125, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: rgba(108, 117, 125, 0.5);
  color: white;
}

/* ===================================================================
   POST-BATTLE: MULTI-VERLETZUNGEN
   =================================================================== */

.injury-result.multi-pending,
.injury-result.multi-in-progress {
  background: rgba(139, 0, 0, 0.3);
  border-color: rgba(220, 53, 69, 0.6);
}

.injury-result.multi-resolved {
  background: rgba(139, 69, 0, 0.2);
  border-color: rgba(255, 165, 0, 0.5);
}

.multi-count-input {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.multi-warning {
  color: #e74c3c;
  font-weight: 600;
  margin-bottom: 10px;
}

.multi-rolls-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.multi-roll-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.multi-roll-item.pending {
  border-left-color: #f39c12;
}

.multi-roll-item.done.dead {
  border-left-color: #e74c3c;
  background: rgba(220, 53, 69, 0.15);
}

.multi-roll-item.done.recovery {
  border-left-color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
}

.multi-roll-item.done.injured {
  border-left-color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
}

.multi-roll-item .roll-number {
  font-weight: 700;
  color: #888;
  min-width: 30px;
}

.multi-roll-item .roll-result {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85rem;
}

.multi-roll-item .roll-text {
  flex: 1;
  font-size: 0.9rem;
}

.multi-roll-item .d66-input-group {
  display: flex;
  gap: 4px;
  align-items: center;
}

.multi-roll-item .d6-input.small {
  width: 45px;
  padding: 4px 6px;
  font-size: 0.85rem;
}

.mini-sub-roll {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}

.btn-xs {
  padding: 3px 8px;
  font-size: 0.75rem;
}

.multi-effects-list {
  margin: 10px 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.multi-effect {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.multi-effect:last-child {
  border-bottom: none;
}

.stat-mods-summary {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.9rem;
}

.stat-mod {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  margin: 0 4px;
  font-weight: 600;
}

.stat-mod.negative {
  background: rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
}

.stat-mod.positive {
  background: rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.dice-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===================================================================
   TEXTAREA STYLING FÃƒÅ“R EDIT MODAL
   =================================================================== */

.edit-form-wide textarea,
.edit-equipment-row textarea,
.edit-skills-row textarea {
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  color: #e0e0e0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 60px;
}

.edit-form-wide textarea:focus,
.edit-equipment-row textarea:focus,
.edit-skills-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.edit-form-wide textarea::placeholder {
  color: #666;
}

/* Modal Actions Styling */
.modal-actions {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ===================================================================
   EQUIPMENT EDITOR - SCROLLABLE FIX
   =================================================================== */

.equipment-categories.scrollable {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 8px;
}

.equipment-categories.scrollable::-webkit-scrollbar {
  width: 8px;
}

.equipment-categories.scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.equipment-categories.scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}

.equipment-categories.scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}

/* Mutation List Scrollable */
.mutation-list {
  max-height: 450px;
  overflow-y: auto;
  padding-right: 8px;
}

.mutation-list::-webkit-scrollbar {
  width: 8px;
}

.mutation-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.mutation-list::-webkit-scrollbar-thumb {
  background: rgba(142, 68, 173, 0.4);
  border-radius: 4px;
}

/* Equipment Editor breiter */
.equipment-editor {
  min-width: 600px;
}

@media (max-width: 768px) {
  .equipment-editor {
    min-width: auto;
  }

  .equipment-categories.scrollable {
    max-height: 250px;
  }
}

/* ===================================================================
   EQUIPMENT EDITOR - HORIZONTAL SCROLL FIX
   =================================================================== */

.equipment-editor {
  min-width: auto;
  max-width: 100%;
  overflow-x: hidden;
}

.equipment-section {
  overflow-x: hidden;
}

.category-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

/* ===================================================================
   FRIEDHOF MODAL - STYLING
   =================================================================== */

.graveyard-content {
  padding: 0;
}

.graveyard-table {
  width: 100%;
  border-collapse: collapse;
}

.graveyard-table th {
  text-align: left;
  padding: 10px 15px;
  color: var(--gold, #d4af37);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  font-size: 0.9rem;
}

.graveyard-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.graveyard-table tr:hover {
  background: rgba(139, 0, 0, 0.1);
}

.graveyard-table .skull-icon {
  font-size: 1.2rem;
  opacity: 0.7;
}

.graveyard-table .hero-name {
  font-weight: 600;
  color: #e0e0e0;
}

.graveyard-table .hero-type {
  color: #888;
}

.graveyard-table .hero-xp {
  font-family: monospace;
  color: #aaa;
}

.graveyard-table .hero-level {
  color: var(--gold, #d4af37);
}

.graveyard-table .death-date {
  color: #888;
  font-size: 0.9rem;
}

.graveyard-table .death-cause {
  color: #ef9a9a;
  font-style: italic;
  font-size: 0.85rem;
}

.graveyard-summary {
  display: flex;
  gap: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

.graveyard-summary .stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.graveyard-summary .stat-value {
  color: #e0e0e0;
  font-weight: 600;
}

/* Legacy graveyard-entry support */
.graveyard-entry {
  display: grid;
  grid-template-columns: 30px 1fr 100px 100px 1fr;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.graveyard-entry:hover {
  background: rgba(139, 0, 0, 0.1);
}

.grave-name {
  font-weight: 600;
  color: #e0e0e0;
}

.grave-type {
  color: #888;
}

.grave-date {
  color: #888;
  font-size: 0.9rem;
}

.grave-cause {
  color: #ef9a9a;
  font-style: italic;
  font-size: 0.85rem;
}

/* ===================================================================
   ROSTER EDITOR - SEPARATE FIELDS FOR SKILLS & INJURIES
   =================================================================== */

.skills-field .field-val,
.injuries-field .field-val {
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  min-height: 28px;
}

.skills-field .field-val.empty {
  color: #666;
  font-style: italic;
}

.injuries-field {
  border-left: 3px solid #ff6b6b;
  padding-left: 8px;
  margin-left: -8px;
}

.injuries-field .field-val {
  color: #ff6b6b;
  background: rgba(139, 0, 0, 0.15);
}

.injuries-field label {
  color: #ff6b6b !important;
}

/* Spell und Mutation Icons in Skills */
.field-val.skills {
  word-break: break-word;
}

/* ===================================================================
   WARBAND SETTINGS ROW
   =================================================================== */

.wb-settings-row {
  display: flex;
  gap: 20px;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.wb-setting {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  cursor: pointer;
  user-select: none;
}

.wb-setting:hover {
  color: #e0e0e0;
}

.wb-setting input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold, #d4af37);
  cursor: pointer;
}

.wb-setting span {
  transition: color 0.2s;
}

/* ===================================================================
   WEAPON BONUS INDICATOR IN STATS
   =================================================================== */

.stat.weapon-bonus {
  position: relative;
}

.stat.weapon-bonus::after {
  content: '\2694';  /* Crossed Swords */
  position: absolute;
  top: -4px;
  right: -2px;
  font-size: 8px;
  opacity: 0.7;
}

.stat.buffed.weapon-bonus {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(255, 215, 0, 0.2));
  border-color: rgba(255, 215, 0, 0.4);
}

/* ===================================================================
   CARD FIELD LABELS WITH ICONS
   =================================================================== */

.card-body .field label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}

.equipment-field label,
.skills-field label,
.injuries-field label {
  font-weight: 500;
}

/* ===================================================================
   ITEM OPTIONS MODAL - VERBESSERT
   =================================================================== */

.item-options-modal {
  padding: 0;
}

.item-options-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.item-options-header .item-icon {
  font-size: 1.5rem;
}

.item-options-header .item-title {
  flex: 1;
  font-weight: 600;
  color: #e0e0e0;
}

.item-options-header .item-sell-value {
  color: var(--gold, #d4af37);
  font-size: 0.9rem;
}

.item-rules {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
  font-style: italic;
}

.item-rules p {
  margin: 0;
}

.item-options-actions {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-options-row {
  display: flex;
  gap: 10px;
}

.item-options-row .btn-option {
  flex: 1;
}

.btn-option.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(100, 100, 100, 0.3);
}

.btn-option.btn-disabled:hover {
  background: rgba(100, 100, 100, 0.3);
  transform: none;
}

/* ===================================================================
   TOAST Z-INDEX FIX - ÃƒÅ“BER MODALS
   =================================================================== */

.toast-container,
#toast-container,
[class*="toast"] {
  z-index: 100000 !important;
}

.toast {
  z-index: 100001 !important;
}

/* FÃƒÂ¼r verschiedene Toast-Implementierungen */
div[style*="position: fixed"][style*="toast"],
div[style*="position: fixed"][style*="Toast"] {
  z-index: 100000 !important;
}

/* ===================================================================
   PROTECTED DAGGER STYLING
   =================================================================== */

.equipment-editor-item.protected-item {
  background: rgba(100, 100, 100, 0.15);
  border: 1px dashed rgba(150, 150, 150, 0.3);
}

.protected-badge {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: 5px;
}

.sm-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(100, 100, 100, 0.3);
}

.sm-btn.disabled:hover {
  background: rgba(100, 100, 100, 0.3);
  transform: none;
}

/* ===================================================================
   EQUIPMENT EDITOR - NEUE SHOP-ITEM CARDS MIT REGELN
   =================================================================== */

/* Modal scrollbar machen statt nur Kategorien */
.equipment-editor {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 5px;
}

.equipment-editor::-webkit-scrollbar {
  width: 8px;
}

.equipment-editor::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.equipment-editor::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}

/* Kategorien nicht mehr einzeln scrollen */
.equipment-categories {
  max-height: none;
  overflow: visible;
}

/* Grid fÃƒÂ¼r Shop-Items mit Regeln */
.category-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

/* Shop Item Card - Trading Post Style */
.shop-item-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-item-card:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-2px);
}

.shop-item-card.too-expensive {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-item-card.too-expensive:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.shop-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.shop-item-name {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.shop-item-cost {
  color: var(--gold, #d4af37);
  font-size: 0.85rem;
  white-space: nowrap;
}

.shop-item-cost.unaffordable {
  color: #ff6b6b;
}

.shop-item-rules {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #999;
  line-height: 1.3;
  font-style: italic;
}

/* Category Header */
.equipment-category {
  margin-bottom: 15px;
}

.category-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold, #d4af37);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Equipment Filter Row */
.equipment-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  margin-bottom: 15px;
}

.equipment-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #ccc;
}

.equipment-filter input[type="checkbox"] {
  accent-color: var(--gold, #d4af37);
}

.gold-display {
  font-weight: 600;
  color: var(--gold, #d4af37);
  background: rgba(255, 215, 0, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
}

/* Aktuelle AusrÃƒÂ¼stung Section */
.current-equipment {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.equipment-editor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.equipment-editor-item .item-name {
  flex: 1;
  font-weight: 500;
}

.equipment-editor-item .item-sell-price {
  color: var(--gold, #d4af37);
  font-size: 0.85rem;
}

.equipment-editor-item .item-actions {
  display: flex;
  gap: 6px;
}

/* ===================================================================
   EQUIPMENT EDITOR - FINALE ÃƒÅ“BERSCHREIBUNG
   Diese Regeln haben PrioritÃƒÂ¤t ÃƒÂ¼ber alle vorherigen
   =================================================================== */

/* Das Modal-Content selbst scrollt */
.modal-content:has(.equipment-editor) {
  max-height: 85vh;
  overflow-y: auto;
}

.modal-content:has(.equipment-editor)::-webkit-scrollbar {
  width: 10px;
}

.modal-content:has(.equipment-editor)::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

.modal-content:has(.equipment-editor)::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.4);
  border-radius: 5px;
}

/* Equipment Editor - KEINE eigene Scroll-Begrenzung */
.equipment-editor {
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Aktuelle AusrÃƒÂ¼stung - NICHT scrollen */
.current-equipment {
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Equipment Kategorien - volle HÃƒÂ¶he */
.equipment-categories,
.equipment-categories.scrollable {
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Equipment Shop Section - volle HÃƒÂ¶he */
.equipment-shop,
.equipment-section.equipment-shop {
  max-height: none !important;
  overflow: visible !important;
}

/* Kategorie Items Grid - Trading Post Style */
.category-items-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 12px !important;
  margin-top: 10px;
}

/* Falls alte .category-items noch existiert */
.category-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 10px !important;
}

/* Kategorie Header */
.equipment-category {
  margin-bottom: 10px;
}

.equipment-category .category-header {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold, #d4af37);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Equipment Section Labels */
.equipment-section > label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold, #d4af37);
  margin-bottom: 10px;
  font-weight: 500;
}

/* Modal Body - Equipment Editor spezifisch */
.modal-body:has(.equipment-editor) {
  overflow-y: auto !important;
  max-height: calc(85vh - 120px) !important;
}

/* Fallback fÃƒÂ¼r Browser ohne :has() Support */
@supports not (selector(:has(*))) {
  .modal-body {
    overflow-y: auto;
    max-height: calc(85vh - 120px);
  }

  .equipment-editor {
    max-height: none;
    overflow: visible;
  }
}

/* ===================================================================
   EQUIPMENT KATEGORIE HEADER - MEHR ABSTAND
   =================================================================== */

.equipment-category .category-header {
  padding-left: 12px !important;
  margin-left: 0;
}

/* Auch die alten .category-header ohne Parent */
.category-header {
  padding-left: 12px;
}

/* ===================================================================
   KATEGORIE HEADER - LINKER ABSTAND FIX (FINALE VERSION)
   =================================================================== */

.equipment-shop .category-header,
.equipment-categories .category-header,
.equipment-category .category-header,
div.category-header,
.category-header {
  padding-left: 15px !important;
  margin-left: 0 !important;
}

/* Falls es ein Span oder anderes Element ist */
.equipment-category > .category-header,
.equipment-shop .equipment-category .category-header {
  padding-left: 15px !important;
}

/* Auch die Kategorie selbst mit Abstand */
.equipment-category {
  padding-left: 5px;
}

/* Grid Items auch mit etwas Abstand */
.category-items-grid {
  padding-left: 5px;
}

/* ===================================================================
   EQUIPMENT EDITOR - FINALE OPTIK FIXES
   =================================================================== */

/* Category Header - volle Breite, kein LÃƒÂ¼cke links */
.equipment-category {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.equipment-category .category-header,
.category-header {
  margin-left: 0 !important;
  padding-left: 15px !important;
  margin-right: 0 !important;
  padding-right: 15px !important;
  /* Volle Breite ohne LÃƒÂ¼cken */
  margin-left: -5px !important;
  margin-right: -5px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Grid Container - mehr Abstand rechts */
.category-items-grid {
  padding-left: 10px !important;
  padding-right: 15px !important;
  margin-right: 0;
}

/* Shop Item Cards - etwas mehr Innenabstand rechts */
.shop-item-card {
  padding-right: 15px !important;
}

/* Equipment Shop Section - AbstÃƒÂ¤nde korrigieren */
.equipment-section.equipment-shop {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Equipment Categories Container */
.equipment-categories {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===================================================================
   EQUIPMENT EDITOR - KORREKTUR: ITEMS MIT ABSTAND, HEADER VOLL
   =================================================================== */

/* Reset der vorherigen Fixes */
.equipment-category {
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Category Header - volle Breite, KEIN negative margin */
.equipment-category .category-header,
.category-header {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Grid Container - HIER kommt der Abstand rein */
.category-items-grid {
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Shop Item Cards - normales Padding */
.shop-item-card {
  padding: 10px 12px !important;
}

/* Equipment Shop Section - Padding fÃƒÂ¼r alles */
.equipment-section.equipment-shop {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Equipment Categories Container - kein eigenes Padding */
.equipment-categories {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Der Filter-Bereich auch mit Abstand */
.equipment-filter {
  margin-left: 15px !important;
  margin-right: 15px !important;
}

/* Aktuelle AusrÃƒÂ¼stung Section - auch mit Abstand */
.current-equipment {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.equipment-editor-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Section Labels mit Abstand */
.equipment-section > label {
  padding-left: 15px !important;
}

/* ===================================================================
   EQUIPMENT EDITOR - FINALE FLUCHTLINIEN-KORREKTUR
   =================================================================== */

/* Die Shop-Items sollen auf gleicher Fluchtlinie sein wie Aktuelle AusrÃƒÂ¼stung */
/* Aktuelle AusrÃƒÂ¼stung hat ca. 15px Abstand durch .current-equipment padding */
/* Das Grid braucht mehr Abstand damit die Cards auf gleicher Linie sind */

.category-items-grid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
}

/* Filter auch angleichen */
.equipment-filter {
  margin-left: 15px !important;
  margin-right: 15px !important;
}

/* Section Label angleichen */
.equipment-section.equipment-shop > label {
  padding-left: 15px !important;
}

/* Category Header - mehr EinrÃƒÂ¼ckung fÃƒÂ¼r Text */
.equipment-category .category-header,
.category-header {
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===================================================================
   EQUIPMENT EDITOR - KATEGORIE HEADER GLEICHE BREITE WIE FILTER
   =================================================================== */

/* Category Header soll gleiche Breite haben wie Filter-Box */
.equipment-category .category-header,
.category-header {
  margin-left: 15px !important;
  margin-right: 15px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Die Equipment-Category selbst ohne margin */
.equipment-category {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===================================================================
   EQUIPMENT EDITOR - EQUIPMENT-CATEGORY BOX MIT MARGIN
   =================================================================== */

/* Die equipment-category Box selbst braucht das margin */
.equipment-category {
  margin-left: 15px !important;
  margin-right: 15px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Category Header - KEIN extra margin mehr, nur padding fÃƒÂ¼r Text */
.equipment-category .category-header,
.category-header {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Grid - KEIN extra margin mehr */
.category-items-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ===================================================================
   TRADING POST - VERBESSERTE ITEM CARDS
   =================================================================== */

/* Shop Item Layout */
.shop-item {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: auto;
}

.shop-item:hover {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.5);
  transform: translateY(-2px);
}

.shop-item.too-expensive {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-item.too-expensive:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Item Header - Name links, Preis rechts */
.shop-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.shop-item .item-name {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.95rem;
  flex: 1;
}

.shop-item .item-price {
  color: var(--gold, #d4af37);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Item Rules */
.shop-item .item-rules {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  line-height: 1.3;
  margin-top: 2px;
}

/* Items Grid - bessere Aufteilung */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

/* Item Category Header */
.item-category h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold, #d4af37);
  font-size: 1rem;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Rare Items - gleiches Layout */
.rare-item {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rare-item:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.5);
  transform: translateY(-2px);
}

.rare-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.rare-item .item-name {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.95rem;
  flex: 1;
}

.rare-item .item-price {
  color: var(--gold, #d4af37);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.rare-item .item-rarity {
  font-size: 0.8rem;
  color: #ffc107;
  font-weight: 600;
  margin-bottom: 2px;
}

.rare-item .item-rules {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  line-height: 1.3;
  margin-top: 4px;
}

/* Available Searchers Box */
.available-searchers {
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.8);
}

.available-searchers strong {
  color: var(--gold, #d4af37);
}

/* ===================================================================
   TRADING POST - EINHEITLICHE ITEM KACHELN + TABS-ROW
   =================================================================== */

/* Tabs Row mit Treasury */
.trading-tabs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.trading-tabs-row .trading-tabs {
  display: flex;
  gap: 0;
  background: transparent;
  border: none;
}

.trading-tabs-row .trading-treasury {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  margin: 10px 0;
}

.treasury-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.treasury-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold, #d4af37);
}

.treasury-suffix {
  color: var(--gold, #d4af37);
  font-weight: 600;
}

/* Einheitliche Item Kacheln fÃƒÂ¼r Shop UND Rare */
.shop-item,
.rare-item {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-item:hover,
.rare-item:hover {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.4);
  transform: translateY(-2px);
}

.rare-item:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.4);
}

.shop-item.too-expensive {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-item.too-expensive:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Item Header - Name links, Preis rechts */
.shop-item .item-header,
.rare-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.shop-item .item-name,
.rare-item .item-name {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 0.95rem;
  flex: 1;
  margin: 0;
}

.shop-item .item-price,
.rare-item .item-price {
  color: var(--gold, #d4af37);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  margin: 0;
}

/* Item Rarity (nur fÃƒÂ¼r Rare Items) */
.rare-item .item-rarity {
  font-size: 0.8rem;
  color: #ffc107;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Item Rules */
.shop-item .item-rules,
.rare-item .item-rules {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  line-height: 1.3;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  border: none;
}

/* Items Grid */
.items-grid,
.items-grid.rare {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

/* Rare Items Header */
.rare-items-list h4 {
  color: var(--gold, #d4af37);
  font-size: 1rem;
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* ÃƒÅ“berschreibe alte trading-post.css Definitionen */
.trading-content .shop-item .item-name,
.trading-content .rare-item .item-name {
  display: inline;
  margin-bottom: 0;
}

.trading-content .shop-item .item-price,
.trading-content .rare-item .item-price {
  margin-top: 0;
}

/* Alte item-notes Klasse ignorieren */
.trading-content .item-notes {
  display: none !important;
}

/* Item-rules verwenden stattdessen */
.trading-content .item-rules {
  display: block !important;
}

/* ===================================================================
   INJURY WARNING - Stats nicht angepasst
   =================================================================== */

.stat.injury-warning {
  animation: injuryPulse 2s ease-in-out infinite;
  position: relative;
}

.stat.injury-warning::after {
  content: '!';
  position: absolute;
  top: -4px;
  right: -2px;
  font-size: 10px;
  font-weight: bold;
  color: #ff6b6b;
}

@keyframes injuryPulse {
  0%, 100% {
    background: rgba(139, 0, 0, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
  }
  50% {
    background: rgba(139, 0, 0, 0.5);
    border-color: rgba(255, 107, 107, 0.8);
  }
}

/* ===================================================================
   ITEM TOOLTIP STYLE - Wie FÃ¤higkeiten/Skills
   =================================================================== */

.item-tooltip-style {
  padding: 0;
}

.item-tooltip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(40, 35, 30, 0.95);
  border-bottom: 1px solid rgba(201, 169, 89, 0.2);
}

.item-tooltip-icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

.item-tooltip-name {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold, #c9a959);
}

.item-tooltip-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  background: rgba(100, 100, 100, 0.4);
  border-radius: 3px;
  color: #999;
}

.item-tooltip-price {
  padding: 8px 15px;
  font-size: 0.85rem;
  color: var(--gold, #c9a959);
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.item-tooltip-desc {
  padding: 12px 15px;
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.item-tooltip-actions {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-tooltip-row {
  display: flex;
  gap: 8px;
}

.item-tooltip-row .btn-option {
  flex: 1;
}

/* Button Styles fÃ¼r Tooltip */
.item-tooltip-style .btn-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(60, 55, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-size: 0.9rem;
}

.item-tooltip-style .btn-option:hover {
  background: rgba(80, 75, 70, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.item-tooltip-style .btn-option .option-icon {
  font-size: 1.1em;
  opacity: 0.9;
}

.item-tooltip-style .btn-option .option-text {
  flex: 1;
}

.item-tooltip-style .btn-option.btn-sell {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.3);
}

.item-tooltip-style .btn-option.btn-sell:hover {
  background: rgba(76, 175, 80, 0.25);
  border-color: rgba(76, 175, 80, 0.5);
}

.item-tooltip-style .btn-option.btn-danger {
  background: rgba(139, 69, 69, 0.3);
  border-color: rgba(139, 69, 69, 0.4);
}

.item-tooltip-style .btn-option.btn-danger:hover {
  background: rgba(139, 69, 69, 0.5);
  border-color: rgba(139, 69, 69, 0.6);
}

.item-tooltip-style .btn-option.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(60, 60, 60, 0.3);
}

.item-tooltip-style .btn-option.btn-disabled:hover {
  background: rgba(60, 60, 60, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}
