/* File: css/qa-feedback.css */


img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

.qa-feedback-container {
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#question-form, #feedback-form {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

#rating-slider {
    width: 100%;
}

#smiley {
    font-size: 24px;
    vertical-align: middle;
}

#answer-section {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Spinner styles */
.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0,0,0,.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

#spinner-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

/* Add styles for the answer content */
.answer-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Style common HTML elements that might be in the response */
.answer-content h1, 
.answer-content h2, 
.answer-content h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.answer-content p {
    margin-bottom: 1em;
    line-height: 1.5;
}

.answer-content ul, 
.answer-content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.answer-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
}

.answer-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1em;
}