#pkb-feedback-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pkb-feedback-form .form-group {
    margin-bottom: 25px;
}

.pkb-feedback-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.pkb-feedback-form input[type="text"],
.pkb-feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.pkb-feedback-form input[type="text"]:focus,
.pkb-feedback-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.pkb-feedback-form .radio-group div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.pkb-feedback-form .radio-group input[type="radio"] {
    margin-right: 10px;
}

.pkb-feedback-form .other-option {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.pkb-feedback-form .other-option label {
    margin-bottom: 0;
    margin-right: 10px;
    flex-shrink: 0;
}

.pkb-feedback-form .submit-button {
    background-color: #0073aa;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.pkb-feedback-form .submit-button:hover {
    background-color: #005a8c;
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* This is the key trick */
    justify-content: flex-end;
    font-size: 2em;
    position: relative;
}

.star-rating input[type="radio"] {
    display: none; /* Hide the actual radio buttons */
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 0.1em;
    margin-bottom: 0;
}

/* When a label is hovered, color it and all previous labels */
.star-rating:not(:hover) input[type="radio"]:checked ~ label,
.star-rating:hover label:hover ~ label,
.star-rating label:hover {
    color: #ffc700;
}

/* Color the selected stars */
.star-rating input[type="radio"]:checked ~ label {
    color: #ffc700;
}

/* Add star content */
.star-rating label:before {
    content: '★';
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

#thank-you-message {
    text-align: center;
    padding: 40px;
    background-color: #eaf5ff;
    border: 1px solid #b3d7f2;
    border-radius: 8px;
}

#thank-you-message h3 {
    color: #005a8c;
    font-size: 24px;
}
