.input-section {
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.output-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 4px;
    min-height: 100px;
}

.ai-response {
    color: #27ae60;
    margin: 10px 0;
}

.error {
    color: #e74c3c;
    margin: 10px 0;
} 

.response {
    max-width: 60%;
    margin: 10px;
    padding: 12px 16px;
    background-color: #dcf8c6; /* WhatsApp green bubble */
    border-radius: 16px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  
    /* To align to the right like a sent message */
    margin-left: auto;
    text-align: left;
  }

  .question {
    max-width: 60%;
    margin: 10px;
    padding: 12px 16px;
    background-color: #ffffff;
    border-radius: 16px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  
    /* Align to the left like a received message */
    margin-right: auto;
    text-align: left;
  }