/* ============================================ ITEM LIST AND GRID VIEW STYLES ============================================ */ /* Item list container base styles */ .rpg-item-list { min-height: 2rem; padding: 0.5rem; } /* LIST VIEW - Full-width rows */ .rpg-item-list-view { display: flex; flex-direction: column; gap: 0.5rem; } .rpg-item-row { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: transparent; border: 2px solid var(--rpg-highlight); border-radius: 0.25rem; color: var(--SmartThemeBodyColor); font-size: 0.95rem; transition: all 0.2s ease; } .rpg-item-row:hover { border-color: var(--rpg-highlight); background: rgba(var(--rpg-highlight-rgb, 233, 69, 96), 0.1); } .rpg-item-row .rpg-item-name { flex: 1; line-height: 1.5; word-wrap: break-word; overflow-wrap: break-word; } .rpg-item-row .rpg-item-remove { flex-shrink: 0; padding: 0.3rem 0.6rem; background: transparent; border: 1px solid var(--SmartThemeBorderColor); border-radius: 0.25rem; color: var(--SmartThemeFastUISliderColColor); cursor: pointer; transition: all 0.2s ease; font-size: 0.85rem; } .rpg-item-row .rpg-item-remove:hover { background: #dc3545; border-color: #dc3545; color: white; } /* GRID VIEW - Responsive card grid */ .rpg-item-grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; } .rpg-item-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 0.75rem; background: transparent; border: 2px solid var(--rpg-highlight); border-radius: 0.25rem; color: var(--SmartThemeBodyColor); font-size: 0.9rem; transition: all 0.2s ease; min-height: 80px; } .rpg-item-card:hover { border-color: var(--rpg-highlight); background: rgba(var(--rpg-highlight-rgb, 233, 69, 96), 0.1); } .rpg-item-card .rpg-item-name { text-align: center; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; max-width: 100%; } .rpg-item-card .rpg-item-remove { position: absolute; top: 0.25rem; right: 0.25rem; padding: 0; width: 1.5rem; height: 1.5rem; background: transparent; border: none; border-radius: 0.25rem; color: var(--SmartThemeFastUISliderColColor); cursor: pointer; transition: all 0.2s ease; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; } .rpg-item-card .rpg-item-remove:hover { background: #dc3545; color: white; } /* Empty state message */ .rpg-inventory-empty { padding: 1rem; text-align: center; color: var(--SmartThemeFastUISliderColColor); font-style: italic; font-size: 0.9rem; } /* View Toggle Buttons */ .rpg-inventory-header-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; min-width: fit-content; } .rpg-view-toggle { display: flex; gap: 0.25rem; flex-wrap: nowrap; } .rpg-view-btn { padding: 0.35rem 0.6rem; background: var(--SmartThemeBlurTintColor); border: 2px solid var(--SmartThemeBorderColor); border-radius: 0.25rem; color: var(--SmartThemeFastUISliderColColor); cursor: pointer; white-space: nowrap; min-width: fit-content; transition: all 0.2s ease; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; } .rpg-view-btn:hover { background: rgba(var(--rpg-highlight-rgb, 233, 69, 96), 0.1); border-color: var(--rpg-highlight); color: var(--rpg-highlight); } .rpg-view-btn.active { background: var(--SmartThemeBlurTintColor); border-color: var(--rpg-highlight); color: var(--rpg-highlight); }