/* CryptoSense Web — Agent panel specific styles */

#agent-panel {
  position: relative;
}

#agent-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 12px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#agent-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#agent-context {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

#agent-week {
  font-size: 10px;
  color: var(--amber);
  font-family: var(--font-data);
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#agent-input-row {
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

#chat-input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-primary);
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.15s;
}
#chat-input:focus  { border-color: var(--border-accent); }
#chat-input::placeholder { color: var(--text-ghost); }

#chat-send {
  background: var(--purple);
  border: none;
  border-radius: 4px;
  width: 34px;
  height: 34px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
#chat-send:hover   { opacity: 0.85; }
#chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#clear-chat-btn {
  background: none;
  border: none;
  color: var(--text-ghost);
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-ui);
  transition: color 0.15s;
}
#clear-chat-btn:hover { color: var(--red); }
