.frp-rating-container {
    margin: 20px 0;
    padding: 15px;
}

.frp-rating-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.frp-summary-text {
    flex: 1;
    min-width: 200px;
    background-color: #f2e7cc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.frp-summary-bars {
    flex: 2;
    min-width: 300px;
}

.frp-summary-text .frp-average {
    margin: 0;
    font-size: 3rem;
    color: #333;
    font-weight: bold;
}

.frp-summary-text .frp-stars {
    margin: 5px 0;
    display: inline-block;
    text-align: center;
}

.frp-summary-text .frp-count {
    margin: 5px 0;
    font-size: 0.9em;
    color: #333;
}

.frp-summary-text .frp-text {
    margin: 5px 0;
    font-size: 1em;
    color: #333;
    font-weight: 500;
}

.frp-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.frp-bar-label {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 50px;
    flex-shrink: 0;
}

.frp-bar-number {
    display: inline-block;
    width: 20px;
    text-align: right;
    font-size: 0.9em;
    color: #333;
}

.frp-bar-stars {
    display: inline-block;
    color: #d5d2dc;
}

.frp-bar-stars i.fas.fa-star {
    font-size: 0.9em;
}

.frp-bar {
    flex-grow: 1;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.frp-bar-fill {
    height: 100%;
    background-color: #ffc107;
    border-radius: 5px;
}

.frp-star-rating-field {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.frp-star-rating-field:focus-within {
    border: 1px solid #bc8f27;
}

.frp-star-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.frp-star-rating input {
    display: none;
}

.frp-star-rating label {
    cursor: pointer;
    color: #d5d2dc;
    font-size: 1.2em;
    padding: 0 2px;
}

.frp-star-rating label:hover,
.frp-star-rating input:hover + label,
.frp-star-rating input:hover + label ~ label {
    color: #bc8f27;
}

.frp-star-rating input:checked + label,
.frp-star-rating input:checked + label ~ label {
    color: #bc8f27;
}

.frp-star-rating label:hover ~ label,
.frp-star-rating input:hover + label ~ label:not(:hover) {
    color: #d5d2dc;
}

.frp-rating-label {
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(249, 248, 250, 1);
    border-radius: 12px;
    font-size: 13px !important;
    color: #333;
    font-weight: 300 !important;
}

.frp-stars i.fas.fa-star,
.frp-stars i.fas.fa-star-half-alt {
    color: #bc8f27;
}

.frp-stars i.far.fa-star {
    color: #d5d2dc;
}

.frp-rating-item i.fas.fa-star {
    color: #bc8f27;
}

.frp-rating-item i.far.fa-star {
    color: #d5d2dc;
}

.frp-rating-form {
    width: 100%;
    margin: 0 auto;
}

.frp-rating-form h3 {
    margin-bottom: 15px;
}

.frp-form-field {
    margin-bottom: 25px;
}

.frp-form-field input[type="text"],
.frp-form-field input[type="email"],
.frp-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fff;
}

.frp-form-field input[type="text"]:focus,
.frp-form-field input[type="email"]:focus,
.frp-form-field textarea:focus {
    outline: none;
    border: 1px solid #bc8f27;
}

.frp-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 25px;
    padding: 10px;
    background-color: #dbd4c5;
    border-radius: 5px;
}

.frp-info-box i {
    color: #ffffff;
    font-size: 1.3em;
}

.frp-info-box span {
    font-size: 1em;
    color: #ffffff;
}

.frp-guidelines {
    margin-bottom: 15px;
}

.frp-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.frp-guidelines li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #333;
    line-height: 1.8em;
    align-items: flex-start;
}

.frp-guidelines i {
    color: #28a745;
    margin-top:5px;
}

.frp-checkbox {
    margin: 15px 0;
}

.frp-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9em;
    color: #333;
    flex-wrap: wrap;
    line-height: 1.8em;
}

.frp-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top:5px;
}

.frp-checkbox-text-container {
    flex: 1; /* Text nimmt restlichen Platz ein */
}

.frp-checkbox a {
    color: #c1951b;
    text-decoration: none;

}

.frp-checkbox a:hover {
    text-decoration: underline;
}

.frp-rating-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #bc8f27;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.frp-rating-form input[type="submit"]:hover {
    background-color: #a07a20;
}

.frp-submission-note {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    text-align: left;
    line-height: 1.8em;
}

.frp-ratings-list {
    margin-top: 50px;
    margin-left: 2%;
}

.frp-ratings-list .frp-rating-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.frp-rating-item {
    margin-bottom: 20px;
}

.frp-rating-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.frp-avatar {
    flex-shrink: 0;
}

.frp-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
}

.frp-rating-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.frp-author {
    font-size: 1.1em;
    line-height: 1.2;
}

/* Antworten: Name mittig ausrichten */
.frp-rating-item:has(.frp-reply-link) .frp-rating-header {
    align-items: flex-start; /* Hauptkommentare: Name oben, Sterne darunter */
}

.frp-rating-item:not(:has(.frp-reply-link)) .frp-rating-header {
    align-items: center; /* Antworten: Name mittig, keine Sterne */
}

.frp-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #bc8f27;
}

.frp-stars i.fas.fa-star {
    color: #bc8f27;
}

.frp-comment-content {
    margin-top: 10px;
    line-height: 1.8;
}

.frp-reply-link {
    margin-top: -10px;
    text-align: right;
    font-weight: bold;
}

.frp-reply-link a {
    color: #c1951b;
    text-decoration: underline;
    font-size: 0.9em;
}

.frp-reply-link a:hover {
    color: #c1951b;
    text-decoration: underline;
}

.frp-reply-container {
    margin-top: 15px;
}

.frp-reply-form {
    padding: 15px;
    background-color: #f2e7cc;
    border-radius: 5px;
}

.frp-reply-form input[type="text"],
.frp-reply-form input[type="email"],
.frp-reply-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
}

.frp-reply-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #bc8f27;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.frp-reply-form input[type="submit"]:hover {
    background-color: #a07a20;
}

.frp-reply-message {
    margin-top: 10px;
    font-size: 0.9em;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: none; /* Initial ausblenden */
}

.frp-reply-message.success {
    color: #c1951b;
    font-weight: 500;
}

.frp-reply-message.error {
    color: #dc3545;
}

.frp-rating-item .comment-reply-link {
    color: #c1951b;
    text-decoration: underline;
    font-size: 0.9em;
}

.frp-rating-item .comment-reply-link:hover {
    color: #c1951b;
    text-decoration: underline;
}



.frp-loop-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
    color: #333;
    font-weight: 400;
}

.frp-loop-rating i.fas.fa-star {
    color: #bc8f27;
}

.frp-loop-rating i.far.fa-star {
    color: #d5d2dc;
}


.frp-rating-count {
    color: #ddd
}


.acf-post-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
    color: #333;
    font-weight: 400;
}
.acf-post-rating i.fas.fa-star {
    color: #bc8f27;
}
.acf-post-rating .frp-rating-count {
    color: #ddd;
}


/* Styling für das "Frey Spiel Partner" Label */
.frp-partner-label {
    font-size: 14px;
    color: #bc8f27;
    margin-top: -10px;
    padding-top: 0px;
    font-style: italic;
}

/* Einrückung für Antworten */
.frp-rating-item.frp-reply {
    margin-left: 30px;
    margin-right: 30px;
    padding: 30px;
    background-color: #fbf6ea;
}