.modern-reviews-container,
.modern-tabs-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Tabs Navigation */
.modern-tabs-navigation {
    display: flex;
    gap: 8px;
   margin-bottom:10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-tab-button {
    flex: 1;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #86868b;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-tab-button:hover {
    color: #1d1d1f;
}

.modern-tab-button.active {
    color: #1d1d1f;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Tabs Content */
.modern-tabs-content {
    position: relative;
}

.modern-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.modern-tab-content.active {
    display: block;
}

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

.tab-content-inner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding:10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Attributes Table */
.modern-attributes-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-attributes-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-attributes-table tr:last-child {
    border-bottom: none;
}

.modern-attributes-table th,
.modern-attributes-table td {
    padding: 16px 0;
    text-align: left;
}

.modern-attributes-table th {
    font-weight: 600;
    color: #1d1d1f;
    width: 35%;
}

.modern-attributes-table td {
    color: #86868b;
}

/* Reviews Summary */
.reviews-summary {
    margin-bottom: 32px;
}

.average-rating-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.big-rating {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.stars-small {
    margin-bottom: 8px;
}

.stars-small .star-rating {
    margin: 0 auto;
}

.review-count {
    font-size: 15px;
    opacity: 0.9;
}

/* Reviews List */
.modern-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.review-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.review-meta {
    flex: 1;
}

.review-meta strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

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

.rating {
    margin-left: auto;
}

.rating .star-rating {
    font-size: 16px;
}

.review-content {
    font-size: 15px;
    line-height: 1.6;
    color: #1d1d1f;
}

.review-content p {
    margin: 0;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.no-reviews p {
    font-size: 16px;
    color: #86868b;
    margin: 0;
}

/* Review Form */
.review-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.review-form-wrapper.review-notice {
    text-align: center;
    padding: 24px 32px;
}

.review-form-wrapper.review-notice p {
    font-size: 16px;
    color: #1d1d1f;
    margin: 0;
}

.review-form-wrapper.review-notice a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.review-form-wrapper.review-notice a:hover {
    text-decoration: underline;
}

#review_form #respond {
    margin: 0;
}

.comment-respond .comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
}

.comment-form-rating {
    margin-bottom: 20px;
}

.comment-form-rating label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.comment-form-rating select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
}

.comment-form-rating select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.comment-form-author,
.comment-form-email,
.comment-form-comment {
    margin-bottom: 16px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
}

.comment-form-comment textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-comment textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-submit {
    margin: 0;
}

.form-submit input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.form-submit input[type="submit"]:active {
    transform: translateY(0);
}

/* Star Rating Override */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star;
    color: #667eea;
}

.star-rating:before {
    content: "★★★★★";
    color: rgba(0, 0, 0, 0.1);
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span:before {
    content: "★★★★★";
    top: 0;
    position: absolute;
    left: 0;
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-reviews-container,
    .modern-tabs-container {
        padding: 15px 10px;
    }
    
    .modern-tabs-navigation {
        flex-direction: column;
        gap: 4px;
    }
    
    .modern-tab-button {
        padding: 12px 20px;
    }
    
  
    
    .review-card {
        padding: 20px;
    }
    
    .review-header {
        flex-wrap: wrap;
    }
    
    .rating {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
    }
    
    .big-rating {
        font-size: 48px;
    }
    
    .review-form-wrapper {
        padding: 24px;
    }
    
    .modern-attributes-table th,
    .modern-attributes-table td {
        padding: 12px 0;
    }
}
