/* Review Form Styles */
.review-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.review-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.review-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.review-form-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.review-form-header p {
    margin: 0;
    color: #757575;
    font-size: 15px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-form-group {
    position: relative;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.review-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.review-form button[type="submit"] {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

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

.review-form button[type="submit"]:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    box-shadow: none;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

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

.star-rating label {
    cursor: pointer;
    font-size: 40px;
    color: #e0e0e0;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

.star-rating input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.star-rating:hover label {
    color: #e0e0e0;
}

.star-rating:hover label:hover,
.star-rating:hover label:hover ~ label {
    color: #ffc107;
}

.star-rating-text {
    font-size: 13px;
    color: #757575;
    font-style: italic;
    margin-top: 4px;
}

/* Form Messages */
.review-message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.review-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.review-message.error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

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

/* Character Counter */
.review-char-counter {
    text-align: right;
    font-size: 12px;
    color: #757575;
    margin-top: 6px;
}

.review-char-counter .current {
    font-weight: 600;
    color: #2c3e50;
}

/* Error State */
.review-form input.error,
.review-form textarea.error {
    border-color: #f44336;
    background: #ffebee;
}

.review-form-group.focused label {
    color: #667eea;
}

/* ============================================
   REVIEW SLIDER STYLES
   ============================================ */

.review-slider-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.review-slider-header {
    text-align: center;
    margin-bottom: 50px;
}

.review-slider-header h2 {
    margin: 0 0 15px;
    font-size: 42px;
    font-weight: 800;
    color: #2c2c2c;
    position: relative;
    display: inline-block;
}

.review-slider-header p {
    margin: 0;
    color: #757575;
    font-size: 18px;
    font-weight: 400;
}

.review-slider-wrapper {
    position: relative;
    padding: 0 60px;
    margin-bottom: 40px;
}

.review-slider {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.review-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 60px 50px;
    box-sizing: border-box;
}

.review-slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.review-slide-quote-icon {
    color: #667eea;
    opacity: 0.15;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.review-slide-rating {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 25px;
}

.review-star {
    font-size: 26px;
    transition: transform 0.2s ease;
}

.review-star.filled {
    color: #ffc107;
}

.review-star.empty {
    color: #e0e0e0;
}

.review-slide-text {
    font-size: 22px;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0 0 35px;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.review-slide-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.review-slide-info {
    text-align: center;
}

.review-slide-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px;
}

.review-slide-date {
    font-size: 14px;
    color: #9e9e9e;
    margin: 0;
}

/* Navigation Buttons */
.review-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.review-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.review-slider-prev {
    left: 0;
}

.review-slider-next {
    right: 0;
}

/* Dots Navigation */
.review-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.review-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-slider-dot:hover {
    background: #bdbdbd;
    transform: scale(1.2);
}

.review-slider-dot.active {
    width: 32px;
    border-radius: 6px;
    background: #e0e0e0;
}

/* Counter */
.review-slider-counter {
    text-align: center;
    font-size: 16px;
    color: #757575;
    font-weight: 500;
}

.review-slider-current {
    font-weight: 700;
    font-size: 20px;
}

.review-slider-total {
    color: #9e9e9e;
}

/* Empty State */
.review-list-empty {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px dashed #e0e0e0;
}

.review-list-empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.4;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.review-list-empty h3 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #2c3e50;
    font-weight: 700;
}

.review-list-empty p {
    margin: 0;
    color: #757575;
    font-size: 16px;
}

/* Loading State */
.review-loading {
    text-align: center;
    padding: 60px;
}

.review-loading-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .review-slider-wrapper {
        padding: 0 50px;
    }
    
    .review-slide {
        padding: 50px 40px;
    }
    
    .review-slide-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .review-form-container {
        padding: 30px 20px;
        margin: 20px;
        border-radius: 12px;
    }

    .review-form-header h2 {
        font-size: 24px;
    }
    
    .review-slider-container {
        margin: 40px auto;
        padding: 0 10px;
    }
    
    .review-slider-header h2 {
        font-size: 32px;
    }
    
    .review-slider-header p {
        font-size: 16px;
    }
    
    .review-slider-wrapper {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .review-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .review-slider-prev {
        left: 10px;
    }
    
    .review-slider-next {
        right: 10px;
    }
    
    .review-slide {
        padding: 40px 25px;
    }
    
    .review-slide-text {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .review-slide-author {
        flex-direction: column;
        gap: 12px;
    }
    
    .review-slide-info {
        text-align: center;
    }
    
    .review-slide-name {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .review-form-container {
        margin: 10px;
        padding: 25px 15px;
    }

    .review-form input[type="text"],
    .review-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .review-form button[type="submit"] {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .review-slider-header h2 {
        font-size: 28px;
    }
    
    .review-slider-header p {
        font-size: 14px;
    }
    
    .review-slide {
        padding: 30px 20px;
    }
    
    .review-slide-text {
        font-size: 16px;
    }
    
    .review-slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .review-star {
        font-size: 22px;
    }
}


/* Print Styles */
@media print {
    .review-slider-nav,
    .review-slider-dots,
    .review-slider-counter {
        display: none;
    }
    
    .review-slider-track {
        display: block;
    }
    
    .review-slide {
        page-break-inside: avoid;
        min-width: auto;
    }
}