/* 评论容器 */
.gds-review-container {
    margin: 15px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #007cba;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 国家标签样式 */
.gds-review-country-badge {
    margin-bottom: 10px;
}

.gds-review-country {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.gds-review-country::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.gds-review-country:hover::before {
    left: 100%;
}

.gds-review-country-inline {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 评论图片样式 */
.gds-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.gds-review-image-item {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gds-review-image-item:hover {
    border-color: #007cba;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,124,186,0.2);
}

.gds-review-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gds-review-image-item:hover img {
    transform: scale(1.1);
}

/* 评论内容样式 */
.gds-review-content {
    margin-top: 10px;
    line-height: 1.7;
    color: #444;
    font-size: 15px;
    padding: 10px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
}

/* 模态框样式 */
.gds-review-image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gds-review-image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gds-review-image-modal-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gds-review-image-modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 1001;
}

.gds-review-image-modal-close:hover {
    color: #f1f1f1;
    transform: rotate(90deg);
}

.gds-review-modal-prev,
.gds-review-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gds-review-modal-prev {
    left: 25px;
}

.gds-review-modal-next {
    right: 25px;
}

.gds-review-modal-prev:hover,
.gds-review-modal-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gds-review-image-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1001;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gds-review-container {
        padding: 12px;
        margin: 10px 0;
    }

    .gds-review-image-item {
        width: 70px;
        height: 70px;
    }

    .gds-review-country {
        padding: 5px 12px;
        font-size: 12px;
    }

    .gds-review-country-inline {
        padding: 3px 8px;
        font-size: 10px;
        margin-left: 5px;
    }

    .gds-review-content {
        font-size: 14px;
    }

    .gds-review-image-modal-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .gds-review-modal-prev,
    .gds-review-modal-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 50%;
    }

    .gds-review-modal-prev {
        left: 15px;
    }

    .gds-review-modal-next {
        right: 15px;
    }

    .gds-review-image-counter {
        bottom: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .gds-review-image-modal-content img {
        max-height: 80vh;
    }
}
