.arnaud-reviews-container {
margin-top: 30px;
margin-bottom: 30px;
} .arnaud-review-form-container {
background-color: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 30px;
margin-bottom: 40px;
}
.arnaud-review-form-container h3 {
margin-top: 0;
margin-bottom: 20px;
color: #333;
font-size: 24px;
}
.form-description {
color: #666;
margin-bottom: 20px;
font-size: 14px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #333;
}
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
font-family: inherit;
transition: border-color 0.3s;
}
.form-group input[type="email"]:focus,
.form-group textarea:focus {
border-color: #007cba;
outline: none;
}
.button {
background-color: #007cba;
color: white;
border: none;
padding: 12px 24px;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.button:hover {
background-color: #005a87;
}
.button:disabled {
background-color: #ccc;
cursor: not-allowed;
} .check-result .error {
color: #dc3232;
margin-top: 10px;
padding: 10px;
background-color: #fef1f1;
border: 1px solid #dc3232;
border-radius: 4px;
}
.order-verified {
background-color: #f0f8ff;
border: 1px solid #007cba;
border-radius: 4px;
padding: 15px;
margin-bottom: 20px;
}
.order-verified p {
margin: 5px 0;
}
.success-message {
background-color: #f0fff0;
border: 1px solid #46b450;
border-radius: 4px;
padding: 20px;
text-align: center;
color: #46b450;
} .photo-upload-area {
border: 2px dashed #ddd;
border-radius: 8px;
padding: 20px;
background-color: #fafafa;
margin-top: 10px;
}
.photo-upload-area input[type="file"] {
display: block;
margin-bottom: 15px;
}
.photo-preview {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.preview-item {
position: relative;
width: 100px;
height: 100px;
}
.preview-item img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
}
.remove-photo {
position: absolute;
top: -5px;
right: -5px;
background-color: #dc3232;
color: white;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 16px;
line-height: 1;
}
.remove-photo:hover {
background-color: #a02222;
}
.help-text {
font-size: 13px;
color: #666;
margin-top: 5px;
} .reviews-wrapper h3 {
color: #333;
font-size: 24px;
margin-bottom: 25px;
padding-bottom: 10px;
border-bottom: 2px solid #e0e0e0;
}
.no-reviews {
text-align: center;
color: #666;
font-style: italic;
padding: 40px 0;
}
.review-item {
background-color: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
transition: box-shadow 0.3s;
}
.review-item:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.review-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.reviewer-name {
font-weight: 600;
color: #333;
font-size: 16px;
}
.verified-purchase {
color: #46b450;
font-size: 13px;
display: flex;
align-items: center;
gap: 5px;
}
.verified-purchase::before {
content: "✓";
font-weight: bold;
}
.review-products {
color: #666;
font-size: 14px;
margin-bottom: 12px;
font-style: italic;
}
.review-content {
color: #444;
line-height: 1.6;
margin-bottom: 15px;
} .review-photos {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.review-photo {
cursor: pointer;
transition: transform 0.2s;
position: relative;
width: 100px;
height: 100px;
overflow: hidden;
border-radius: 6px;
}
.review-photo:hover {
transform: scale(1.05);
}
.review-photo-thumb {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} .photo-count-indicator {
position: absolute;
top: 5px;
right: 5px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
} .photo-lightbox {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.95);
animation: fadeIn 0.3s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.lightbox-content {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-image-container {
position: relative;
max-width: 90%;
max-height: 90%;
display: flex;
align-items: center;
justify-content: center;
} .lightbox-loader {
position: absolute;
top: 50%;
left: 50%;
margin-top: -30px;
margin-left: -30px;
width: 60px;
height: 60px;
z-index: 1;
}
.lightbox-loader::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border: 5px solid #f3f3f3;
border-top-color: #007cba;
border-radius: 50%;
animation: lightbox-spin 1s linear infinite;
}
@keyframes lightbox-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.lightbox-image {
max-width: 100%;
max-height: 90vh;
object-fit: contain;
animation: zoomIn 0.3s;
}
@keyframes zoomIn {
from { transform: scale(0.8); }
to { transform: scale(1); }
} .lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.9);
color: #333;
font-size: 30px;
padding: 10px 15px;
cursor: pointer;
border: none;
transition: background 0.3s;
z-index: 10;
}
.lightbox-nav:hover {
background: rgba(255, 255, 255, 1);
}
.lightbox-nav:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.lightbox-prev {
left: 20px;
}
.lightbox-next {
right: 20px;
} .lightbox-close {
position: absolute;
top: 20px;
right: 40px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
cursor: pointer;
transition: color 0.2s;
background: none;
border: none;
z-index: 10;
}
.lightbox-close:hover {
color: #fff;
} .lightbox-counter {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
color: #fff;
background: rgba(0, 0, 0, 0.7);
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
} .lightbox-thumbnails {
position: absolute;
bottom: 60px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
padding: 10px;
background: rgba(0, 0, 0, 0.7);
border-radius: 8px;
max-width: 90%;
overflow-x: auto;
}
.lightbox-thumb {
width: 60px;
height: 60px;
object-fit: cover;
cursor: pointer;
opacity: 0.6;
transition: opacity 0.3s;
border-radius: 4px;
}
.lightbox-thumb.active {
opacity: 1;
border: 2px solid #fff;
}
.lightbox-thumb:hover {
opacity: 0.9;
} @media (max-width: 768px) {
.lightbox-nav {
font-size: 20px;
padding: 8px 12px;
}
.lightbox-prev {
left: 10px;
}
.lightbox-next {
right: 10px;
}
.lightbox-close {
top: 10px;
right: 20px;
font-size: 30px;
}
.lightbox-thumbnails {
bottom: 40px;
}
.lightbox-thumb {
width: 40px;
height: 40px;
}
} .rating-selector {
display: flex;
gap: 5px;
font-size: 28px;
margin-bottom: 10px;
}
.rating-selector .star {
color: #ddd;
cursor: pointer;
transition: color 0.2s;
user-select: none;
}
.rating-selector .star:hover,
.rating-selector .star.selected {
color: #ffc107;
}
.stars-rating {
display: inline-flex;
gap: 2px;
}
.stars-rating .star {
color: #ddd;
font-size: 16px;
}
.stars-rating .star.filled {
color: #ffc107;
}
.review-rating {
margin: 10px 0;
}
.review-rating .stars-rating .star {
font-size: 18px;
} .arnaud-rating-summary {
display: inline-flex;
align-items: center;
gap: 8px;
}
.arnaud-rating-summary.inline {
background: none;
padding: 0;
margin: 0;
}
.stars-rating {
display: inline-flex;
gap: 2px;
}
.arnaud-rating-summary .stars-rating .star {
font-size: 18px;
line-height: 1;
}
.rating-value {
font-weight: 600;
color: #333;
font-size: 16px;
}
.reviews-link {
color: #666;
text-decoration: none;
font-size: 14px;
transition: color 0.3s;
}
.reviews-link:hover {
color: #007cba;
text-decoration: underline;
} .arnaud-rating-summary .see-all-reviews-btn {
flex-shrink: 0;
}
.see-all-reviews-btn {
display: block;
margin: 0 auto;
background-color: #007cba;
color: white;
border: none;
padding: 12px 30px;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.see-all-reviews-btn:hover {
background-color: #005a87;
} .reviews-pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e0e0e0;
}
.pagination-btn {
background-color: #007cba;
color: white;
border: none;
padding: 8px 20px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.pagination-btn:hover {
background-color: #005a87;
}
.pagination-btn:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.pagination-info {
color: #666;
font-size: 14px;
} @media (max-width: 768px) {
.arnaud-review-form-container {
padding: 20px;
}
.review-header {
flex-direction: column;
align-items: flex-start;
gap: 5px;
}
.review-photo-thumb {
width: 60px;
height: 60px;
}
.close-modal {
right: 20px;
font-size: 30px;
}
.rating-selector {
font-size: 24px;
} .arnaud-rating-summary {
display: inline-flex;
align-items: center;
gap: 8px;
}
.arnaud-rating-summary .see-all-reviews-btn {
width: 100%;
margin-top: 10px;
}
.reviews-pagination {
flex-wrap: wrap;
gap: 10px;
}
}