/* LinhKhi Reviews Slider Styles */
.lkreviews-slider-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    overflow: hidden;
}

.lkreviews-title {
    font-size: 24px;
    color: #6c4ccf;
    margin-bottom: 20px;
    text-align: center;
}

.lkreviews-slider {
    overflow: hidden;
    position: relative;
}

.lkreviews-track {
    display: flex;
    animation: scroll-reviews 180s linear infinite;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.lkreviews-slider:hover .lkreviews-track {
    animation-play-state: paused;
}

.lkreviews-item {
    flex: 0 0 400px;
    padding: 0 10px;
}

.lkreviews-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s;
}

.lkreviews-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.lkreviews-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.lkreviews-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c4ccf, #f7b267);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.lkreviews-info {
    flex: 1;
}

.lkreviews-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.lkreviews-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lkreviews-rating {
    display: flex;
    gap: 2px;
}

.lkreviews-rating .star {
    color: #ddd;
    font-size: 14px;
}

.lkreviews-rating .star.filled {
    color: #ffb400;
}

.lkreviews-date {
    font-size: 12px;
    color: #999;
}

.lkreviews-content {
    margin-bottom: 15px;
}

.lkreviews-content p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.lkreviews-product {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #6c4ccf;
}

.lkreviews-source {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* Review Form Styles */
.lkreviews-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lkreviews-form-wrapper h3 {
    color: #6c4ccf;
    margin-bottom: 20px;
}

.lkreviews-form .form-group {
    margin-bottom: 20px;
}

.lkreviews-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.lkreviews-form input[type="text"],
.lkreviews-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.lkreviews-form textarea {
    resize: vertical;
}

.rating-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-selector input[type="radio"] {
    display: none;
}

.rating-selector label {
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    transition: color 0.2s;
    margin: 0;
}

.rating-selector input[type="radio"]:checked ~ label,
.rating-selector label:hover,
.rating-selector label:hover ~ label {
    color: #ffb400;
}

.btn-submit {
    background: linear-gradient(135deg, #6c4ccf, #f7b267);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 76, 207, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Captcha styling */
.captcha-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.captcha-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.captcha-group input[type="number"] {
    width: 80px !important;
    padding: 8px;
    font-size: 16px;
    text-align: center;
    border: 2px solid #6c4ccf;
    border-radius: 4px;
}

.captcha-group input[type="number"]:focus {
    outline: none;
    border-color: #f7b267;
    box-shadow: 0 0 5px rgba(108, 76, 207, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .lkreviews-item {
        flex: 0 0 300px;
    }
    
    .lkreviews-track {
        animation-duration: 40s;
    }
    
    .lkreviews-card {
        padding: 15px;
    }
    
    .lkreviews-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lkreviews-name {
        font-size: 14px;
    }
    
    .lkreviews-content p {
        font-size: 13px;
    }
}

/* Product Reviews Section */
.lkreviews-product-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.lkreviews-product-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

.lkreviews-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-number {
    font-size: 36px;
    font-weight: bold;
    color: #6c4ccf;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars .star {
    font-size: 20px;
    color: #ddd;
}

.stars .star.filled {
    color: #ffb400;
}

.total-reviews {
    color: #666;
    font-size: 14px;
}

.lkreviews-list {
    margin-bottom: 30px;
}

.lkreviews-item-static {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 10px;
}

/* Admin Styles */
.lkreviews-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}

.stat-card .number {
    font-size: 32px;
    font-weight: bold;
    color: #6c4ccf;
}