/* Website Reviews - Modern Two Column Design with Centered Rating Box */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wr-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* SELLER HEADER */
.wr-seller-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #f0f0f0;
}

.wr-seller-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* RATING BOX - CENTERED */
.wr-rating-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
    padding: 50px;
    border-radius: 16px;
    margin: 0 auto 40px auto;
    border: 2px solid #ffd699;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
    text-align: center;
    max-width: 700px;
}

.wr-rating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wr-rating-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wr-rating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wr-rating-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wr-stars-large {
    font-size: 56px;
    color: #ffc107;
    line-height: 1;
    letter-spacing: 4px;
}

.wr-rating-number {
    font-size: 48px;
    font-weight: 800;
    color: #ff6b35;
    line-height: 1;
    margin: 10px 0 5px 0;
}

.wr-rating-count {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* RATING BREAKDOWN */
.wr-breakdown-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid #e8e8e8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wr-breakdown-section h3 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.wr-breakdown {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.wr-stars-small {
    font-size: 16px;
    color: #ffc107;
    width: 70px;
    white-space: nowrap;
}

.wr-bar {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.wr-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.wr-percentage {
    width: 50px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

/* TWO COLUMN LAYOUT */
.wr-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .wr-two-column {
        grid-template-columns: 1fr;
    }
}

/* FORM BOX */
.wr-form-box {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.wr-form-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.wr-form-subtitle {
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
}

/* FORM STYLING */
.wr-form-group {
    margin-bottom: 22px;
}

.wr-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.wr-required {
    color: #e74c3c;
}

.wr-form-group input,
.wr-form-group select,
.wr-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.wr-form-group input:focus,
.wr-form-group select:focus,
.wr-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1);
    background: #f9fbff;
}

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

.wr-btn {
    width: 100%;
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.wr-btn:hover {
    background: linear-gradient(135deg, #005a87, #004370);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.wr-btn:active {
    transform: translateY(0);
}

.wr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* MESSAGES */
.wr-message {
    margin-top: 15px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wr-message.success {
    background: #f0f9ff;
    color: #0d5c2b;
    border-left-color: #10b981;
}

.wr-message.error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

/* REVIEWS BOX */
.wr-reviews-box {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wr-reviews-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wr-review-count {
    background: #e8e8e8;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* REVIEWS LIST */
.wr-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

.wr-reviews-list::-webkit-scrollbar {
    width: 6px;
}

.wr-reviews-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.wr-reviews-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.wr-reviews-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.wr-review-card {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.wr-review-card:hover {
    background: #f5f5f5;
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wr-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.wr-review-meta {
    flex: 1;
}

.wr-review-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.wr-review-author {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.wr-review-date {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.wr-review-stars {
    font-size: 14px;
    color: #ffc107;
    white-space: nowrap;
    flex-shrink: 0;
}

.wr-review-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 12px 0 0 0;
}

/* NO REVIEWS STATE */
.wr-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.wr-no-reviews p {
    font-size: 16px;
    margin-bottom: 8px;
}

.wr-no-reviews small {
    font-size: 13px;
    color: #bbb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .wr-form-box {
        position: static;
        height: auto;
    }
    
    .wr-reviews-list {
        max-height: none;
    }
}

@media (max-width: 600px) {
    .wr-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .wr-seller-header h2 {
        font-size: 24px;
    }
    
    .wr-rating-box {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .wr-rating-logo {
        width: 100px;
        height: 100px;
    }
    
    .wr-stars-large {
        font-size: 44px;
        letter-spacing: 2px;
    }
    
    .wr-rating-number {
        font-size: 36px;
    }
    
    .wr-rating-count {
        font-size: 14px;
    }
    
    .wr-form-box,
    .wr-reviews-box {
        padding: 20px;
    }
    
    .wr-form-box h3,
    .wr-reviews-box h3 {
        font-size: 18px;
    }
    
    .wr-breakdown-section {
        max-width: 100%;
    }
}
