.pko-reviews-container {
    max-width: 800px;
    margin: 0 auto;
}

.pko-reviews-list {
    margin-bottom: 30px;
}

.pko-review-item {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pko-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pko-review-author {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.pko-review-rating .star {
    color: #ffd700;
    font-size: 16px;
    margin-right: 2px;
}

.pko-review-rating .star:not(.filled) {
    color: #ddd;
}

.pko-review-content {
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.pko-review-date {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.pko-no-reviews {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 0;
}

.pko-add-review-section {
    text-align: center;
    margin-top: 30px;
}

.pko-add-review-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.pko-add-review-btn:hover {
    background: #005a87;
}

/* Модальное окно */
.pko-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.pko-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.pko-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.pko-modal-close:hover {
    color: #000;
}

.pko-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Рейтинг звезды */
.rating-input {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 0 !important;
}

.rating-input label:hover,
.rating-input label.hover {
    color: #ffd700;
}

.rating-input label.active {
    color: #ffd700;
}

#pko-review-form button[type="submit"] {
    width: 100%;
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#pko-review-form button[type="submit"]:hover {
    background: #005a87;
}

#pko-review-form button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 600px) {
    .pko-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .pko-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
} 