/* Review Section Styling */
.review-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.average-rating {
    text-align: center;
    margin-bottom: 25px;
}

.rating-value {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.rating-breakdown {
    margin-top: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-label {
    width: 70px;
    font-size: 14px;
    color: #666;
}

.rating-bar {
    flex: 1;
    padding: 0 10px;
}

.rating-count {
    width: 30px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: visible;
}

.progress-bar {
    background-color: #ffc107;
    border-radius: 4px;
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials {
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

.review-date {
    font-size: 13px;
    color: #888;
    margin: 5px 0;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

.review-response {
    background: #f8f9fa;
    padding: 15px;
    border-left: 3px solid #007bff;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
}

.rating-input .stars {
    font-size: 24px;
    cursor: pointer;
}

.rating-input .stars i {
    color: #ddd;
    transition: color 0.2s;
}

.rating-input .stars i.hover {
    color: #ffc107;
}

.rating-input .stars i.active {
    color: #ffc107;
}

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

.no-reviews {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-reviews i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #ddd;
}

.review-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.login-prompt {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.login-prompt a {
    color: #007bff;
    text-decoration: none;
}

.login-prompt a:hover {
    text-decoration: underline;
}
/* Review System */
.review-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

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

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

.review-form-wrapper .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.review-form-wrapper textarea.form-control {
    min-height: 150px;
}

.rating-input {
    margin-bottom: 20px;
}

.rating-input .stars {
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 5px;
}

.rating-input .stars i {
    color: #ddd;
    transition: color 0.2s;
    margin-right: 5px;
}

.rating-input .stars i.active,
.rating-input .stars i.hover {
    color: #ffc107;
}

.rating-text {
    font-size: 14px;
    color: #666;
    display: block;
}

.form-submit .btn {
    background: #007bff;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit .btn:hover {
    background: #0056b3;
}

/* Review Item */
.review-item {
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-date {
    font-size: 13px;
    color: #888;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    margin: 15px 0;
    line-height: 1.6;
}

.review-response {
    background: #f8f9fa;
    padding: 15px;
    border-left: 3px solid #007bff;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
}

.response-header {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Sort dropdown */
.sort-options {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sort-options span {
    margin-right: 10px;
    font-weight: 600;
}

.review-sort {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}
/* Review System */
.review-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

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

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

.review-form-wrapper .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.review-form-wrapper textarea.form-control {
    min-height: 150px;
}

.rating-input {
    margin-bottom: 20px;
}

.rating-input .stars {
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 5px;
}

.rating-input .stars i {
    color: #ddd;
    transition: color 0.2s;
    margin-right: 5px;
}

.rating-input .stars i.active,
.rating-input .stars i.hover {
    color: #ffc107;
}

.rating-text {
    font-size: 14px;
    color: #666;
    display: block;
}

.form-submit .btn {
    background: #007bff;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit .btn:hover {
    background: #0056b3;
}

/* Review Item */
.review-item {
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-date {
    font-size: 13px;
    color: #888;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    margin: 15px 0;
    line-height: 1.6;
}

.review-response {
    background: #f8f9fa;
    padding: 15px;
    border-left: 3px solid #007bff;
    margin-top: 15px;
    border-radius: 0 4px 4px 0;
}

.response-header {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Sort dropdown */
.sort-options {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sort-options span {
    margin-right: 10px;
    font-weight: 600;
}

.review-sort {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}