/* ORCAS Chatbot Styles */
.orcas-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.orcas-chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #00cccc);
    border: none;
    color: #0d1a26;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orcas-chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 255, 0.6);
}

.orcas-chatbot-toggle.pulse {
    animation: orcasPulse 2s infinite;
}

@keyframes orcasPulse {
    0% { box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(0, 255, 255, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4); }
}

.orcas-chatbot-container {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    height: 550px;
    background: #0d1a26;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 255, 255, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.orcas-chatbot-container.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.orcas-chatbot-header {
    background: linear-gradient(135deg, #00ffff, #00cccc);
    color: #0d1a26;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.orcas-chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 26, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 12px;
}

.orcas-chatbot-title {
    flex: 1;
}

.orcas-chatbot-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.orcas-chatbot-title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.orcas-chatbot-close {
    background: none;
    border: none;
    color: #0d1a26;
    font-size: 28px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.orcas-chatbot-close:hover {
    background: rgba(13, 26, 38, 0.2);
}

.orcas-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #0d1a26;
}

.orcas-chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.orcas-chatbot-messages::-webkit-scrollbar-track {
    background: #1a3a59;
}

.orcas-chatbot-messages::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 3px;
}

.orcas-message {
    margin-bottom: 16px;
    display: flex;
    animation: messageSlide 0.3s ease;
}

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

.orcas-message-bot {
    justify-content: flex-start;
}

.orcas-message-user {
    justify-content: flex-end;
}

.orcas-message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.orcas-message-bot .orcas-message-content {
    background: #1a3a59;
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.orcas-message-bot .orcas-message-content strong {
    color: #00ffff;
}

.orcas-message-user .orcas-message-content {
    background: linear-gradient(135deg, #00ffff, #00cccc);
    color: #0d1a26;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.orcas-chatbot-quick-replies {
    padding: 10px 20px;
    background: #1a3a59;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.orcas-quick-reply {
    background: #0d1a26;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orcas-quick-reply:hover {
    background: #00ffff;
    color: #0d1a26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
}

.orcas-chatbot-input-area {
    display: flex;
    padding: 15px;
    background: #1a3a59;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.orcas-chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 25px;
    background: #0d1a26;
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.orcas-chatbot-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.orcas-chatbot-input::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

.orcas-chatbot-send {
    margin-left: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #00ffff, #00cccc);
    color: #0d1a26;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orcas-chatbot-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4);
}

.orcas-chatbot-send:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .orcas-chatbot-container {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .orcas-chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
