/* Drops Manager - Styles (theme emeraude/vert) */

/* ============================================
   SIDEBAR
   ============================================ */
.drops-sidebar-card {
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 16px;
}

.drops-sidebar-header {
  padding: 16px;
  background: linear-gradient(135deg, rgba(91, 155, 112, 0.15), rgba(107, 179, 131, 0.1));
  border-bottom: 1px solid var(--border-color);
  min-height: 60px;
  display: flex;
  align-items: center;
}

.drops-sidebar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.drops-sidebar-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.drops-sidebar-id {
  font-size: 0.85rem;
  color: #6bb383;
  font-weight: 600;
}

.drops-sidebar-section {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(58, 42, 30, 0.3);
}

.drops-sidebar-section:last-child {
  border-bottom: none;
}

.drops-sidebar-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.drops-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.drops-info-grid .info-cell {
  padding: 5px 0;
  border-bottom: 1px solid rgba(58, 42, 30, 0.25);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.drops-info-grid .info-cell:nth-child(odd) {
  padding-right: 10px;
  border-right: 1px solid rgba(58, 42, 30, 0.25);
}

.drops-info-grid .info-cell:nth-child(even) {
  padding-left: 10px;
}

.drops-info-grid .info-cell .lbl {
  color: var(--text-muted);
  font-weight: 500;
}

.drops-info-grid .info-cell .val {
  color: var(--text-main);
  font-weight: 700;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
#dropsSearchResults .list-group-item {
  background: #241710;
  border-color: rgba(58, 42, 30, 0.4);
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s;
}

#dropsSearchResults .list-group-item:hover {
  background: rgba(91, 155, 112, 0.15);
}

#dropsMonsterSearchResults .list-group-item {
  background: #241710;
  border-color: rgba(58, 42, 30, 0.4);
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s;
}

#dropsMonsterSearchResults .list-group-item:hover {
  background: rgba(91, 155, 112, 0.15);
}

/* ============================================
   DROP MONSTER CARDS (accordeon)
   ============================================ */
.drops-monster-card {
  border: 1px solid rgba(91, 155, 112, 0.3);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card, #241710);
}

.drops-monster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  background: rgba(91, 155, 112, 0.08);
  transition: background 0.15s;
}

.drops-monster-header:hover {
  background: rgba(91, 155, 112, 0.15);
}

.drops-monster-name {
  color: #6bb383;
  font-weight: 700;
  font-size: 0.9rem;
}

.drops-monster-rate {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: 8px;
}

.drops-monster-chevron {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.drops-monster-body {
  border-top: 1px solid rgba(91, 155, 112, 0.2);
  padding: 14px;
  background: rgba(20, 12, 7, 0.3);
}

.drops-monster-body .form-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.drops-monster-body .form-control,
.drops-monster-body .form-select {
  font-size: 0.85rem;
}

/* ============================================
   ADD MONSTER FORM
   ============================================ */
.drops-add-monster-card {
  border: 1px dashed rgba(91, 155, 112, 0.4);
  border-radius: 8px;
  padding: 14px;
  background: rgba(91, 155, 112, 0.05);
}

/* ============================================
   BADGES / STATUS
   ============================================ */
.drops-badge-count {
  background: rgba(91, 155, 112, 0.2);
  color: #6bb383;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.drops-badge-no-drop {
  background: rgba(58, 42, 30, 0.3);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* ============================================
   TOOLBAR (tri / filtre / bulk)
   ============================================ */
.drops-toolbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.drops-toolbar-filter {
  flex: 1;
  min-width: 200px;
}

.drops-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.drops-toolbar-bulk {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================
   ACTIONS
   ============================================ */
.drops-actions-bar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(58, 42, 30, 0.3);
}
