/* 用户评价区域 */
.reviews-section {}

.feedback-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.feedback-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

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

.reviews-stats {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 32px;
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rating-summary {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rating-score {
    font-size: 48px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.rating-stars {
    font-size: 20px;
    margin-bottom: 8px;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.rating-count {
    font-size: 13px;
    color: #64748b;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-label {
    font-size: 13px;
    color: #64748b;
    width: 40px;
    font-weight: 500;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 5px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.4);
}

.rating-percent {
    font-size: 13px;
    color: #64748b;
    width: 40px;
    text-align: right;
    font-weight: 500;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.review-item {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-item:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
    border: 2px solid white;
}

.review-info {
    flex: 1;
}

.review-author {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.review-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-stars {
    font-size: 14px;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

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

.review-content {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 12px;
}

.review-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-tag {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    font-size: 12px;
}

.reviews-footer {
    text-align: center;
}

.load-more-reviews {
    padding: 12px 32px;
    background: #fff;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-reviews:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* 反馈弹窗样式 */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.feedback-modal.show {
    display: flex;
}

.feedback-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: feedbackSlideIn 0.3s ease-out;
}

@keyframes feedbackSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feedback-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
    line-height: 1;
}

.feedback-close:hover {
    color: #0f172a;
    background: #e2e8f0;
    transform: rotate(90deg);
}

.feedback-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.feedback-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feedback-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.feedback-subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.feedback-tip {
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.feedback-tip-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.feedback-tip-text {
    font-size: 12px;
    color: #92400e;
    font-weight: 500;
    line-height: 1.4;
}

.feedback-form {
    padding: 20px 24px 24px;
}

.feedback-input-group {
    margin-bottom: 16px;
}

.feedback-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

/* 星级评分 */
.feedback-rating-group {
    margin-bottom: 16px;
    text-align: center;
}

.feedback-rating-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.rating-star {
    font-size: 36px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.rating-star:hover,
.rating-star.active {
    color: #fbbf24;
    transform: scale(1.1);
}

.rating-star.active {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.rating-text {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    min-height: 18px;
}

.feedback-type-group {
    margin-bottom: 16px;
}

.feedback-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feedback-type-option {
    position: relative;
    cursor: pointer;
}

.feedback-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.feedback-type-label {
    display: block;
    padding: 10px 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    text-align: center;
    transition: all 0.2s;
}

.feedback-type-option input[type="radio"]:checked+.feedback-type-label {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.feedback-type-label:hover {
    border-color: #cbd5e1;
}

.feedback-textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.feedback-char-count {
    text-align: right;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
}

.feedback-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

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