/* ═══════════════════════════════════════════════════════════════
   NEXUS OS — Hash Calculator
   Neon glassmorphism hash computation interface
   ═══════════════════════════════════════════════════════════════ */

.nexus-hash-calculator {
  width: 100%; height: 100%;
  background: rgba(10, 5, 20, 0.96);
  border: 1px solid rgba(255, 100, 0, 0.2);
  border-radius: 8px;
  display: flex; flex-direction: column;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: #e0e0e0;
  overflow: hidden;
  position: relative;
}

.nexus-hash-calculator::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 100, 0, 0.5), transparent);
}

.hc-header {
  padding: 14px 16px;
  background: rgba(255, 100, 0, 0.06);
  border-bottom: 1px solid rgba(255, 100, 0, 0.15);
  display: flex; align-items: center; justify-content: space-between;
}

.hc-header h3 {
  margin: 0; font-size: 13px; font-weight: 600;
  color: #ff6400;
  text-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
  letter-spacing: 1px;
}

.hc-body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 100, 0, 0.3) transparent;
}

.hc-body::-webkit-scrollbar { width: 6px; }
.hc-body::-webkit-scrollbar-track { background: transparent; }
.hc-body::-webkit-scrollbar-thumb { background: rgba(255, 100, 0, 0.3); border-radius: 3px; }

.hc-input-section {
  display: flex; flex-direction: column; gap: 8px;
}

.hc-input-section label {
  font-size: 10px; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.hc-textarea {
  width: 100%; min-height: 80px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 100, 0, 0.15);
  border-radius: 5px;
  color: #e0e0e0;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.hc-textarea:focus {
  border-color: rgba(255, 100, 0, 0.4);
  box-shadow: 0 0 8px rgba(255, 100, 0, 0.15);
}

.hc-file-drop {
  padding: 20px;
  background: rgba(255, 100, 0, 0.04);
  border: 2px dashed rgba(255, 100, 0, 0.2);
  border-radius: 6px;
  text-align: center;
  font-size: 11px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.hc-file-drop:hover, .hc-file-drop.dragover {
  border-color: rgba(255, 100, 0, 0.5);
  background: rgba(255, 100, 0, 0.08);
  color: #ff6400;
}

.hc-file-drop-icon { font-size: 24px; margin-bottom: 6px; }

.hc-algo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
}

.hc-algo-btn {
  padding: 6px 8px;
  background: rgba(255, 100, 0, 0.08);
  border: 1px solid rgba(255, 100, 0, 0.2);
  border-radius: 4px;
  color: #999;
  font-size: 10px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.hc-algo-btn:hover {
  background: rgba(255, 100, 0, 0.15);
  color: #ff6400;
}

.hc-algo-btn.active {
  background: rgba(255, 100, 0, 0.2);
  border-color: rgba(255, 100, 0, 0.5);
  color: #ff6400;
  box-shadow: 0 0 8px rgba(255, 100, 0, 0.2);
}

.hc-results {
  display: flex; flex-direction: column; gap: 6px;
}

.hc-result-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

.hc-result-algo {
  font-size: 10px; font-weight: 600;
  color: #ff6400;
  min-width: 65px;
  text-transform: uppercase;
}

.hc-result-hash {
  flex: 1;
  font-size: 11px;
  word-break: break-all;
  color: #ccc;
  line-height: 1.4;
}

.hc-copy-btn {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 100, 0, 0.1);
  border: 1px solid rgba(255, 100, 0, 0.2);
  border-radius: 3px;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.hc-copy-btn:hover {
  background: rgba(255, 100, 0, 0.25);
  color: #ff6400;
  border-color: rgba(255, 100, 0, 0.4);
}

.hc-compare {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 100, 0, 0.15);
  border-radius: 5px;
}

.hc-compare-title {
  font-size: 10px; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hc-compare-inputs {
  display: flex; gap: 8px;
}

.hc-compare-input {
  flex: 1;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 100, 0, 0.15);
  border-radius: 4px;
  color: #e0e0e0;
  font-size: 11px;
  font-family: inherit;
  outline: none;
}

.hc-compare-input:focus { border-color: rgba(255, 100, 0, 0.4); }

.hc-compare-result {
  margin-top: 8px;
  font-size: 11px;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
}

.hc-match { color: #00ff88; background: rgba(0, 255, 136, 0.08); }
.hc-no-match { color: #ff4444; background: rgba(255, 68, 68, 0.08); }

.hc-footer {
  padding: 8px 16px;
  background: rgba(255, 100, 0, 0.04);
  border-top: 1px solid rgba(255, 100, 0, 0.1);
  font-size: 10px;
  color: #555;
  display: flex; justify-content: space-between;
}
