*{
    font-family: Verdana, sans-serif;
}

/* styles.css */
body {
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 1000px;
}

.review-content{
    max-width: 1500px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    font-family: Verdana, sans-serif;
}

#reviews {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.review {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    font-family: Verdana, sans-serif;
}

.review .author {
    font-style: italic;
}

.review .title{
    font-weight: bold;
    font-family: Verdana, sans-serif;
}

h4{
    font-weight: bold;
    font-family: Verdana, sans-serif;
}

.review .date {
    color: #888;
    font-style: italic;
}

.productFilter{
    margin-bottom: 10px;
}

.review .rating {
    color: gold;
}

.review-form{
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid hsl(0, 0%, 87%);
    border-radius: 5px;
    margin-bottom: 50px;
    margin-top: 50px;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.15);
}

form {
    margin-top: 20px;
}

label {
    display: block;
    margin-top: 10px;
}

input, textarea, .product {
    font-family: Verdana, sans-serif;
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

.product{
    background-color: transparent !important;
    border-radius: 0 !important;
}

button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: orange;
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: rgb(255, 172, 17);
}

#success-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

.hidden {
    display: none;
}

#product-filter{
    margin-bottom: 20px;
}

/* Styles for star ratings */
.star-rating {
    font-size: 20px;
    color: #ffa000; /* For gold stars */
}

.star-rating .empty-star {
    color: silver; /* For silver stars */
}

h1{
    color: orange;
    text-align: center;
}

.get-reviews{
    max-width: 80%;
    margin: 0 auto;
}
/* Enhanced Pagination Styles - Fixed Horizontal Layout */
#pagination-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 30px auto;
    padding: 20px 0;
    border-top: 1px solid #eee;
    max-width: 1500px;
}

#pagination-controls button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: white;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    font-family: Verdana, sans-serif;
    /* Override any conflicting button styles */
    width: auto !important;
    margin: 0 !important;
}

#pagination-controls button:hover:not(.disabled):not(.active) {
    background: #f5f5f5;
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#pagination-controls button.active {
    background: #ffa000 !important;
    border-color: #ffa000;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,160,0,0.3);
}

#pagination-controls button.disabled {
    background: #f8f8f8 !important;
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

#pagination-controls button.nav-btn {
    font-weight: 600;
    min-width: 80px;
}

#pagination-controls button.nav-btn:not(.disabled):hover {
    background: #ffa000 !important;
    color: white;
    border-color: #ffa000;
}

.pagination-ellipsis {
    color: #999;
    padding: 0 8px;
    user-select: none;
    font-size: 14px;
    display: inline-block;
}

/* Pagination wrapper for additional info */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination-info {
    color: #666;
    font-size: 14px;
    text-align: center;
    font-family: Verdana, sans-serif;
}

.results-info {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
    font-family: Verdana, sans-serif;
}

.admin-reply {
  margin-top: 10px;
  padding: 10px;
  background-color: #ffeccb;
  border-left: 4px solid #ffa000;
  font-style: italic;
  color: #333;
}


/* Responsive Design */
@media (max-width: 768px) {
    #pagination-controls {
        gap: 4px;
        padding: 15px 10px;
    }

    #pagination-controls button {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }

    #pagination-controls button.nav-btn {
        min-width: 70px;
    }
}