/* ======================
   QUICK REPLY BUTTONS 
   ====================== */

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    animation: fadeIn 0.4s ease-out;
}

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

.quick-reply-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    animation: quickReplySlide 0.4s ease-out forwards;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.quick-reply-btn.termination {
    background: var(--primary-color) !important;
}

@keyframes quickReplySlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quick-reply-btn::before {
    content: '✨';
    margin-right: 8px;
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}

.quick-reply-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.quick-reply-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.quick-reply-btn.selected {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.quick-reply-btn.selected .checkmark {
    display: inline-block;
    margin-left: 8px;
    font-size: 18px;
    animation: checkmarkPop 0.3s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.quick-reply-btn.disabled,
.quick-reply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.quick-replies.disabled {
    pointer-events: none;
    opacity: 0.6;
}