/* /public/css/form-styles.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0f24;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

form {
    background-color: #1d2b54;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

label {
    display: block;
    margin-top: 10px;
    color: #bbb;
}

input, textarea, button {
    margin-top: 5px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #2a3a5f;
    color: #fff;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    margin-top: 20px;
    background-color: #0099ff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #007acc;
}

#response {
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
}

.user-message, .assistant-message, .error-message, .message-cost {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.user-message {
    background-color: #e7f3fe;
    color: #0a0f24;
}

.assistant-message {
    background-color: #f7e7fe;
    color: #0a0f24;
}

.error-message {
    background-color: #fbe7e7;
    color: #0a0f24;
}

.message-cost {
    background-color: #ecb86b;
    color: #0a0f24;
}

.mic-button {
    font-size: 24px;
    color: white;
    border: none;
    padding: 2px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}
.mic-button.recording {
    background-color: rgb(232, 76, 76);
}

.button-container {
    display: flex;
    align-items: center;
}

.button-container button[type="submit"] {
    flex-grow: 1;
    height: 40px;
    margin-left: 10px;
}

.success-message, .error-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    max-width: 70vw;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
}  

#chat-form p { font-size: 12px;}

#response-content .string { color: green; }
#response-content .number { color: darkorange; }
#response-content .boolean { color: blue; }
#response-content .null { color: magenta; }
#response-content .key { color: red; }
#response-content pre { background-color: #201e1e; padding: 10px; border-radius: 5px; }

/* Styles for the radio buttons */
.radio-group {
    display: flex;
    gap: 10px; /* Space between radio buttons */
    margin-bottom: 15px; /* Space below the radio button group */
}

/* Style for radio buttons to control size */
input[type="radio"] {
    width: 16px;  /* Set the width of the radio button */
    height: 16px; /* Set the height of the radio button */
    accent-color: #007BFF; /* Optional: Set color for checked state */
}

/* Style for labels to align with radio buttons */
.radio-group label {
    margin-left: 5px; /* Space between radio button and label */
    font-size: 14px;
}
