.reviews-info {
    padding: 50px 200px;
    margin: 0 auto;
    max-width: 1800px;
    font-size: 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 1px solid #d8d8d8;
    background: white;
    flex-wrap: wrap;
    width: 40%;
    flex-direction: column;
    margin: 0 auto 24px;
}

.reviews-big {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: row;
}

.reviews-avg-number {
    font-size: 36px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1;
}

.reviews-avg-label {
    font-size: 16px;
    color: #888;
}

.stars-display {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 22px;
    line-height: 1;
}

.star-full {
    color: #e8a020;
}

.star-half {
    color: #e8a020;
    opacity: 0.6;
}

.star-empty {
    color: #ccc;
}

.reviews-count {
    font-size: 14px;
    color: #888;
    margin-left: 4px;
}

.reviews-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}

.review-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.review-author {
    font-size: 16px;
    color: #2a2a2a;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-stars .star {
    font-size: 16px;
}

.review-date {
    font-size: 13px;
    color: #aaa;
    margin-left: auto;
}

.review-text {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.review-form-section {
    display: flex;
    border-top: 2px solid #e0e0e0;
    padding-top: 28px;
    margin-top: 8px;
    flex-direction: column;
    align-items: center;
}

.review-form-section h2 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    color: #2a2a2a;
}

.review-form {
    max-width: 600px;
}

.review-form .form-row {
    margin-bottom: 16px;
}

.review-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #c8c8c8;
    background: white;
    color: #2a2a2a;
    box-sizing: border-box;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #888;
}

.stars-input {
    display: flex;
    gap: 4px;
    margin-top: 2px;
    width: 100%;
    background-color: #a0c4dc;
    border-radius: 10px;
    padding: 10px 10px;
    margin-bottom: 30px;
    text-align: center;
    justify-content: center;
}

.star-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #686868;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.1s;
}

.star-btn.active,
.star-btn:hover {
    color: #ffe600;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #444;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-label a {
    color: #3a5a8a;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.required {
    color: #c0392b;
}

.inline-error {
    padding: 10px 14px;
    background: #fdf0f0;
    border: 1px solid #e8c8c8;
    color: #8a3030;
    font-size: 14px;
    margin-bottom: 16px;
}

.form-actions {
    display: flex;
    margin-top: 18px;
    justify-content: center;
}

.submitted-notice {
    max-width: 520px;
    margin: 40px auto;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid #d8d8d8;
    background: white;
}

.submitted-notice h1 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #2a2a2a;
}

.submitted-notice p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.admin-reviews-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.admin-reviews-nav a {
    color: #3a5a8a;
    text-decoration: none;
}

.admin-reviews-nav a:hover {
    text-decoration: underline;
}

.admin-reviews-nav span {
    font-weight: 600;
    color: #2a2a2a;
}

.review-admin-item {
    align-items: flex-start;
    flex-wrap: wrap;
}

.review-admin-info {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.review-admin-stars {
    color: #e8a020;
    font-size: 16px;
    margin-left: 8px;
}

.review-admin-text {
    margin: 6px 0 0;
    font-size: 14px;
    color: #555;
    white-space: pre-wrap;
    word-break: break-word;
}

.public-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #555;
    font-size: 15px;
}

.empty-state {
    color: #888;
    font-style: italic;
    padding: 24px 0;
    list-style: none;
}

.reviews-list-section {
    border-top: 2px solid #e0e0e0;
    padding-top: 28px;
    margin-top: 8px;
    font-size: 17px;
}

.reviews-list-section h2 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    color: #2a2a2a;
}

.form-attention {
    font-size: 14px;
    color: #3d3d3d;
    margin: 0 0 15px;
}

@media (max-width: 1100px) {
    .reviews-info {
        padding: 50px 60px;
    }
    .reviews-summary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .reviews-info {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .review-date {
        margin-left: 0;
        width: 100%;
    }

    .reviews-summary {
        gap: 6px;
    }

    .review-form {
        max-width: 100%;
    }
}