/* AI Recommender Styles */
.recommender {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.recommender-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.recommender-input-row {
  display: flex; 
  gap: 12px; 
  align-items: flex-end;
}

.recommender textarea {
  flex: 1;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  resize: none;
  min-height: 100px;
  outline: none;
  transition: border-color 0.15s;
}

.recommender textarea::placeholder { 
  color: #B0A89A; 
}

.recommender textarea:focus { 
  border-color: var(--orange); 
}

.recommender-send {
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  width: 52px; 
  height: 52px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.15s, transform 0.1s;
  align-self: flex-end;
}

.recommender-send:hover { 
  background: var(--orange-dim); 
  transform: scale(1.04); 
}

.recommender-send:disabled { 
  background: #ccc; 
  transform: none; 
  cursor: not-allowed; 
}

.recommender-response {
  margin-top: 28px;
  display: none;
}

.recommender-response.visible { 
  display: block; 
}

.recommender-response-inner {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
}

.response-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.response-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  white-space: pre-wrap;
}

.response-text strong { 
  color: var(--orange); 
  font-weight: 600; 
}

.thinking {
  display: flex; 
  align-items: center; 
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.success-checkmark {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #228B22;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  font-weight: bold;
  margin-right: 8px;
  vertical-align: middle;
}

.thinking-dots {
  display: inline-block;
}

.thinking-dots span {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--orange);
  margin: 0 2px;
  animation: thinking 1.4s infinite ease-in-out;
}

.thinking-dots span:nth-child(1) { animation-delay: -0.32s; }
.thinking-dots span:nth-child(2) { animation-delay: -0.16s; }
.thinking-dots span:nth-child(3) { animation-delay: 0; }

@keyframes thinking {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes bounce { 
  0%,80%,100%{transform:translateY(0)} 
  40%{transform:translateY(-6px)} 
}
