body {
    background: #f4f4f9;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
}

textarea {
    width: 80%;
    height: 100px;
    font-size: 16px;
    margin: 10px 0;
    padding: 10px;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    background: #007bff;
    color: white;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#translatedText {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
}

/* ===== Existing styles from your site stay as they are ===== */

/* Example: container and avatar (yours may already have these) */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.avatar {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 16px;
}

/* Quick buttons row */
.quick-buttons button {
  padding: 8px 12px;
  margin: 4px;
  border: none;
  background: #008751;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.quick-buttons button:hover {
  background: #00a867;
}

/* ===== 🔴 NEW CHAT STYLES ===== */
.chat-box {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 8px;
  overflow-y: auto;
  height: 260px;
  font-size: 14px;
}

.chat-box p {
  margin: 4px 0;
  line-height: 1.4;
}

.chat-controls input,
.chat-send input {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.chat-controls button,
.chat-send button {
  background: #008751;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.chat-controls button:hover,
.chat-send button:hover {
  background: #00a867;
}

/* System messages */
.chat-box p em {
  color: #666;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .chat-controls {
    display: flex;
    flex-wrap: wrap;
  }
  .chat-controls input {
    flex: 1;
    margin-bottom: 6px;
  }
  .chat-send {
    display: flex;
  }
  .chat-send input {
    flex: 1;
  }
}

