/* Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    display: flex;
    justify-content: center;
}

/* Chat Container Styling */
#chat-container {
    width: 40%;
    border: 1px solid #ccc;
    padding: 15px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
}

/* Chat Messages Styling */
#chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.user-message {
    text-align: right;
    background-color: #e1ffc7;
    padding: 8px;
    margin: 5px;
    border-radius: 5px;
}

.bot-message {
    text-align: left;
    background-color: #f1f1f1;
    padding: 8px;
    margin: 5px;
    border-radius: 5px;
}

/* Message Input and Send Button */
#message-input {
    width: calc(100% - 55px);
    padding: 10px;
    margin-right: 5px;
}

#send-button {
    width: 50px;
    padding: 10px;
}

#button-container {
    margin-top: 10px;
}

.chat-button {
    padding: 8px;
    margin: 5px;
}

/* Debug Information */
.debug-info {
    background-color: #fff8dc;
    padding: 8px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Modal Styling */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

/* Input styling */
.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #45a049;
}

/* Review Container Styling */
#review-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

/* Review Textbox Styling */
#review-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    resize: none;
    background-color: #f9f9f9;
}

/* Submit Review Button Styling */
#submit-review-button {
    padding: 10px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submit-review-button:hover {
    background-color: #0056b3;
}

/* Action chips: the in-app action channel served only to "new app" mode. */
.action-chip {
    background-color: #1a7f37;
    color: #fff;
    font-weight: 600;
}

.action-chip:hover {
    background-color: #146c2e;
}

#app-mode-select {
    margin-top: 8px;
}
