.feedback-slide-bar {
    position: absolute;
    bottom: 14px;
    width: 350px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1), 0 -1px 3px rgba(0, 0, 0, 0.05);
    z-index: 20;
}

.feedback-slide-bar.visible {
    transform: translateY(0);
}

/* Feedback Content Container */
.feedback-content-bar {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Rating Section */
.feedback-rating-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

/* Rating Text */
.feedback-rating-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

/* Stars Container */
.feedback-stars-bar {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Individual Stars */
.feedback-star-bar {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    transition: all 0.15s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-star-bar:hover {
    transform: scale(1.1);
    color: #fbbf24;
}

.feedback-star-bar.active {
    color: #f59e0b;
}

.feedback-star-bar svg {
    width: 18px;
    height: 18px;
}

/* Close Button */
.feedback-close-bar {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.feedback-close-bar:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.feedback-close-bar svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.feedback-close-bar:hover svg {
    color: #374151;
}

/* Thank You State */
.feedback-thank-you-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.feedback-thank-you-bar.visible {
    opacity: 1;
    transform: translateX(0);
}

.feedback-thank-you-bar svg {
    width: 18px;
    height: 18px;
}

.feedback-thank-you-bar span {
    color: #374151;
}

/* Animations */
@keyframes starPulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

.feedback-star-bar.pulse {
    animation: starPulse 0.3s ease-out;
}

/* Focus styles for accessibility */
.feedback-star-bar:focus,
.feedback-close-bar:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .feedback-slide-bar {
        background: rgba(31, 41, 55, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feedback-rating-label {
        color: #f3f4f6;
    }
    
    .feedback-close-bar {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .feedback-close-bar:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .feedback-close-bar svg {
        color: #d1d5db;
    }
    
    .feedback-close-bar:hover svg {
        color: #f3f4f6;
    }
    
    .feedback-thank-you-bar span {
        color: #f3f4f6;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .feedback-slide-bar {
        width: 320px;
        bottom: 10px;
    }
    
    .feedback-content-bar {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .feedback-rating-section {
        gap: 10px;
    }
    
    .feedback-rating-label {
        font-size: 13px;
    }
    
    .feedback-stars-bar {
        gap: 2px;
    }
    
    .feedback-star-bar {
        width: 22px;
        height: 22px;
    }
    
    .feedback-star-bar svg {
        width: 16px;
        height: 16px;
    }
    
    .feedback-close-bar {
        width: 28px;
        height: 28px;
    }
    
    .feedback-close-bar svg {
        width: 14px;
        height: 14px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .feedback-slide-bar,
    .feedback-star-bar,
    .feedback-close-bar,
    .feedback-thank-you-bar {
        transition: none;
    }
    
    .feedback-star-bar:hover {
        transform: none;
    }
    
    .feedback-star-bar.pulse {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feedback-slide-bar {
        border: 2px solid;
    }
    
    .feedback-star-bar svg {
        filter: contrast(1.5);
    }
    
    .feedback-close-bar {
        border: 1px solid;
    }
}