/* ------------ Ask AI Card ------------ */
#ask-ai {
  background: url('../img/hero/chatback.png') center/cover no-repeat;
  /*padding: 6rem 1rem;*/
}



.ai-card {
  background-color: #fff2d8;
  padding: 2.5rem;
  max-width: 70%;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(40, 56, 97, 0.04);
}

.ai-card__title {
  color: #4255A4; 
  font-size: 1.75rem;
  font-weight: 600;
}

.ai-input {
  width: 100%;
  min-height: 120px;
  border: 1px solid #E5E7EB;
  border-radius: 1.5rem;
  padding: 1rem;
  font-size: 1rem;
  resize: vertical;
  background-color: #FAFAFC;
}

.ai-input:focus {
  outline: none;
  border-color: #2878EB;
  box-shadow: 0 0 0 3px rgba(40, 120, 235, 0.2);
}

.ai-file-input {
  display: block;
  font-size: 0.9rem;
}

.ai-btn {
  display: inline-block;
  background-color: #FF9C5C; 
  color: #120F2D;            
  border: none;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ai-btn:hover {
  background-color: #e68a4f;
}

.ai-response {
  min-height: 80px;
  background-color: #ffe6c0;
  border-radius: 1.5rem;
  padding: 1rem;
  color: #4255A4;
  font-size: 0.95rem;
  line-height: 1.4;
}



/* hide the native file-input but keep it clickable */
.ai-file-button {
  position: relative;
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid #4255A4;
  border-radius: 999px;
  background: transparent;
  color: #4255A4;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.ai-file-button input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.ai-file-button:hover {
  background-color: rgba(40,120,235,0.1);
}

/* ensure your filename text stays aligned */
.ai-file-name {
  margin-left: 0.75rem;
  font-size: 0.9rem;
  vertical-align: middle;
  color: #6B6A75;
}
