/* style.css */
.post-feedback-form {
    margin: 2em 0;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.post-feedback-form h3 {
    margin-bottom: 1em;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1em;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 2px;
    background-color: #f0f0f0;
    border-radius: 3px;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    background-color: #007bff;
    color: white;
}

.post-feedback-form textarea {
    width: 100%;
    min-height: 100px;
    margin: 1em 0;
    padding: 0.5em;
}

.post-feedback-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 3px;
    cursor: pointer;
}

.post-feedback-form button:hover {
    background-color: #0056b3;
}

.post-feedback-form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#feedback-message {
    margin: 1em 0;
    padding: 0.5em;
    border-radius: 3px;
}

#feedback-message.error {
    background-color: #ffe6e6;
    color: #dc3545;
    border: 1px solid #dc3545;
}

#feedback-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #155724;
}