.wpr-reviews {
    scroll-margin-top: 100px; /* Adjust based on your header height */
}

/* Filled Stars */
.wpr-star-filled {
    color: #ffc107; /* Yellow color for filled stars */
    font-size: 24px;
}

/* Empty Stars */
.wpr-star-empty {
    color: #ebebeb; /* Gray color for empty stars */
    font-size: 24px;
}

.wpr-review-date {
    font-size: 12px;
    color: #666;
}
/* Modal Content - Centered */
.wpr-modal-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    text-align: center; /* Center text inside */
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
}

/* Close Button */
#wpr-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

#wpr-close-modal:hover {
    color: #000;
}

/* Button Styling */
.wpr-modal-content button {
    width: 100%;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: none;
    padding: 12px;
    margin-top: 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.wpr-modal-content button:hover {
    background-color: #222; /* Slightly lighter black on hover */
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Modal */

.wpr-modal-content button {
    width: 100%;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: none;
    padding: 12px;
    margin-top: 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}


#wpr-review-modal {
    display: none; /* Ensure modal is hidden by default */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

 
#wpr-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

#wpr-close-modal:hover {
    color: #000;
}

/* Write Review Button */
#wpr-review-btn {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: none;
    padding: 8px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 5px; /* Smooth corners */
    transition: all 0.3s ease-in-out;
}

#wpr-review-btn:hover {
    background-color: #222;
}

/* Review List Container */
#wpr-review-list {
    margin-top: 0px;
}

/* Individual Review Item */
.wpr-review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

/* Star Rating */
.wpr-review-rating {
    color: #ffc107; /* Yellow color for stars */
    font-size: 20px;
    margin-bottom: 5px;
}

/* Review Meta (Author and Date) */
.wpr-review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

/* Review Text */
.wpr-review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom:10px;
}
/* Add this to your plugin's CSS file */
#wpr-reviews-table thead th.no-sort {
    background-image: none !important;
    cursor: default !important;
}

#wpr-reviews-table thead th.no-sort:after {
    display: none !important;
}
/* Review Images */
.wpr-review-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.wpr-review-image {
    max-width: 100px !important;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* No Reviews Message */
#wpr-review-list p {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

/* Star Rating Container */
.wpr-star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

/* Individual Stars */
.wpr-star {
    font-size: 24px;
    cursor: pointer;
    color: #ebebeb; /* Default color for empty stars */
    transition: color 0.2s ease-in-out;
}

/* Filled Stars */
.wpr-star.active,
.wpr-star:hover {
    color: #ffc107; /* Yellow color for filled stars */
}

/* Labels */
.wpr-modal-content label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    text-align:left !important;
    width:100%;
}

/* Inputs & Textarea */
.wpr-modal-content input, 
.wpr-modal-content textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Success Modal Styles */
#wpr-success-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

#wpr-success-modal .wpr-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

#wpr-success-modal h3 {
    color: #000;
    margin-top: 0;
}

#wpr-close-success-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

#wpr-close-success-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 3px;
}

.sort-filter-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between elements */
    flex-wrap: wrap; /* Ensures responsiveness */
    padding: 10px;
    background: #f8f8f8; /* Light gray background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.wpr-sorting, .wpr-filter {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between label and select */
}

label {
    font-weight: 500;
    color: #333;
}

select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background: white;
    font-size: 14px;
}

/* Add this to your existing CSS */
.wpr-load-more-container {
    text-align: center;
    margin: 20px 0;
}

#wpr-load-more {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#wpr-load-more:hover {
    background-color: #333;
}

#wpr-load-more:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}