/* MO WIDGET STYLES 🦾 */
#mo-widget-root {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.mo-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF 0%, #002C6A 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mo-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.mo-fab img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.mo-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
}

.mo-chat-window.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.mo-header {
    padding: 20px;
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mo-header-title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.mo-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.mo-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.mo-close-btn:hover {
    color: #fff;
}

.mo-chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.2) transparent;
}

.mo-chat-area::-webkit-scrollbar {
    width: 4px;
}

.mo-chat-area::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.2);
    border-radius: 10px;
}

.mo-msg {
    max-width: 85%;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

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

.mo-msg-mo {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-radius: 20px 20px 20px 4px;
}

.mo-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 44, 106, 0.4));
    color: #fff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px 20px 4px 20px;
}

.mo-input-area {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.mo-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px 18px;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: all 0.3s;
}

.mo-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.mo-send-btn {
    background: #00D4FF;
    border: none;
    color: #000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.mo-send-btn:hover {
    transform: scale(1.05);
    background: #5fe9ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.mo-mic-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.mo-mic-btn.active {
    background: #ff4444;
    box-shadow: 0 0 20px #ff4444;
}

.mo-typing {
    font-style: italic;
    font-size: 12px;
    color: rgba(0, 212, 255, 0.6);
    margin-left: 10px;
    display: none;
}

.mo-mic-btn.mo-mic-active {
    background: #ff4444;
    box-shadow: 0 0 25px rgba(255, 68, 68, 0.6);
    animation: mo-pulse 1.5s infinite;
}

@keyframes mo-pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 30px rgba(255, 68, 68, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); }
}

@media (max-width: 480px) {
    .mo-chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 70px;
        right: -10px;
    }
}
