/* Frontend styles for WP Recipe Plugin */

.wprp-rating-section {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.wprp-star-rating, .wprp-user-rating {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    cursor: default;
}

.wprp-user-rating {
    cursor: pointer;
}

.wprp-star {
    color: #ccc;
    margin-right: 2px;
    transition: color 0.2s;
}

.wprp-user-rating .wprp-star:hover,
.wprp-user-rating .wprp-star.hovered,
.wprp-user-rating .wprp-star.selected {
    color: #ffd700;
}

.wprp-star-rating .wprp-star.active {
    color: #ffd700;
}

.wprp-rating-count {
    font-size: 14px;
    margin-left: 10px;
    color: #666;
}

.wprp-rating-form {
    margin-top: 10px;
}

#wprp_rating_message {
    margin-top: 10px;
    font-weight: bold;
}

.wprp-recipe-details {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.wprp-recipe-details h3 {
    margin-top: 0;
}

.wprp-recipe-details ul, .wprp-recipe-details ol {
    margin-bottom: 20px;
}

.wprp-nutrition-info {
    display: table;
    width: 100%;
    max-width: 300px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wprp-nutrition-info li {
    display: table-row;
}

.wprp-nutrition-info li span {
    display: table-cell;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
}

.wprp-nutrition-info li span:first-child {
    font-weight: bold;
    width: 70%;
}
