/* Chat Robot Styles */
.chat-robot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.robot-avatar {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    animation: floating 3s ease-in-out infinite;
}

.robot-avatar:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.robot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0,123,255,0.3));
}

.robot-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0,123,255,0.6) 0%, transparent 70%);
    animation: robot-pulse 3s infinite;
    top: 0;
    left: 0;
    z-index: 1;
}

@keyframes robot-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.robot-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,123,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    position: relative;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.status-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.robot-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.robot-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f8ff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #4a90e2;
}

.robot-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.2);
    background: #e6f1ff;
}

.robot-action-btn i {
    font-size: 16px;
}

/* Responsive styles for robot */
@media (max-width: 768px) {
    .robot-avatar {
        width: 100px;
        height: 100px;
    }
    
    .chat-robot {
        margin-bottom: 15px;
    }
    
    .status-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .robot-avatar {
        width: 80px;
        height: 80px;
    }
    
    .robot-status {
        padding: 6px 12px;
    }
    
    .robot-actions {
        gap: 8px;
    }
    
    .robot-action-btn {
        width: 32px;
        height: 32px;
    }
    
    .robot-action-btn i {
        font-size: 14px;
    }
} 

.message-fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User message style */
.user-message {
    background: rgba(0,123,255,0.1);
    margin-left: auto;
    border-radius: 15px;
    padding: 15px;
    position: relative;
} 