/**
 * Floating Quote Widget Styles
 */

.floating-quote {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    z-index: 9000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-quote.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-quote-content {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
    position: relative;
}

.floating-quote-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

.floating-quote-content .fa-quote-left {
    font-size: 24px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.floating-quote-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.floating-quote-author {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.floating-quote-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.floating-quote-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.floating-quote-close i {
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .floating-quote {
        bottom: 80px; /* Above navigation on mobile */
        right: 16px;
        left: 16px;
        max-width: none;
    }
    
    .floating-quote-content {
        padding: 20px;
    }
    
    .floating-quote-text {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .floating-quote {
        max-width: 350px;
    }
}
