/* HB Outliners — Drop Finder styles */

.drops-main {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(10,10,20,1) 0%, rgba(15,15,25,1) 100%);
}

.drops-header {
  text-align: center;
  padding: 40px 0 20px;
}

.drops-header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0 0 12px;
  color: #fff;
}

.drops-subtitle {
  color: #aab;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.drops-meta {
  font-size: 0.85rem;
  color: #668;
  font-family: 'Courier New', monospace;
}

/* Tabs */
.drops-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 20px 0 24px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.drops-tab {
  background: transparent;
  border: 0;
  color: #aab;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.drops-tab:hover { color: #fff; }

.drops-tab.active {
  color: var(--gold, #ffd700);
  border-bottom-color: var(--gold, #ffd700);
}

/* Search box */
.drops-search {
  max-width: 700px;
  margin: 0 auto 8px;
  position: relative;
}

#drops-search-input {
  width: 100%;
  background: rgba(20,20,30,0.95);
  border: 2px solid rgba(255,215,0,0.3);
  color: #fff;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#drops-search-input:focus {
  border-color: var(--gold, #ffd700);
  box-shadow: 0 0 20px rgba(255,215,0,0.15);
}

#drops-search-input::placeholder { color: #556; }

.drops-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #aab;
}

.drops-filters label {
  cursor: pointer;
  user-select: none;
}

.drops-filters input[type="checkbox"] {
  margin-right: 4px;
  cursor: pointer;
}

/* Suggestions dropdown */
.drops-suggestions {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(20,20,30,0.98);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px;
  max-height: 340px;
  overflow-y: auto;
  position: relative;
  z-index: 10;
}

.drops-suggestions:empty { display: none; }

.drops-suggestion {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ccd;
  font-size: 0.95rem;
  transition: background 0.1s;
}

.drops-suggestion:last-child { border-bottom: 0; }

.drops-suggestion:hover {
  background: rgba(255,215,0,0.08);
  color: #fff;
}

.drops-suggestion .sug-name { font-weight: 600; }

.drops-suggestion .sug-meta {
  font-size: 0.8rem;
  color: #668;
  font-family: 'Courier New', monospace;
}

/* Results */
.drops-result {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 8px;
}

.drops-result:empty { display: none; }

.result-card {
  background: rgba(20,20,30,0.95);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
  flex-wrap: wrap;
  gap: 12px;
}

.result-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold, #ffd700);
  margin: 0;
}

.result-type-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--gold, #ffd700);
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.result-stat {
  background: rgba(0,0,0,0.3);
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--gold, #ffd700);
}

.result-stat-label {
  font-size: 0.75rem;
  color: #668;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.result-stat-value {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

/* Drops table */
.drops-table-wrap {
  overflow-x: auto;
}

.drops-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.drops-table th,
.drops-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drops-table th {
  background: rgba(0,0,0,0.4);
  color: var(--gold, #ffd700);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.drops-table td { color: #ccd; font-size: 0.95rem; }
.drops-table tr:hover td { background: rgba(255,215,0,0.04); }

.rate-bar {
  display: inline-block;
  width: 60px;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-right: 8px;
  vertical-align: middle;
}

.rate-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e74c3c 0%, #f39c12 50%, #27ae60 100%);
  border-radius: 3px;
}

.rate-value {
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.rate-high { color: #27ae60; }
.rate-mid { color: #f39c12; }
.rate-low { color: #e74c3c; }
.rate-tiny { color: #8a5a8f; }

.no-drops {
  text-align: center;
  color: #668;
  padding: 40px 20px;
  font-style: italic;
}

.path-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #aab;
  font-family: 'Courier New', monospace;
}

.path-generic { background: rgba(100,180,255,0.12); color: #7ab8e8; }
.path-rare { background: rgba(180,100,255,0.12); color: #b88ae8; }
.path-boss { background: rgba(255,100,100,0.12); color: #e8908a; }

/* Info section */
.drops-info {
  max-width: 800px;
  margin: 60px auto 40px;
  padding: 24px;
  background: rgba(20,20,30,0.6);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.drops-info h2 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  margin-top: 0;
}

.drops-info h3 {
  color: var(--gold, #ffd700);
  margin-top: 20px;
}

.drops-info p,
.drops-info ul {
  color: #bbc;
  line-height: 1.7;
}

.drops-info code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: #ffd;
}

.drops-disclaimer {
  font-size: 0.85rem;
  color: #668;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 640px) {
  .drops-header h1 { font-size: 2rem; letter-spacing: 2px; }
  .drops-subtitle { font-size: 0.95rem; }
  .result-title { font-size: 1.3rem; }
  .drops-tab { padding: 10px 16px; font-size: 0.9rem; }
}

/* ==========================================
   Mob Mastery control (Fase 4 — 2026-04-19)
   ========================================== */
.mastery-control {
  background: rgba(255,215,0,0.03);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.mastery-control label {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.mastery-control label strong { color: #ffd700; }
.mastery-control #mastery-value {
  display: inline-block;
  min-width: 2ch;
  color: #ffd700;
  font-weight: 700;
  font-size: 1.15rem;
}
.mastery-control input[type="range"] {
  width: 100%;
  accent-color: #ffd700;
  margin: 4px 0 10px;
}
.mastery-help {
  font-size: 0.78rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Bucket color dots (rarity visual cue) */
.bucket-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 4px currentColor;
}
.bucket-purple  { background: #a855f7; color: #a855f7; }
.bucket-red     { background: #e74c3c; color: #e74c3c; }
.bucket-orange  { background: #e67e22; color: #e67e22; }
.bucket-jackpot { background: #8e44ad; color: #8e44ad; }
.bucket-midtier { background: #3498db; color: #3498db; }
.bucket-common  { background: #7f8c8d; color: #7f8c8d; }

/* Rate-cell adjusted-value indicator */
.rate-adjusted {
  margin-left: 6px;
  color: #aaa;
  font-size: 0.9em;
}
.rate-adjusted .rate-value { font-weight: 700; }
