/* Quote Card Styles */
.quote-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Quote Content Styling */
.quote-content {
    position: relative;
    min-height: 120px;
}

.quote-mark.start {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.2;
}

.quote-mark.end {
    position: absolute;
    bottom: 10px;
    left: 10px;
    opacity: 0.2;
}

.quote-text {
    line-height: 1.8;
    text-align: justify;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Avatar Styling */
.avatar-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
}

.avatar-wrapper .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge Hover Effects */
.hover-scale {
    transition: all 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Text Truncation */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Like/Unlike Animation */
.like-quote.liked {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.favorite-quote.favorited {
    color: #198754;
    background-color: rgba(25, 135, 84, 0.1);
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner .75s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Hover Effects */
.hover-primary:hover {
    color: #0d6efd !important;
}

.hover-shadow-sm:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
