/* Floating Support Chat Styles */

/* Chat Icon */
.floating-chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-chat-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-chat-icon i {
    color: white;
    font-size: 24px;
}

/* Notification Badge */
.chat-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* Course Ended Chat Styles */
.message-send-form.course-ended {
    opacity: 0.6;
    pointer-events: none;
}

.message-send-form.course-ended .message-input {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.message-send-form.course-ended .send-button {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
}

.course-ended-notice {
    background: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    color: #856404 !important;
    padding: 10px !important;
    margin: 10px 0 !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: 500 !important;
}

.course-ended-notice i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-chat-icon {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-chat-icon i {
        font-size: 20px;
    }
}
